|
@@ -1,310 +1,310 @@
|
|
|
syntax = "v1"
|
|
|
|
|
|
type (
|
|
|
- response {
|
|
|
- Error_code int64 `json:"error_code"` //响应代码
|
|
|
- Error_msg string `json:"error_msg"` //响应消息
|
|
|
- Data string `json:"data"` //响应内容
|
|
|
- }
|
|
|
- //
|
|
|
- resp {
|
|
|
- Error_code int64 `json:"error_code"` //响应代码
|
|
|
- Error_msg string `json:"error_msg"` //响应消息
|
|
|
- Data interface{} `json:"data"`
|
|
|
- }
|
|
|
+ response {
|
|
|
+ Error_code int64 `json:"error_code"` //响应代码
|
|
|
+ Error_msg string `json:"error_msg"` //响应消息
|
|
|
+ Data string `json:"data"` //响应内容
|
|
|
+ }
|
|
|
+ //
|
|
|
+ resp {
|
|
|
+ Error_code int64 `json:"error_code"` //响应代码
|
|
|
+ Error_msg string `json:"error_msg"` //响应消息
|
|
|
+ Data interface{} `json:"data"`
|
|
|
+ }
|
|
|
|
|
|
- //机构审核入参
|
|
|
- examineReq {
|
|
|
- EntId int64 `json:"entId"` //企业id
|
|
|
- AuthType string `json:"authType"` //审核状态 2审核通过 3审核不通过
|
|
|
- Reason string `json:"reason,optional"` //不通过原因
|
|
|
- AuditUser string `json:"auditUser"` //审核人
|
|
|
- ExamineId string `json:"examineId"` //审核id 认证记录表主键id
|
|
|
- }
|
|
|
+ //机构审核入参
|
|
|
+ examineReq {
|
|
|
+ EntId int64 `json:"entId"` //企业id
|
|
|
+ AuthType string `json:"authType"` //审核状态 2审核通过 3审核不通过
|
|
|
+ Reason string `json:"reason,optional"` //不通过原因
|
|
|
+ AuditUser string `json:"auditUser"` //审核人
|
|
|
+ ExamineId string `json:"examineId"` //审核id 认证记录表主键id
|
|
|
+ }
|
|
|
|
|
|
- //查看企业状态入参
|
|
|
- checkEntReq {
|
|
|
- EntId int64 `header:"entId"` //企业id
|
|
|
- }
|
|
|
+ //查看企业状态入参
|
|
|
+ checkEntReq {
|
|
|
+ EntId int64 `header:"entId"` //企业id
|
|
|
+ }
|
|
|
|
|
|
- //认证企业 入参
|
|
|
- authEntReq {
|
|
|
- Name string `json:"name"`
|
|
|
- CreditCode string `json:"creditCode"`
|
|
|
- AreaNumber string `json:"areaNumber"`
|
|
|
- Business string `json:"business"`
|
|
|
- OfficialLetter string `json:"officialLetter"`
|
|
|
- OrganizationType string `json:"organizationType"` //机构类型 1投标企业 2招标采购单位 3厂商 4招标代理机构 5经销商 6服务提供商 7其他
|
|
|
- ComPanyType string `json:"comPanyType"` //机构性质 1企业 2党政机关事业单位及其他
|
|
|
- AuthName string `json:"authName"` //联系人姓名
|
|
|
- AuthPhone string `json:"authPhone"` //联系人手机号
|
|
|
- Phone string `header:"phone"` //注册手机号
|
|
|
- EntId int64 `header:"entId,optional"`
|
|
|
- }
|
|
|
+ //认证企业 入参
|
|
|
+ authEntReq {
|
|
|
+ Name string `json:"name"`
|
|
|
+ CreditCode string `json:"creditCode"`
|
|
|
+ AreaNumber string `json:"areaNumber"`
|
|
|
+ Business string `json:"business"`
|
|
|
+ OfficialLetter string `json:"officialLetter"`
|
|
|
+ OrganizationType string `json:"organizationType"` //机构类型 1投标企业 2招标采购单位 3厂商 4招标代理机构 5经销商 6服务提供商 7其他
|
|
|
+ ComPanyType string `json:"comPanyType"` //机构性质 1企业 2党政机关事业单位及其他
|
|
|
+ AuthName string `json:"authName"` //联系人姓名
|
|
|
+ AuthPhone string `json:"authPhone"` //联系人手机号
|
|
|
+ Phone string `header:"phone"` //注册手机号
|
|
|
+ EntId int64 `header:"entId,optional"`
|
|
|
+ }
|
|
|
|
|
|
- //企业列表
|
|
|
- entListReq {
|
|
|
- Name string `json:"name,optional"` //企业名称
|
|
|
- PageNum string `json:"pageNum,optional"` //页码,不传默认第一页 第一页为0
|
|
|
- PageSize string `json:"pageSize,optional"`
|
|
|
- CreditCode string `json:"creditCode,optional"`
|
|
|
- CreateStartTime string `json:"createStartTime,optional"`
|
|
|
- CreateEndTime string `json:"createEndTime,optional"`
|
|
|
- AuthStatus string `json:"authStatus,optional"`
|
|
|
- ValidStartTime string `json:"validStartTime,optional"`
|
|
|
- ValidEndTime string `json:"validEndTime,optional"`
|
|
|
- FrozenStatus string `json:"frozenStatus,optional"`
|
|
|
- RegPhone string `json:"regPhone,optional"`
|
|
|
- AuthPhone string `json:"authPhone,optional"`
|
|
|
- }
|
|
|
+ //企业列表
|
|
|
+ entListReq {
|
|
|
+ Name string `json:"name,optional"` //企业名称
|
|
|
+ PageNum string `json:"pageNum,optional"` //页码,不传默认第一页 第一页为0
|
|
|
+ PageSize string `json:"pageSize,optional"`
|
|
|
+ CreditCode string `json:"creditCode,optional"`
|
|
|
+ CreateStartTime string `json:"createStartTime,optional"`
|
|
|
+ CreateEndTime string `json:"createEndTime,optional"`
|
|
|
+ AuthStatus string `json:"authStatus,optional"`
|
|
|
+ ValidStartTime string `json:"validStartTime,optional"`
|
|
|
+ ValidEndTime string `json:"validEndTime,optional"`
|
|
|
+ FrozenStatus string `json:"frozenStatus,optional"`
|
|
|
+ RegPhone string `json:"regPhone,optional"`
|
|
|
+ AuthPhone string `json:"authPhone,optional"`
|
|
|
+ }
|
|
|
|
|
|
- //企业列表出参
|
|
|
- entListResp {
|
|
|
- Error_code int64 `json:"error_code"` //响应代码
|
|
|
- Error_msg string `json:"error_msg"` //响应消息
|
|
|
- Data EntListData `json:"data"`
|
|
|
- }
|
|
|
+ //企业列表出参
|
|
|
+ entListResp {
|
|
|
+ Error_code int64 `json:"error_code"` //响应代码
|
|
|
+ Error_msg string `json:"error_msg"` //响应消息
|
|
|
+ Data EntListData `json:"data"`
|
|
|
+ }
|
|
|
|
|
|
- EntListData {
|
|
|
- Count int64 `json:"count"`
|
|
|
- PageSize int64 `json:"pageSize"`
|
|
|
- List []*EntList `json:"list"`
|
|
|
- }
|
|
|
+ EntListData {
|
|
|
+ Count int64 `json:"count"`
|
|
|
+ PageSize int64 `json:"pageSize"`
|
|
|
+ List []*EntList `json:"list"`
|
|
|
+ }
|
|
|
|
|
|
- EntList {
|
|
|
- Id int64 `json:"id"`
|
|
|
- ComPanyType int64 `json:"comPanyType"` // 机构性质 1企业 2党政机关事业单位及其他
|
|
|
- Name string `json:"name"` //机构名称
|
|
|
- OrganizationType string `json:"organizationType"` //机构类型 1企业 2党政机关事业单位及其他
|
|
|
- Createtime string `json:"createTime"` //创建时间
|
|
|
- ValidTime string `json:"validTime"` //有效截至日期
|
|
|
- AuthStatus int64 `json:"authStatus"` //认证状态
|
|
|
- FrozenStatus int64 `json:"frozenStatus"` //冻结状态 1正常 0冻结
|
|
|
- }
|
|
|
+ EntList {
|
|
|
+ Id int64 `json:"id"`
|
|
|
+ ComPanyType int64 `json:"comPanyType"` // 机构性质 1企业 2党政机关事业单位及其他
|
|
|
+ Name string `json:"name"` //机构名称
|
|
|
+ OrganizationType string `json:"organizationType"` //机构类型 1企业 2党政机关事业单位及其他
|
|
|
+ Createtime string `json:"createTime"` //创建时间
|
|
|
+ ValidTime string `json:"validTime"` //有效截至日期
|
|
|
+ AuthStatus int64 `json:"authStatus"` //认证状态
|
|
|
+ FrozenStatus int64 `json:"frozenStatus"` //冻结状态 1正常 0冻结
|
|
|
+ }
|
|
|
|
|
|
- //审核列表入参
|
|
|
- ExamineListReq {
|
|
|
- Name string `json:"name,optional"` //机构名称
|
|
|
- AuthPhone string `json:"authPhone,optional"` //联系人手机号
|
|
|
- RegPhone string `json:"regPhone,optional"` //注册人手机号
|
|
|
- AuthType string `json:"authType,optional"` //审核状态 1:待审核 2:审核通过 3:审核不通过
|
|
|
- AuthStartTime string `json:"authStartTime,optional"` //申请开始时间
|
|
|
- AuthEndTime string `json:"authEndTime,optional"` //申请结束时间
|
|
|
- PageNum string `json:"pageNum,optional"` //页码
|
|
|
- PageSize string `json:"pageSize,optional"` //每页展示条数
|
|
|
- }
|
|
|
+ //审核列表入参
|
|
|
+ ExamineListReq {
|
|
|
+ Name string `json:"name,optional"` //机构名称
|
|
|
+ AuthPhone string `json:"authPhone,optional"` //联系人手机号
|
|
|
+ RegPhone string `json:"regPhone,optional"` //注册人手机号
|
|
|
+ AuthType string `json:"authType,optional"` //审核状态 1:待审核 2:审核通过 3:审核不通过
|
|
|
+ AuthStartTime string `json:"authStartTime,optional"` //申请开始时间
|
|
|
+ AuthEndTime string `json:"authEndTime,optional"` //申请结束时间
|
|
|
+ PageNum string `json:"pageNum,optional"` //页码
|
|
|
+ PageSize string `json:"pageSize,optional"` //每页展示条数
|
|
|
+ }
|
|
|
|
|
|
- //审核列表出参
|
|
|
- ExamineListResp {
|
|
|
- Error_code int64 `json:"error_code"`
|
|
|
- Error_msg string `json:"error_msg"`
|
|
|
- Data ExamineListData `json:"data"`
|
|
|
- }
|
|
|
+ //审核列表出参
|
|
|
+ ExamineListResp {
|
|
|
+ Error_code int64 `json:"error_code"`
|
|
|
+ Error_msg string `json:"error_msg"`
|
|
|
+ Data ExamineListData `json:"data"`
|
|
|
+ }
|
|
|
|
|
|
- ExamineListData {
|
|
|
- Count int64 `json:"count"`
|
|
|
- PageSize int64 `json:"pageSize"`
|
|
|
- List []*ExamineList `json:"list"`
|
|
|
- }
|
|
|
+ ExamineListData {
|
|
|
+ Count int64 `json:"count"`
|
|
|
+ PageSize int64 `json:"pageSize"`
|
|
|
+ List []*ExamineList `json:"list"`
|
|
|
+ }
|
|
|
|
|
|
- ExamineList {
|
|
|
- Id int64 `json:"id"` //机构id
|
|
|
- EntId int64 `json:"entId"` //企业id
|
|
|
- ComPanyType int64 `json:"comPanyType"` // 机构性质 1企业 2党政机关事业单位及其他
|
|
|
- Name string `json:"name"` //机构名称
|
|
|
- CreditCode string `json:"creditCode"` //统一社会信用代码
|
|
|
- AuthPhone string `json:"authPhone"` //联系人手机号
|
|
|
- ApplyTime string `json:"applyTime"` //申请时间戳
|
|
|
- AuthType int64 `json:"authType"` //审核状态 1:待审核 2:审核通过 3:审核不通过
|
|
|
- RegPhone string `json:"regPhone"` //注册人手机号
|
|
|
- }
|
|
|
+ ExamineList {
|
|
|
+ Id int64 `json:"id"` //机构id
|
|
|
+ EntId int64 `json:"entId"` //企业id
|
|
|
+ ComPanyType int64 `json:"comPanyType"` // 机构性质 1企业 2党政机关事业单位及其他
|
|
|
+ Name string `json:"name"` //机构名称
|
|
|
+ CreditCode string `json:"creditCode"` //统一社会信用代码
|
|
|
+ AuthPhone string `json:"authPhone"` //联系人手机号
|
|
|
+ ApplyTime string `json:"applyTime"` //申请时间戳
|
|
|
+ AuthType int64 `json:"authType"` //审核状态 1:待审核 2:审核通过 3:审核不通过
|
|
|
+ RegPhone string `json:"regPhone"` //注册人手机号
|
|
|
+ }
|
|
|
|
|
|
- //企业信息出参
|
|
|
- EntInfoResp {
|
|
|
- Error_code int64 `json:"error_code"`
|
|
|
- Error_msg string `json:"error_msg"`
|
|
|
- Data *EntInfo `json:"data"`
|
|
|
- }
|
|
|
+ //企业信息出参
|
|
|
+ EntInfoResp {
|
|
|
+ Error_code int64 `json:"error_code"`
|
|
|
+ Error_msg string `json:"error_msg"`
|
|
|
+ Data *EntInfo `json:"data"`
|
|
|
+ }
|
|
|
|
|
|
- EntInfo {
|
|
|
- Name string `json:"name"`
|
|
|
- OrganizationType string `json:"organizationType"`
|
|
|
- CreditCode string `json:"creditCode"`
|
|
|
- CompanyType int64 `json:"companyType"`
|
|
|
- AreaNumber string `json:"areaNumber"`
|
|
|
- Business string `json:"business"`
|
|
|
- OfficialLetter string `json:"officialLetter"`
|
|
|
- AuthStartTime string `json:"createTime"`
|
|
|
- AuthEndTime string `json:"validTime"`
|
|
|
- ForzenStatus int64 `json:"forzenStatus"`
|
|
|
- AuthState int64 `json:"authStatus"`
|
|
|
- ContactPerson string `json:"contactPerson"`
|
|
|
- ContactPhone string `json:"contactPhone"`
|
|
|
- AuthType int64 `json:"authType"` //审核状态 1:待审核 2:审核通过 3:审核不通过
|
|
|
- SubmitTime string `json:"submitTime"` //提交时间 即库中的createtime
|
|
|
- AuthReason string `json:"authReason"`
|
|
|
- }
|
|
|
+ EntInfo {
|
|
|
+ Name string `json:"name"`
|
|
|
+ OrganizationType string `json:"organizationType"`
|
|
|
+ CreditCode string `json:"creditCode"`
|
|
|
+ CompanyType int64 `json:"companyType"`
|
|
|
+ AreaNumber string `json:"areaNumber"`
|
|
|
+ Business string `json:"business"`
|
|
|
+ OfficialLetter string `json:"officialLetter"`
|
|
|
+ AuthStartTime string `json:"createTime"`
|
|
|
+ AuthEndTime string `json:"validTime"`
|
|
|
+ ForzenStatus int64 `json:"forzenStatus"`
|
|
|
+ AuthState int64 `json:"authStatus"`
|
|
|
+ ContactPerson string `json:"contactPerson"`
|
|
|
+ ContactPhone string `json:"contactPhone"`
|
|
|
+ AuthType int64 `json:"authType"` //审核状态 1:待审核 2:审核通过 3:审核不通过
|
|
|
+ SubmitTime string `json:"submitTime"` //提交时间 即库中的createtime
|
|
|
+ AuthReason string `json:"authReason"`
|
|
|
+ }
|
|
|
|
|
|
- //审核入参
|
|
|
- ExamineInfoReq {
|
|
|
- ExamineId int64 `json:"examineId"`
|
|
|
- }
|
|
|
+ //审核入参
|
|
|
+ ExamineInfoReq {
|
|
|
+ ExamineId int64 `json:"examineId"`
|
|
|
+ }
|
|
|
|
|
|
- //审核详情出参
|
|
|
- ExamineInfoResp {
|
|
|
- Error_code int64 `json:"error_code"`
|
|
|
- Error_msg string `json:"error_msg"`
|
|
|
- Data *ExamineInfo `json:"data"`
|
|
|
- }
|
|
|
+ //审核详情出参
|
|
|
+ ExamineInfoResp {
|
|
|
+ Error_code int64 `json:"error_code"`
|
|
|
+ Error_msg string `json:"error_msg"`
|
|
|
+ Data *ExamineInfo `json:"data"`
|
|
|
+ }
|
|
|
|
|
|
- ExamineInfo {
|
|
|
- Name string `json:"name"`
|
|
|
- OrganizationType string `json:"organizationType"`
|
|
|
- CreditCode string `json:"creditCode"`
|
|
|
- CompanyType int64 `json:"companyType"`
|
|
|
- AreaNumber string `json:"areaNumber"`
|
|
|
- Business string `json:"business"`
|
|
|
- OfficialLetter string `json:"officialLetter"`
|
|
|
- AuthState int64 `json:"authStatus"`
|
|
|
- ContactPerson string `json:"contactPerson"`
|
|
|
- ContactPhone string `json:"contactPhone"`
|
|
|
- RegPhone string `json:"regPhone"`
|
|
|
- AuthTime string `json:"authTime"`
|
|
|
- AuthReason string `json:"authReason"`
|
|
|
- AuditUser string `json:"auditUser"`
|
|
|
- AuditTime string `json:"auditTime"`
|
|
|
- }
|
|
|
+ ExamineInfo {
|
|
|
+ Name string `json:"name"`
|
|
|
+ OrganizationType string `json:"organizationType"`
|
|
|
+ CreditCode string `json:"creditCode"`
|
|
|
+ CompanyType int64 `json:"companyType"`
|
|
|
+ AreaNumber string `json:"areaNumber"`
|
|
|
+ Business string `json:"business"`
|
|
|
+ OfficialLetter string `json:"officialLetter"`
|
|
|
+ AuthState int64 `json:"authStatus"`
|
|
|
+ ContactPerson string `json:"contactPerson"`
|
|
|
+ ContactPhone string `json:"contactPhone"`
|
|
|
+ RegPhone string `json:"regPhone"`
|
|
|
+ AuthTime string `json:"authTime"`
|
|
|
+ AuthReason string `json:"authReason"`
|
|
|
+ AuditUser string `json:"auditUser"`
|
|
|
+ AuditTime string `json:"auditTime"`
|
|
|
+ }
|
|
|
|
|
|
- //冻结解冻入参
|
|
|
- UpdateEntReq {
|
|
|
- EntId int64 `json:"entId"` //企业id
|
|
|
- UpdateType int64 `json:"updateType"` //1-冻结 2-解冻
|
|
|
- }
|
|
|
+ //冻结解冻入参
|
|
|
+ UpdateEntReq {
|
|
|
+ EntId int64 `json:"entId"` //企业id
|
|
|
+ UpdateType int64 `json:"updateType"` //1-冻结 2-解冻
|
|
|
+ }
|
|
|
|
|
|
- //根据统一社会信用代码查看企业状态入参
|
|
|
- GetStatusByCodeReq {
|
|
|
- Code string `json:"code"`
|
|
|
- Phone string `header:"phone"`
|
|
|
- }
|
|
|
+ //根据统一社会信用代码查看企业状态入参
|
|
|
+ GetStatusByCodeReq {
|
|
|
+ Code string `json:"code"`
|
|
|
+ Phone string `header:"phone"`
|
|
|
+ }
|
|
|
|
|
|
- //根据统一社会信用代码查看企业状态出参
|
|
|
- GetStatusByCodeResp {
|
|
|
- Error_code int64 `json:"error_code"`
|
|
|
- Error_msg string `json:"error_msg"`
|
|
|
- Data *GetStatus `json:"data"`
|
|
|
- }
|
|
|
+ //根据统一社会信用代码查看企业状态出参
|
|
|
+ GetStatusByCodeResp {
|
|
|
+ Error_code int64 `json:"error_code"`
|
|
|
+ Error_msg string `json:"error_msg"`
|
|
|
+ Data *GetStatus `json:"data"`
|
|
|
+ }
|
|
|
|
|
|
- GetStatus {
|
|
|
- AuthStatus int64 `json:"authStatus"`
|
|
|
- IsInEnt bool `json:"isInEnt"`
|
|
|
- }
|
|
|
+ GetStatus {
|
|
|
+ AuthStatus int64 `json:"authStatus"`
|
|
|
+ IsInEnt bool `json:"isInEnt"`
|
|
|
+ }
|
|
|
|
|
|
- UserAddReq {
|
|
|
- Authorization string `header:"Authorization"`
|
|
|
- Appid string `json:"appid"`
|
|
|
- Phone string `json:"phone,optional"`
|
|
|
- Nickname string `json:"nickname,optional"`
|
|
|
- Headimg string `json:"headimg,optional"`
|
|
|
- Company string `json:"company,optional"`
|
|
|
- Position string `json:"position,optional"`
|
|
|
- Password string `json:"password,optional"`
|
|
|
- SOpenid string `json:"s_openid,optional"`
|
|
|
- AOpenid string `json:"a_openid,optional"`
|
|
|
- Unionid string `json:"unionid,optional"`
|
|
|
- }
|
|
|
+ UserAddReq {
|
|
|
+ Authorization string `header:"Authorization"`
|
|
|
+ Appid string `json:"appid"`
|
|
|
+ Phone string `json:"phone,optional"`
|
|
|
+ Nickname string `json:"nickname,optional"`
|
|
|
+ Headimg string `json:"headimg,optional"`
|
|
|
+ Company string `json:"company,optional"`
|
|
|
+ Position string `json:"position,optional"`
|
|
|
+ Password string `json:"password,optional"`
|
|
|
+ SOpenid string `json:"s_openid,optional"`
|
|
|
+ AOpenid string `json:"a_openid,optional"`
|
|
|
+ Unionid string `json:"unionid,optional"`
|
|
|
+ }
|
|
|
|
|
|
- UserUpdateReq {
|
|
|
- Authorization string `header:"Authorization"`
|
|
|
- Appid string `json:"appid"`
|
|
|
- Id int64 `json:"id"`
|
|
|
- Phone string `json:"phone,optional"`
|
|
|
- Nickname string `json:"nickname,optional"`
|
|
|
- Headimg string `json:"headimg,optional"`
|
|
|
- Company string `json:"company,optional"`
|
|
|
- Position string `json:"position,optional"`
|
|
|
- Password string `json:"password,optional"`
|
|
|
- SOpenid string `json:"s_openid,optional"`
|
|
|
- AOpenid string `json:"a_openid,optional"`
|
|
|
- Unionid string `json:"unionid,optional"`
|
|
|
- }
|
|
|
+ UserUpdateReq {
|
|
|
+ Authorization string `header:"Authorization"`
|
|
|
+ Appid string `json:"appid"`
|
|
|
+ Id int64 `json:"id"`
|
|
|
+ Phone string `json:"phone,optional"`
|
|
|
+ Nickname string `json:"nickname,optional"`
|
|
|
+ Headimg string `json:"headimg,optional"`
|
|
|
+ Company string `json:"company,optional"`
|
|
|
+ Position string `json:"position,optional"`
|
|
|
+ Password string `json:"password,optional"`
|
|
|
+ SOpenid string `json:"s_openid,optional"`
|
|
|
+ AOpenid string `json:"a_openid,optional"`
|
|
|
+ Unionid string `json:"unionid,optional"`
|
|
|
+ }
|
|
|
|
|
|
- UserDelReq {
|
|
|
- Authorization string `header:"Authorization"`
|
|
|
- Id int64 `json:"id"`
|
|
|
- }
|
|
|
+ UserDelReq {
|
|
|
+ Authorization string `header:"Authorization"`
|
|
|
+ Id int64 `json:"id"`
|
|
|
+ }
|
|
|
|
|
|
- //工作桌面 -- 菜单
|
|
|
- WorkDesktopMenuInfoReq {
|
|
|
- Platform string `json:"platform,optional"`
|
|
|
- UserId string `header:"userId"`
|
|
|
- AppId string `header:"appId"`
|
|
|
- Phone string `header:"phone,optional"`
|
|
|
- NewUserId string `header:"newUserId"`//base_user_id<---base_user
|
|
|
- }
|
|
|
- //工作桌面-- 菜单模式:全部/可用选择记录
|
|
|
- //工作桌面--常用功能更新
|
|
|
- WorkDesktopComprehensiveReq {
|
|
|
- Platform string `json:"platform,optional"`
|
|
|
- UserId string `header:"userId"`
|
|
|
- AppId string `header:"appId"`
|
|
|
- Phone string `header:"phone,optional"`
|
|
|
- MenuMode string `json:"menuMode,optional"`
|
|
|
- MenuIds string `json:"menuIds,optional"`
|
|
|
- ActionMode string `path:"actionMode,options=commonlyRenew|commonlyList|menuMode"`
|
|
|
- NewUserId string `header:"newUserId"`
|
|
|
- }
|
|
|
- //
|
|
|
- CommonResp {
|
|
|
- Error_code int64 `json:"error_code"`
|
|
|
- Error_msg string `json:"error_msg"`
|
|
|
- Data interface{} `json:"data"`
|
|
|
- }
|
|
|
- //工作桌面清用户内存信息
|
|
|
- WorkDesktopClearUserInfo {
|
|
|
- Platform string `json:"platform,optional"`
|
|
|
- UserId string `header:"userId"`
|
|
|
- AppId string `header:"appId"`
|
|
|
- UserIds string `json:"userIds,optional"`
|
|
|
- NewUserId string `header:"newUserId"`
|
|
|
- }
|
|
|
+ //工作桌面 -- 菜单
|
|
|
+ WorkDesktopMenuInfoReq {
|
|
|
+ Platform string `json:"platform,default=PC"`
|
|
|
+ UserId string `header:"userId"`
|
|
|
+ AppId string `header:"appId"`
|
|
|
+ Phone string `header:"phone,optional"`
|
|
|
+ NewUserId string `header:"newUserId"` //base_user_id<---base_user
|
|
|
+ }
|
|
|
+ //工作桌面-- 菜单模式:全部/可用选择记录
|
|
|
+ //工作桌面--常用功能更新
|
|
|
+ WorkDesktopComprehensiveReq {
|
|
|
+ Platform string `json:"platform,default=PC"`
|
|
|
+ UserId string `header:"userId"`
|
|
|
+ AppId string `header:"appId"`
|
|
|
+ Phone string `header:"phone,optional"`
|
|
|
+ MenuMode string `json:"menuMode,optional"`
|
|
|
+ MenuIds string `json:"menuIds,optional"`
|
|
|
+ ActionMode string `path:"actionMode,options=commonlyRenew|commonlyList|menuMode"`
|
|
|
+ NewUserId string `header:"newUserId"`
|
|
|
+ }
|
|
|
+ //
|
|
|
+ CommonResp {
|
|
|
+ Error_code int64 `json:"error_code"`
|
|
|
+ Error_msg string `json:"error_msg"`
|
|
|
+ Data interface{} `json:"data"`
|
|
|
+ }
|
|
|
+ //工作桌面清用户内存信息
|
|
|
+ WorkDesktopClearUserInfo {
|
|
|
+ Platform string `json:"platform,default=PC"`
|
|
|
+ UserId string `header:"userId"`
|
|
|
+ AppId string `header:"appId"`
|
|
|
+ UserIds string `json:"userIds,optional"`
|
|
|
+ NewUserId string `header:"newUserId"`
|
|
|
+ }
|
|
|
)
|
|
|
|
|
|
service userCenter-api {
|
|
|
- @handler Examine
|
|
|
- post /userCenter/ent/examine (examineReq) returns (resp)
|
|
|
- @handler CheckEnt
|
|
|
- post /userCenter/ent/check (checkEntReq) returns (resp)
|
|
|
- @handler EntAuth
|
|
|
- post /userCenter/ent/auth (authEntReq) returns (resp)
|
|
|
- @handler EntList
|
|
|
- post /userCenter/ent/list (entListReq) returns (entListResp)
|
|
|
- @handler ExamineList
|
|
|
- post /userCenter/ent/examineList (ExamineListReq) returns (ExamineListResp)
|
|
|
- @handler EntInfo
|
|
|
- post /userCenter/ent/info (checkEntReq) returns (EntInfoResp)
|
|
|
- @handler ExamineInfo
|
|
|
- post /userCenter/ent/examineInfo (ExamineInfoReq) returns (ExamineInfoResp)
|
|
|
- @handler UpdateEnt
|
|
|
- post /userCenter/ent/update (UpdateEntReq) returns (resp)
|
|
|
- @handler GetStatusByCode
|
|
|
- post /userCenter/ent/getStatusByCode (GetStatusByCodeReq) returns (GetStatusByCodeResp)
|
|
|
-
|
|
|
- @handler WorkDesktopMenuInfo
|
|
|
- post /userCenter/workDesktop/menuInfo (WorkDesktopMenuInfoReq) returns (CommonResp)
|
|
|
- @handler WorkDesktopComprehensive
|
|
|
- post /userCenter/workDesktop/renew/:actionMode (WorkDesktopComprehensiveReq) returns (CommonResp)
|
|
|
- @handler WorkDesktopClearUserInfo
|
|
|
- get /userCenter/workDesktop/clearUserInfo (WorkDesktopClearUserInfo) returns (CommonResp)
|
|
|
+ @handler Examine
|
|
|
+ post /userCenter/ent/examine (examineReq) returns (resp)
|
|
|
+ @handler CheckEnt
|
|
|
+ post /userCenter/ent/check (checkEntReq) returns (resp)
|
|
|
+ @handler EntAuth
|
|
|
+ post /userCenter/ent/auth (authEntReq) returns (resp)
|
|
|
+ @handler EntList
|
|
|
+ post /userCenter/ent/list (entListReq) returns (entListResp)
|
|
|
+ @handler ExamineList
|
|
|
+ post /userCenter/ent/examineList (ExamineListReq) returns (ExamineListResp)
|
|
|
+ @handler EntInfo
|
|
|
+ post /userCenter/ent/info (checkEntReq) returns (EntInfoResp)
|
|
|
+ @handler ExamineInfo
|
|
|
+ post /userCenter/ent/examineInfo (ExamineInfoReq) returns (ExamineInfoResp)
|
|
|
+ @handler UpdateEnt
|
|
|
+ post /userCenter/ent/update (UpdateEntReq) returns (resp)
|
|
|
+ @handler GetStatusByCode
|
|
|
+ post /userCenter/ent/getStatusByCode (GetStatusByCodeReq) returns (GetStatusByCodeResp)
|
|
|
+
|
|
|
+ @handler WorkDesktopMenuInfo
|
|
|
+ post /userCenter/workDesktop/menuInfo (WorkDesktopMenuInfoReq) returns (CommonResp)
|
|
|
+ @handler WorkDesktopComprehensive
|
|
|
+ post /userCenter/workDesktop/renew/:actionMode (WorkDesktopComprehensiveReq) returns (CommonResp)
|
|
|
+ @handler WorkDesktopClearUserInfo
|
|
|
+ get /userCenter/workDesktop/clearUserInfo (WorkDesktopClearUserInfo) returns (CommonResp)
|
|
|
}
|
|
|
|
|
|
@server(
|
|
|
- jwt: Auth
|
|
|
+ jwt: Auth
|
|
|
)
|
|
|
service userCenter-api {
|
|
|
- @handler UserAdd
|
|
|
- post /userCenter/user/add (UserAddReq) returns (resp)
|
|
|
- @handler UserUpdate
|
|
|
- post /userCenter/user/updateById (UserUpdateReq) returns (resp)
|
|
|
- @handler UserDel
|
|
|
- post /userCenter/user/deleteById (UserDelReq) returns (resp)
|
|
|
+ @handler UserAdd
|
|
|
+ post /userCenter/user/add (UserAddReq) returns (resp)
|
|
|
+ @handler UserUpdate
|
|
|
+ post /userCenter/user/updateById (UserUpdateReq) returns (resp)
|
|
|
+ @handler UserDel
|
|
|
+ post /userCenter/user/deleteById (UserDelReq) returns (resp)
|
|
|
}
|