正在显示
3 个修改的文件
包含
3 行增加
和
2 行删除
| @@ -102,7 +102,7 @@ spec: | @@ -102,7 +102,7 @@ spec: | ||
| 102 | - name: ALLIED_CREATION_USER_HOST | 102 | - name: ALLIED_CREATION_USER_HOST |
| 103 | value: "http://allied-creation-user-dev.fjmaimaimai.com" | 103 | value: "http://allied-creation-user-dev.fjmaimaimai.com" |
| 104 | - name: ALLIED_CREATION_COOPERATION_HOST | 104 | - name: ALLIED_CREATION_COOPERATION_HOST |
| 105 | - value: "http://allied-creation-cooperation-dev.fjmaimaimai.com/" | 105 | + value: "http://allied-creation-cooperation-dev.fjmaimaimai.com" |
| 106 | - name: SMS_SERVE_HOST | 106 | - name: SMS_SERVE_HOST |
| 107 | value: "https://sms.fjmaimaimai.com:9897" | 107 | value: "https://sms.fjmaimaimai.com:9897" |
| 108 | # - name: REDIS_HOST | 108 | # - name: REDIS_HOST |
| @@ -11,7 +11,7 @@ type ListCooperationApplicationQuery struct { | @@ -11,7 +11,7 @@ type ListCooperationApplicationQuery struct { | ||
| 11 | //操作人 | 11 | //操作人 |
| 12 | Operator domain.Operator `json:"-"` | 12 | Operator domain.Operator `json:"-"` |
| 13 | // 查询偏离量 | 13 | // 查询偏离量 |
| 14 | - PageNumber int `json:"pageNumber" valid:"Required"` | 14 | + PageNumber int `json:"pageNumber" ` |
| 15 | // 查询限制 | 15 | // 查询限制 |
| 16 | PageSize int `json:"pageSize" valid:"Required"` | 16 | PageSize int `json:"pageSize" valid:"Required"` |
| 17 | //共创项目名称 | 17 | //共创项目名称 |
| @@ -16,6 +16,7 @@ func (controller *CooperationApplicationController) GetCooperationApplication() | @@ -16,6 +16,7 @@ func (controller *CooperationApplicationController) GetCooperationApplication() | ||
| 16 | getCooperationApplicationQuery := &query.GetCooperationApplicationQuery{} | 16 | getCooperationApplicationQuery := &query.GetCooperationApplicationQuery{} |
| 17 | applicationId, _ := controller.GetInt(":applicationId") | 17 | applicationId, _ := controller.GetInt(":applicationId") |
| 18 | getCooperationApplicationQuery.CooperationApplicationId = applicationId | 18 | getCooperationApplicationQuery.CooperationApplicationId = applicationId |
| 19 | + getCooperationApplicationQuery.Operator = controller.GetOperator() | ||
| 19 | data, err := cooperationApplicationService.GetCooperationApplication(getCooperationApplicationQuery) | 20 | data, err := cooperationApplicationService.GetCooperationApplication(getCooperationApplicationQuery) |
| 20 | controller.Response(data, err) | 21 | controller.Response(data, err) |
| 21 | } | 22 | } |
-
请 注册 或 登录 后发表评论