科服券列表+领券,企业认证,购买vip领券

This commit is contained in:
zhoupengwei 2022-05-13 15:45:50 +08:00
parent 6b57201e59
commit ec798bd624

View File

@ -200,9 +200,6 @@ var CompanyCtr = Ctr{
} }
//先判断是否领取过 //先判断是否领取过
couponCount := that.Db.Count("coupon_user", Map{"user_id": user_id}) couponCount := that.Db.Count("coupon_user", Map{"user_id": user_id})
fmt.Println(that.Db.LastQuery)
fmt.Println(that.Db.LastData)
fmt.Println(that.Db.LastErr)
if couponCount == 0 { if couponCount == 0 {
that.Db.Insert("coupon_user", data) that.Db.Insert("coupon_user", data)
} }