作者 陈志颖

合并分支 'dev' 到 'test'

Dev



查看合并请求 !13
@@ -123,10 +123,10 @@ func newQueryOptionV2(request *protocolx.PartnersRequest) map[string]interface{} @@ -123,10 +123,10 @@ func newQueryOptionV2(request *protocolx.PartnersRequest) map[string]interface{}
123 123
124 func newCompany(company *domain.Company, p *domain.PartnerStatics) userx.Company { 124 func newCompany(company *domain.Company, p *domain.PartnerStatics) userx.Company {
125 partnerCompany := userx.Company{ 125 partnerCompany := userx.Company{
126 - Id: company.Id,  
127 - Name: company.Name,  
128 - Phone: company.Phone,  
129 - //SerialNo: p.Id, 126 + Id: company.Id,
  127 + Name: company.Name,
  128 + Phone: company.Phone,
  129 + SerialNo: p.Id,
130 CareerSerialNo: "", 130 CareerSerialNo: "",
131 BusinessSerialNo: "", 131 BusinessSerialNo: "",
132 DevelopSerialNo: "", 132 DevelopSerialNo: "",
@@ -233,10 +233,10 @@ func UserInfoV2(header *protocol.RequestHeader, request *protocol.UserInfoReques @@ -233,10 +233,10 @@ func UserInfoV2(header *protocol.RequestHeader, request *protocol.UserInfoReques
233 PartnerName: partnerInfo.PartnerName, 233 PartnerName: partnerInfo.PartnerName,
234 Phone: partnerInfo.Account, 234 Phone: partnerInfo.Account,
235 CooperateCompany: userx.Company{ 235 CooperateCompany: userx.Company{
236 - Id: company.Id,  
237 - Name: company.Name,  
238 - Phone: company.Phone,  
239 - //SerialNo: partnerInfo.Id, 236 + Id: company.Id,
  237 + Name: company.Name,
  238 + Phone: company.Phone,
  239 + SerialNo: partnerInfo.Id,
240 CareerSerialNo: "", 240 CareerSerialNo: "",
241 BusinessSerialNo: "", 241 BusinessSerialNo: "",
242 DevelopSerialNo: "", 242 DevelopSerialNo: "",
@@ -247,7 +247,7 @@ func UserInfoV2(header *protocol.RequestHeader, request *protocol.UserInfoReques @@ -247,7 +247,7 @@ func UserInfoV2(header *protocol.RequestHeader, request *protocol.UserInfoReques
247 }, 247 },
248 } 248 }
249 249
250 - //TODO 获取编号 250 + // 获取编号
251 for _, partnerCategoryInfo := range partnerInfo.PartnerCategoryInfos { 251 for _, partnerCategoryInfo := range partnerInfo.PartnerCategoryInfos {
252 if partnerCategoryInfo.Id == 1 { 252 if partnerCategoryInfo.Id == 1 {
253 u.CooperateCompany.CareerSerialNo = partnerCategoryInfo.Code 253 u.CooperateCompany.CareerSerialNo = partnerCategoryInfo.Code
@@ -7,7 +7,7 @@ type Company struct { @@ -7,7 +7,7 @@ type Company struct {
7 //合作区域 7 //合作区域
8 District interface{} `json:"district"` 8 District interface{} `json:"district"`
9 //合作编码 9 //合作编码
10 - //SerialNo int64 `json:"serialNo"` 10 + SerialNo int64 `json:"serialNo"`
11 //事业合作编号 11 //事业合作编号
12 CareerSerialNo string `json:"careerSerialNo"` 12 CareerSerialNo string `json:"careerSerialNo"`
13 //业务合作编号 13 //业务合作编号