作者 yangfu

共创项目详情功能修改

@@ -69,7 +69,7 @@ func (ut *Referrer) ToUser() *User { @@ -69,7 +69,7 @@ func (ut *Referrer) ToUser() *User {
69 } 69 }
70 70
71 func (ut *Salesman) ToUser() *User { 71 func (ut *Salesman) ToUser() *User {
72 - return &User{UserId: ut.UserId, UserInfo: ut.UserInfo} 72 + return &User{UserId: ut.UserId, UserBaseId: ut.UserBaseId, UserInfo: ut.UserInfo}
73 } 73 }
74 74
75 func NewContractParticipant(u *User, primaryKey string, attachments []*Attachment) *ContractParticipant { 75 func NewContractParticipant(u *User, primaryKey string, attachments []*Attachment) *ContractParticipant {
@@ -207,8 +207,8 @@ func (ptr *CooperationStatisticsService) cooperationModeStatistics(mode *domain. @@ -207,8 +207,8 @@ func (ptr *CooperationStatisticsService) cooperationModeStatistics(mode *domain.
207 func (ptr *CooperationStatisticsService) CompanyDividendsStatistics(queryOptions map[string]interface{}) (interface{}, error) { 207 func (ptr *CooperationStatisticsService) CompanyDividendsStatistics(queryOptions map[string]interface{}) (interface{}, error) {
208 // 参数验证 208 // 参数验证
209 var request = struct { 209 var request = struct {
210 - CompanyId int64 `json:"companyId" valid:"Required"`  
211 - OrgId int64 `json:"orgId" valid:"Required"` 210 + CompanyId int64 `json:"companyId" ` //valid:"Required"
  211 + OrgId int64 `json:"orgId" ` //valid:"Required"
212 Action int `json:"action" valid:"Required"` 212 Action int `json:"action" valid:"Required"`
213 }{} 213 }{}
214 if err := LoadQueryObject(queryOptions, &request); err != nil { 214 if err := LoadQueryObject(queryOptions, &request); err != nil {