Merge branch 'feature_sign_up' into test
正在显示
3 个修改的文件
包含
7 行增加
和
7 行删除
| @@ -11,9 +11,9 @@ type CancelCooperationApplicationCommand struct { | @@ -11,9 +11,9 @@ type CancelCooperationApplicationCommand struct { | ||
| 11 | // 共创申请ID | 11 | // 共创申请ID |
| 12 | CooperationApplicationId string `cname:"共创申请ID" json:"cooperationApplicationId" valid:"Required"` | 12 | CooperationApplicationId string `cname:"共创申请ID" json:"cooperationApplicationId" valid:"Required"` |
| 13 | // 公司ID,通过集成REST上下文获取 | 13 | // 公司ID,通过集成REST上下文获取 |
| 14 | - CompanyId int64 `cname:"公司ID" json:"companyId" valid:"Required"` | 14 | + CompanyId int64 `cname:"公司ID" json:"companyId"` // valid:"Required" |
| 15 | // 组织机构id | 15 | // 组织机构id |
| 16 | - OrgId int64 `cname:"组织机构ID" json:"orgId" valid:"Required"` | 16 | + OrgId int64 `cname:"组织机构ID" json:"orgId" ` // valid:"Required" |
| 17 | // 菜单编码,APP端必须 | 17 | // 菜单编码,APP端必须 |
| 18 | Code string `cname:"菜单编码" json:"code" valid:"Required"` | 18 | Code string `cname:"菜单编码" json:"code" valid:"Required"` |
| 19 | // 用户ID,通过集成REST上下文获取,可翻译成发起人、承接人、推荐人、业务员 | 19 | // 用户ID,通过集成REST上下文获取,可翻译成发起人、承接人、推荐人、业务员 |
| @@ -12,11 +12,11 @@ type GetCooperationApplicationQuery struct { | @@ -12,11 +12,11 @@ type GetCooperationApplicationQuery struct { | ||
| 12 | // 共创申请ID | 12 | // 共创申请ID |
| 13 | CooperationApplicationId int64 `cname:"共创申请ID" json:"cooperationApplicationId" valid:"Required"` | 13 | CooperationApplicationId int64 `cname:"共创申请ID" json:"cooperationApplicationId" valid:"Required"` |
| 14 | // 公司ID,通过集成REST上下文获取 | 14 | // 公司ID,通过集成REST上下文获取 |
| 15 | - CompanyId int64 `cname:"公司ID" json:"companyId" valid:"Required"` | 15 | + CompanyId int64 `cname:"公司ID" json:"companyId"` // valid:"Required" |
| 16 | // 组织机构ID | 16 | // 组织机构ID |
| 17 | - OrgId int64 `cname:"组织机构ID" json:"orgId" valid:"Required"` | 17 | + OrgId int64 `cname:"组织机构ID" json:"orgId"` // valid:"Required" |
| 18 | // 用户ID,通过集成REST上下文获取,可翻译成发起人、承接人、推荐人、业务员 | 18 | // 用户ID,通过集成REST上下文获取,可翻译成发起人、承接人、推荐人、业务员 |
| 19 | - UserId int64 `cname:"用户ID" json:"userId" valid:"Required"` | 19 | + UserId int64 `cname:"用户ID" json:"userId"` // valid:"Required" |
| 20 | // 用户基础数据id | 20 | // 用户基础数据id |
| 21 | UserBaseId int64 `cname:"用户基础数据ID" json:"userBaseId" valid:"Required"` | 21 | UserBaseId int64 `cname:"用户基础数据ID" json:"userBaseId" valid:"Required"` |
| 22 | } | 22 | } |
| @@ -39,7 +39,7 @@ type UserDetail struct { | @@ -39,7 +39,7 @@ type UserDetail struct { | ||
| 39 | UserName string `json:"userName"` | 39 | UserName string `json:"userName"` |
| 40 | Avatar string `json:"avatar"` | 40 | Avatar string `json:"avatar"` |
| 41 | } `json:"userInfo,omitempty"` | 41 | } `json:"userInfo,omitempty"` |
| 42 | - Company *struct { | 42 | + Company struct { |
| 43 | CompanyId int64 `json:"companyId"` | 43 | CompanyId int64 `json:"companyId"` |
| 44 | CompanyName string `json:"companyName"` | 44 | CompanyName string `json:"companyName"` |
| 45 | Scale string `json:"scale"` | 45 | Scale string `json:"scale"` |
| @@ -47,7 +47,7 @@ type UserDetail struct { | @@ -47,7 +47,7 @@ type UserDetail struct { | ||
| 47 | RegisteredTime time.Time `json:"registeredTime"` | 47 | RegisteredTime time.Time `json:"registeredTime"` |
| 48 | Status int64 `json:"status"` | 48 | Status int64 `json:"status"` |
| 49 | } `json:"company,omitempty"` | 49 | } `json:"company,omitempty"` |
| 50 | - Org *struct { | 50 | + Org struct { |
| 51 | OrgId int64 `json:"orgId"` | 51 | OrgId int64 `json:"orgId"` |
| 52 | OrgCode string `json:"orgCode"` | 52 | OrgCode string `json:"orgCode"` |
| 53 | OrgName string `json:"orgName"` | 53 | OrgName string `json:"orgName"` |
-
请 注册 或 登录 后发表评论