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

This commit is contained in:
2022-05-13 15:45:50 +08:00
parent dbabee7a8a
commit 8b7bf8a150
-3
View File
@@ -200,9 +200,6 @@ var CompanyCtr = Ctr{
}
//先判断是否领取过
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 {
that.Db.Insert("coupon_user", data)
}