aa
This commit is contained in:
@@ -263,7 +263,7 @@ func CallbackBrandBill(res *SecretNumberMsgRes) (err error) {
|
||||
db = dao.GetDB()
|
||||
errLists = errlist.New()
|
||||
)
|
||||
if brands, _ := dao.GetBrands(db, "", 0, res.PoolKey); len(brands) > 0 {
|
||||
if brands, _ := dao.GetBrands(db, "", 0, res.PoolKey, false, ""); len(brands) > 0 {
|
||||
if brandID := brands[0].ID; brandID != 0 {
|
||||
price := utils.Float64TwoInt(utils.Str2Time(res.ReleaseTime).Sub(utils.Str2Time(res.StartTime)).Minutes()+1) * 6
|
||||
if err = partner.CurStoreAcctManager.InsertBrandBill(jxcontext.AdminCtx, brandID, price, model.BrandBillTypeExpend, model.BrandBillFeeTypeSecretNumber, ""); err == nil {
|
||||
|
||||
Reference in New Issue
Block a user