修复订单支付显示方式
Build docker and publish / build (20.15.1) (push) Successful in 7m59s

This commit is contained in:
2026-03-04 23:28:37 -08:00
parent 69ac1f104d
commit d962fafe7f
5 changed files with 1 additions and 42 deletions
@@ -35,15 +35,6 @@ func (l *GetOrderListLogic) GetOrderList(req *types.GetOrderListRequest) (resp *
resp = &types.GetOrderListResponse{}
resp.List = make([]types.Order, 0)
tool.DeepCopy(&resp.List, list)
for index := range resp.List {
resp.List[index].Method = normalizeOrderMethod(resp.List[index].Method, resp.List[index].Payment.Platform)
if resp.List[index].Payment.Platform == "" {
resp.List[index].Payment.Platform = resp.List[index].Method
}
if resp.List[index].Payment.Name == "" {
resp.List[index].Payment.Name = resp.List[index].Method
}
}
resp.Total = total
return
}