f
This commit is contained in:
@@ -105,6 +105,13 @@ func (a *ApiRequestService) ProcessRequests(params []byte, productID int64, orde
|
|||||||
logx.Errorf("解析查询参数失败, Params: %s, Error: %v", string(params), err)
|
logx.Errorf("解析查询参数失败, Params: %s, Error: %v", string(params), err)
|
||||||
return nil, fmt.Errorf("解析查询参数失败: %w", err)
|
return nil, fmt.Errorf("解析查询参数失败: %w", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 参数转换:将 mobile 转换为 mobile_no
|
||||||
|
if mobile, exists := baseParams["mobile"]; exists {
|
||||||
|
baseParams["mobile_no"] = mobile
|
||||||
|
delete(baseParams, "mobile") // 删除原始的 mobile 字段
|
||||||
|
}
|
||||||
|
|
||||||
if orderNo != "" {
|
if orderNo != "" {
|
||||||
baseParams["order_no"] = orderNo
|
baseParams["order_no"] = orderNo
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user