aozhiwei ae6d441dc3 1
2024-08-02 14:20:58 +08:00

31 lines
580 B
Go

package service
import (
"f5"
"main/constant"
)
func AddRechargeOrder(accountId string, orderId string, shortOrderId string,
accountAddress string, passportAddress string,
currencyAddress string, currencyName string, itemId int32, itemNum int64,
price string) bool {
ok := false
f5.GetGoStyleDb().UpsertEx(
constant.BCNFT_DB,
"t_recharge_order",
[][]string{
},
[][]string{
},
[][]string{
},
func (err error, lastInsertId int64, rowsAffected int64) {
ok = err == nil
},
func (ds* f5.DataSet) bool {
ok = false
return false
})
return ok
}