mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-11-11 11:43:46 +08:00
系统大量出现where("id",xx) fields("user_id") 固定字符串,修改按照统一规范使用dao.xxx.Columns().xxx
This commit is contained in:
@@ -78,7 +78,7 @@ func (s *sPay) Create(ctx context.Context, in payin.PayCreateInp) (res *payin.Pa
|
||||
MchId: mchId,
|
||||
Subject: in.Subject,
|
||||
Detail: in.Detail,
|
||||
OutTradeNo: payment.GenOutTradeNo(),
|
||||
OutTradeNo: payment.GenOutTradeNo(ctx),
|
||||
TransactionId: "",
|
||||
PayType: in.PayType,
|
||||
PayAmount: in.PayAmount,
|
||||
|
||||
Reference in New Issue
Block a user