forked from golang/hotime
科服券列表+领券,企业认证,购买vip领券
This commit is contained in:
parent
6b57201e59
commit
ec798bd624
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user