add 充值到余额订单
This commit is contained in:
@@ -349,6 +349,10 @@ func onTLpayFinished(call *tonglianpayapi.CallBackResult) (err error) {
|
||||
if err := dao.UpdateUserBill(order.UserID, order.PayPrice); err != nil {
|
||||
return err
|
||||
}
|
||||
order.Status = 110
|
||||
if _, err := dao.UpdateEntity(db, order, "Status"); err != nil {
|
||||
return err
|
||||
}
|
||||
}
|
||||
} else {
|
||||
globals.SugarLogger.Debugf("onTLpayFinished msg:%s, err:%v", utils.Format4Output(call, true), err)
|
||||
|
||||
Reference in New Issue
Block a user