|
|
|
@ -197,7 +197,7 @@ func ConfirmOrderTradeSuc(orderInfo *order.Information, clientIP ...string) erro
|
|
|
|
|
return err
|
|
|
|
|
}
|
|
|
|
|
// 添加收益记录
|
|
|
|
|
if e := tx.Create(jyy.AppUserMessage{
|
|
|
|
|
if e := tx.Create(&jyy.AppUserMessage{
|
|
|
|
|
UserID: int(orderInfo.UserID),
|
|
|
|
|
Message: fmt.Sprintf("您的%s已到账", v.Type.GetStr()),
|
|
|
|
|
Kind: jyy.Profit,
|
|
|
|
|