1、项目名称改为galaxy,并将项目代码中有关gk的目录改为galaxy;
2、接口返回参数中添加追踪状态码traceCode,用于查看服务处理日志,方便调试与定故障定位; 3、添加项目调试模式(isDebug参数),调用maat通用接口时,调式携带提交内容,生产过程为空;
This commit is contained in:
@@ -118,7 +118,7 @@ public class ConfigSourcesController extends BaseRestController {
|
||||
}
|
||||
|
||||
return compileServiceResponse(thread, System.currentTimeMillis() - start, request, response,
|
||||
"编译配置数据插入成功" + sb.toString(), configSource);
|
||||
"编译配置数据插入成功" + sb.toString(), Constants.IS_DEBUG?configSource:null);
|
||||
}
|
||||
|
||||
@RequestMapping(value = "/cfg/v1/configSources", method = RequestMethod.PUT)
|
||||
@@ -183,7 +183,7 @@ public class ConfigSourcesController extends BaseRestController {
|
||||
RestBusinessCode.missing_args.getValue());
|
||||
}
|
||||
return compileServiceResponse(thread, System.currentTimeMillis() - start, request, response,
|
||||
"编译配置修改成功" + sb.toString(), configSource);
|
||||
"编译配置修改成功" + sb.toString(), Constants.IS_DEBUG?configSource:null);
|
||||
}
|
||||
|
||||
@RequestMapping(value = "/cfg/v1/configModifySources", method = RequestMethod.PUT)
|
||||
@@ -303,7 +303,7 @@ public class ConfigSourcesController extends BaseRestController {
|
||||
}
|
||||
|
||||
return compileServiceResponse(thread, System.currentTimeMillis() - start, request, response,
|
||||
"修改编译配置数据成功" + sb.toString(), configSource);
|
||||
"修改编译配置数据成功" + sb.toString(), Constants.IS_DEBUG?configSource:null);
|
||||
}
|
||||
|
||||
private void validateConfigSource(SaveRequestLogThread thread, long start, ConfigSource configSource) {
|
||||
|
||||
Reference in New Issue
Block a user