Commit 366f4e6e by yangyang

接口处理(重庆)

parent 096b5c5d
......@@ -52,10 +52,10 @@ public class Knife4jConfig {
private ApiInfo apiInfo() {
return new ApiInfoBuilder()
.title("实战分析中心API文档")
.description("本文档描述了实战分析微服务接口定义")
.title("刑总服务资源管理API文档")
.description("管理刑侦总队所有资源服务")
.version("1.0")
.contact(new Contact("java", "http://founder.com", "@founder.com"))
.contact(new Contact("founder", "http://77.1.24.19:1003", "@founder.com"))
.build();
}
......
......@@ -51,7 +51,7 @@ public class CqNewServiceController {
public MapRestResult ykmRequest(@RequestBody JSONObject params) {
List<Map<String,String>> listResult = new ArrayList<>();
if(StringUtils.isBlank(params.getString("YDDH"))&&StringUtils.isBlank(params.getString("GMSFHM"))){
return MapRestResult.ok();
return new MapRestResult(200, "OK", listResult.size(), listResult);
}
if(params.size()>0){
JSONObject paramsAll = getJsonParams("ykm","R-500000000000-00000029",params);
......@@ -475,7 +475,7 @@ public class CqNewServiceController {
public MapRestResult yqfkcsmxxRequest(@RequestBody JSONObject params) {
List<Map<String,String>> listResult = new ArrayList<>();
if(StringUtils.isBlank(params.getString("SMA_REY_GMSFHM"))&&StringUtils.isBlank(params.getString("SMA_REY_YDDH"))){
return MapRestResult.ok();
return new MapRestResult(200, "OK", listResult.size(), listResult);
}
if(params.size()>0){
JSONObject paramsAll = getJsonParams("yqfkcsmxx","R-500000000000-00011475",params);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment