添source_type字段(券的来源:1-vip获得,2-认证获得,3-拉新获得),用来判断券的来源,

userinfo接口返回企业统一社会信用代码和营业执照路径
This commit is contained in:
2022-05-13 18:43:35 +08:00
parent 72955466d5
commit 771b02bd61
4 changed files with 32 additions and 17 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ var UserCtr = Ctr{
delete(user, "password")
company := that.Db.Get("company", "id,name", Map{"id": user.GetCeilInt("company_id")})
company := that.Db.Get("company", "id,name,social_code,business_license", Map{"id": user.GetCeilInt("company_id")})
salesman := that.Db.Get("salesman", "id,name", Map{"id": user.GetCeilInt("salesman_id")})
provider := that.Db.Get("provider", "id,name", Map{"id": user.GetCeilInt("provider_id")})