fix(order): 移除调试日志并修正网关路径
- 删除订单查询中的冗余错误日志输出 - 删除平台收益计算中的冗余信息日志输出 - 修正 updateService 中网关地址缺少斜杠的问题 - 修改玄武卡选项值为正确的页面路径 index-xrwu.html
This commit is contained in:
@@ -181,7 +181,6 @@ func GetOrderRawSummary(ctx context.Context, params map[string]string) (data []O
|
||||
sql += `
|
||||
GROUP BY
|
||||
road_uid`
|
||||
logs.Error(sql)
|
||||
_, err = o.RawWithCtx(ctx, sql).QueryRows(&data)
|
||||
if errors.Is(err, orm.ErrNoRows) {
|
||||
err = nil
|
||||
@@ -233,7 +232,6 @@ func GetOrderProfitRawSummary(ctx context.Context, params map[string]string) (pl
|
||||
sql += `
|
||||
GROUP BY
|
||||
road_uid`
|
||||
logs.Info(sql)
|
||||
platformProfit = 0.0
|
||||
err = o.RawWithCtx(ctx, sql).QueryRow(&platformProfit)
|
||||
if errors.Is(err, orm.ErrNoRows) {
|
||||
|
||||
@@ -400,7 +400,7 @@ func (c *UpdateService) OrderSchedule(ctx context.Context, bankOrderId string) *
|
||||
keyDataJSON := new(datas.KeyDataJSON)
|
||||
keyDataJSON.Code = 200
|
||||
|
||||
u := config.GetGatewayHost() + "/solve/order/schedule?" + "operation=reset" + "&bankOrderId=" + bankOrderId
|
||||
u := config.GetGatewayHost() + "solve/order/schedule?" + "operation=reset" + "&bankOrderId=" + bankOrderId
|
||||
s, err := httplib.Get(u).String()
|
||||
if err != nil {
|
||||
logs.Error("请求系统失败:", err)
|
||||
|
||||
@@ -220,7 +220,7 @@
|
||||
<option value="金润通卡">金润通卡</option>
|
||||
<option value="汇元易达卡">汇元易达卡</option>
|
||||
<option value="汇元视娱卡">汇元视娱卡</option>
|
||||
<option value="玄武卡">玄武卡</option>
|
||||
<option value="index-xrwu.html">玄武卡</option>
|
||||
</select>
|
||||
<span class="star">*</span>
|
||||
</label>
|
||||
|
||||
Reference in New Issue
Block a user