feat: profit1

master
howell 4 years ago
parent 17f31670a3
commit 17b06d8e40

@ -162,7 +162,10 @@ func ConfirmOrderTradeSuc(orderInfo *order.Information, clientIP ...string) erro
for _, v := range p {
if v.Income.IsZero() {
v.Status = 1
tx.Save(v)
tx.Save(&v)
continue
}
if v.Status != 0 {
continue
}
var w1 user.Wallet

Loading…
Cancel
Save