天假支付宝提现操作
This commit is contained in:
@@ -129,3 +129,9 @@ func GetUserBillDetail(db *DaoDB, userID string, fromTime, toTime time.Time, pag
|
||||
}
|
||||
return pagedInfo, err
|
||||
}
|
||||
|
||||
// UpdateUserBill 修改用户余额
|
||||
func UpdateUserBill(userId string, money int) error {
|
||||
_, err := ExecuteSQL(GetDB(), `UPDATE user_bill SET account_balance = ? WHERE user_id = ? `, []interface{}{money, userId}...)
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user