From 15c0d205080ae1e90f2ede28245165248f991d15 Mon Sep 17 00:00:00 2001 From: Mrx <18278715334@163.com> Date: Tue, 24 Feb 2026 15:14:33 +0800 Subject: [PATCH] f --- app/main/api/internal/service/apirequestService.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/main/api/internal/service/apirequestService.go b/app/main/api/internal/service/apirequestService.go index 00fd496..8e3e55c 100644 --- a/app/main/api/internal/service/apirequestService.go +++ b/app/main/api/internal/service/apirequestService.go @@ -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 }