...
|
...
|
@@ -83,12 +83,12 @@ func (controller *CooperationModeController) SearchCooperationMode() { |
|
|
func (controller *CooperationModeController) ListCooperationMode() {
|
|
|
cooperationModeService := service.NewCooperationModeService(nil)
|
|
|
listCooperationModeQuery := &query.ListCooperationModeQuery{}
|
|
|
err := controller.Unmarshal(listCooperationModeQuery)
|
|
|
if err != nil {
|
|
|
log.Logger.Debug("json err:" + err.Error())
|
|
|
controller.Response(nil, err)
|
|
|
return
|
|
|
}
|
|
|
// err := controller.Unmarshal(listCooperationModeQuery)
|
|
|
// if err != nil {
|
|
|
// log.Logger.Debug("json err:" + err.Error())
|
|
|
// controller.Response(nil, err)
|
|
|
// return
|
|
|
// }
|
|
|
listCooperationModeQuery.Operator = controller.GetOperator()
|
|
|
listCooperationModeQuery.PageNumber = 1
|
|
|
listCooperationModeQuery.PageSize = 999
|
...
|
...
|
|