添source_type字段(券的来源:1-vip获得,2-认证获得,3-拉新获得),用来判断券的来源,
userinfo接口返回企业统一社会信用代码和营业执照路径
This commit is contained in:
@@ -163,15 +163,13 @@ var VipOrderCtr = Ctr{
|
||||
"code_no": "SN" + time.Now().Format("20060102150405") + getSn(),
|
||||
"effective_start_time[#]": "NOW()",
|
||||
"effective_end_time": "2022-10-01 23:59:59",
|
||||
"source_type": 1,
|
||||
"status": 0,
|
||||
"admin_id": user.GetCeilInt("admin_id"),
|
||||
"create_time[#]": "NOW()",
|
||||
}
|
||||
for n := 0; n < 10; n++ {
|
||||
that.Db.Insert("coupon_user", data2)
|
||||
//fmt.Println(that.Db.LastQuery)
|
||||
//fmt.Println(that.Db.LastData)
|
||||
//fmt.Println(that.Db.LastErr)
|
||||
}
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user