作者 yangfu

共创申请修改

... ... @@ -102,7 +102,7 @@ spec:
- name: ALLIED_CREATION_USER_HOST
value: "http://allied-creation-user-dev.fjmaimaimai.com"
- name: ALLIED_CREATION_COOPERATION_HOST
value: "http://allied-creation-cooperation-dev.fjmaimaimai.com/"
value: "http://allied-creation-cooperation-dev.fjmaimaimai.com"
- name: SMS_SERVE_HOST
value: "https://sms.fjmaimaimai.com:9897"
# - name: REDIS_HOST
... ...
... ... @@ -11,7 +11,7 @@ type ListCooperationApplicationQuery struct {
//操作人
Operator domain.Operator `json:"-"`
// 查询偏离量
PageNumber int `json:"pageNumber" valid:"Required"`
PageNumber int `json:"pageNumber" `
// 查询限制
PageSize int `json:"pageSize" valid:"Required"`
//共创项目名称
... ...
... ... @@ -16,6 +16,7 @@ func (controller *CooperationApplicationController) GetCooperationApplication()
getCooperationApplicationQuery := &query.GetCooperationApplicationQuery{}
applicationId, _ := controller.GetInt(":applicationId")
getCooperationApplicationQuery.CooperationApplicationId = applicationId
getCooperationApplicationQuery.Operator = controller.GetOperator()
data, err := cooperationApplicationService.GetCooperationApplication(getCooperationApplicationQuery)
controller.Response(data, err)
}
... ...