天假支付宝提现操作

This commit is contained in:
邹宗楠
2022-07-06 16:49:15 +08:00
parent 6c26e35a23
commit 289ced8fbb
6 changed files with 64 additions and 9 deletions

View File

@@ -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
}