Kaynağa Gözat

字段替换

WH01243 9 ay önce
ebeveyn
işleme
fc2fec5124
2 değiştirilmiş dosya ile 23 ekleme ve 19 silme
  1. 6 3
      api/internal/types/types.go
  2. 17 16
      api/networkmanage.api

+ 6 - 3
api/internal/types/types.go

@@ -155,11 +155,12 @@ type UpdateInitInfoReq struct {
 	Company      string `json:"company,optional"`
 	EntId        int64  `header:"entId,optional"`
 	MgoUserId    string `header:"mgoUserId,optional"` //原userId
+	NewUserId    int64  `header:"newUserId"`
+	AccountId    int64  `header:"accountId,optional"`
 	PositionId   int64  `header:"positionId,optional"`
 	PositionType int64  `header:"positionType,optional"`
 	EntUserId    int64  `header:"entUserId,optional"`
-	EntRole      int64  `header:"entRole,optional"`
-	NewUserId    int64  `header:"newUserId,optional"`
+	EntRole      int64  `header:"entUserRole,optional"`
 	EntName      string `header:"entName,optional"`
 	EntDeptId    int64  `header:"entDeptId,optional"`
 }
@@ -168,9 +169,11 @@ type FindInitInfoReq struct {
 	EntId        int64  `header:"entId,optional"`
 	MgoUserId    string `header:"mgoUserId,optional"` //原userId
 	PositionType int64  `header:"positionType,optional"`
+	NewUserId    int64  `header:"newUserId"`
+	AccountId    int64  `header:"accountId,optional"`
 	PositionId   int64  `header:"positionId,optional"`
 	EntUserId    int64  `header:"entUserId,optional"`
-	EntRole      int64  `header:"entRole,optional"`
+	EntRole      int64  `header:"entUserRole,optional"`
 }
 
 type PrMonitorListReq struct {

+ 17 - 16
api/networkmanage.api

@@ -147,7 +147,7 @@ type (
 		PositionId   int64  `header:"positionId,optional"`
 		PositionType int64  `header:"positionType,optional"`
 		EntUserId    int64  `header:"entUserId,optional"`
-		EntRole      int64  `header:"entRole,optional"`
+		EntRole      int64  `header:"entUserRole,optional"`
 		EntName      string `header:"entName,optional"`
 		EntDeptId    int64  `header:"entDeptId,optional"`
 	}
@@ -159,6 +159,7 @@ type (
 		AccountId    int64  `header:"accountId,optional"`
 		PositionId   int64  `header:"positionId,optional"`
 		EntUserId    int64  `header:"entUserId,optional"`
+		EntRole      int64  `header:"entUserRole,optional"`
 	}
 	PrMonitorListReq {
 		MgoUserId  string `header:"mgoUserId,optional"`
@@ -181,63 +182,63 @@ service networkManage {
 	@doc "人脉可达潜客业主列表"
 	@handler ownerList
 	post /networkManage/owner/list (OwnerListReq) returns (Reply)
-	
+
 	@doc "人脉可达商机列表"
 	@handler projectList
 	post /networkManage/network/project/list (ProjectListReq) returns (Reply)
-	
+
 	@doc "项目公关渠道分析-项目名称联想"
 	@handler PrPnameAss
 	post /networkManage/pr/pname/ass (PnameAssReq) returns (Reply)
-	
+
 	@doc "项目公关渠道分析-与业主合作历史"
 	@handler CoopHistoryList
 	post /networkManage/pr/project/analyse (CoopHistoryReq) returns (Reply)
-	
+
 	@doc "人脉库-添加/修改人脉"
 	@handler addOrUpdate
 	post /networkManage/network/addOrUpdate (AddOrUpdateReq) returns (Reply)
-	
+
 	@doc "人脉库-业主名称联想"
 	@handler associate
 	post /networkManage/network/associate (AssociateReq) returns (Reply)
-	
+
 	@doc "人脉库-全部人脉项目"
 	@handler allProject
 	post /networkManage/network/allProject (AllprojectReq) returns (Reply)
-	
+
 	@doc "人脉库-列表"
 	@handler networkList
 	post /networkManage/network/networkList (NetWorkListReq) returns (Reply)
-	
+
 	@doc "情报详情"
 	@handler infoDetail
 	post /networkManage/infomation/detail (InfoDetailReq) returns (Reply)
-	
+
 	@doc "人脉项目分析-业主合作历史"
 	@handler projectHistory
 	post /networkManage/pr/project/history (PrjectHistoryReq) returns (Reply)
-	
+
 	@doc "可介绍业主路径"
 	@handler ownerRoute
 	post /networkManage/owner/route (RouteOwnerListReq) returns (Reply)
-	
+
 	@doc "可介绍业主合作次数"
 	@handler ownerCooperate
 	post /networkManage/owner/cooperate (CooperateOwnerListReq) returns (Reply)
-	
+
 	@doc "公关渠道-业主监控项目找人脉"
 	@handler PrMonitorList
 	post /networkManage/pr/monitor/list (PrMonitorListReq) returns (Reply)
-	
+
 	@doc "公关渠道-标讯收藏项目找人脉"
 	@handler PrCollectList
 	post /networkManage/pr/collect/list (PrCollectListReq) returns (Reply)
-	
+
 	@doc "初始化设置查看"
 	@handler findInitInfo
 	post /networkManage/init/findInitInfo (FindInitInfoReq) returns (Reply)
-	
+
 	@doc "初始化设置"
 	@handler updateInitInfo
 	post /networkManage/init/updateInitInfo (UpdateInitInfoReq) returns (Reply)