|
@@ -1,8 +1,11 @@
|
|
|
package com.zjj.controller;
|
|
|
|
|
|
+import com.alibaba.fastjson.JSON;
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
import com.zjj.config.HttpUtil;
|
|
|
import com.zjj.config.URLConfig;
|
|
|
+import io.swagger.annotations.ApiImplicitParam;
|
|
|
+import io.swagger.annotations.ApiImplicitParams;
|
|
|
import org.springframework.ui.Model;
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
@@ -59,12 +62,15 @@ public class AppInterfaceController {
|
|
|
return HttpUtil.sendPostForm(URLConfig.display,new HashMap<>(),new HashMap<>());
|
|
|
}
|
|
|
|
|
|
- @PostMapping("/app/news/appConsultation/data")
|
|
|
- public String appConsultationData(@RequestBody JSONObject param){
|
|
|
+ @PostMapping(value = "/app/news/appConsultation/data")
|
|
|
+ public String appConsultationData(ceshi param){
|
|
|
HashMap hashMap = new HashMap<>();
|
|
|
- hashMap.put("pageNo",param.getString("pageNo"));
|
|
|
- hashMap.put("pageSize",param.getString("pageSize"));
|
|
|
- return HttpUtil.sendPostJson(URLConfig.appConsultationData,param, hashMap);
|
|
|
+// hashMap.put("pageNo",pageNo);
|
|
|
+// hashMap.put("pageSize",pageSize);
|
|
|
+// JSONObject param = new JSONObject();
|
|
|
+// param.put("",);
|
|
|
+// return HttpUtil.sendPostJson(URLConfig.appConsultationData,param, hashMap);
|
|
|
+ return null;
|
|
|
}
|
|
|
|
|
|
@PostMapping("/app/url/appConsultationLink/url")
|
|
@@ -120,13 +126,6 @@ public class AppInterfaceController {
|
|
|
return HttpUtil.sendPostForm(URLConfig.getAllOrg,new HashMap<>(),new HashMap<>());
|
|
|
}
|
|
|
|
|
|
- @PostMapping("/app/base/appBaseNews/getNav")
|
|
|
- public String save(String deptId){
|
|
|
- Map param = new HashMap<>();
|
|
|
- param.put("deptId",deptId);
|
|
|
- return HttpUtil.sendPostForm(URLConfig.getNav,new HashMap<>(),param);
|
|
|
- }
|
|
|
-
|
|
|
@PostMapping("/app/complaint/appComplaintInfo/save")
|
|
|
public String save(@RequestBody JSONObject param){
|
|
|
return HttpUtil.sendPostJson(URLConfig.save,param,new HashMap<>());
|
|
@@ -212,7 +211,7 @@ public class AppInterfaceController {
|
|
|
return HttpUtil.sendPostForm(URLConfig.getLogs,new HashMap<>(),param);
|
|
|
}
|
|
|
|
|
|
- @PostMapping("/leader/activity/leaderActivity/threeSessions")
|
|
|
+ @PostMapping("/app/resources/appResources/data")
|
|
|
public String appResourcesData(@RequestBody JSONObject param){
|
|
|
HashMap hashMap = new HashMap<>();
|
|
|
hashMap.put("pageNo",param.getString("pageNo"));
|