This commit is contained in:
Mrx
2026-02-24 15:14:33 +08:00
parent e1f62efecd
commit 15c0d20508

View File

@@ -105,6 +105,13 @@ func (a *ApiRequestService) ProcessRequests(params []byte, productID int64, orde
logx.Errorf("解析查询参数失败, Params: %s, Error: %v", string(params), 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 != "" {
baseParams["order_no"] = orderNo
}