@@ -173,6 +173,9 @@ func (this *UserController) Login() {
resp := new(models.LoginResp)
resp.UserId = userId
resp.Authorization = token
+ if user.CompanyId == 1 {
+ resp.IsPotential = true
+ }
br.Ret = 200
br.Success = true
br.Data = resp
@@ -128,6 +128,7 @@ type LoginResp struct {
Status string `description:"状态"`
EndDate string `description:"到期日期"`
ProductName string `description:"客户类型名称"`
+ IsPotential bool `description:"是否是潜在"`
}
type CheckStatusResp struct {