This commit is contained in:
苏尹岚
2021-01-11 11:35:54 +08:00
parent b161e4d55a
commit bee46dd1d5
3 changed files with 31 additions and 4 deletions

View File

@@ -2150,9 +2150,9 @@ func GetMyPriceDefendOrders(ctx *jxcontext.Context, fromTime, toTime string) (pr
}
func GetCoupons(ctx *jxcontext.Context, couponType int, keyword string) (coupons []*model.Coupons, err error) {
// var (
// db = dao.GetDB()
// )
// coupons, err = dao.GetCoupons(db, couponType, keyword)
var (
db = dao.GetDB()
)
coupons, err = dao.GetCoupons(db, couponType, keyword)
return coupons, err
}