增加U盘登录

This commit is contained in:
hoteas
2022-05-05 16:07:01 +08:00
parent f0d4efd8fc
commit eb41162f3b
10 changed files with 270 additions and 12 deletions
+2 -2
View File
@@ -46,7 +46,7 @@ var VipOrderCtr = Ctr{
data := Map{
"sn": "SN" + time.Now().Format("20060102150405") + getSn(),
//"name":"1年VIP会员",
"amount": 72000, //720元
"amount": 36000, //720元
"user_id": user.GetCeilInt64("id"),
"company_id": user.GetCeilInt("company_id"),
"expiration_time": time.Now().Add(365 * 24 * time.Hour).Format("2006-01-02 15:04:05"),
@@ -73,7 +73,7 @@ var VipOrderCtr = Ctr{
data["amount"] = 36000
//tp=tp
}
data["amount"] = 1
//data["amount"] = 1
if user.GetCeilInt("salesman_id") != 0 {
data["salesman_id"] = user.GetCeilInt("salesman_id")