|
|
|
@ -41,7 +41,10 @@ public class MntnController extends BaseController {
|
|
|
|
|
Map<String, Object> map = JSONUtil.json2Object(data, Map.class);
|
|
|
|
|
String cmdid = (String) map.get("id");
|
|
|
|
|
if (StringUtils.isBlank(cmdid)) {
|
|
|
|
|
throw new ApiException("id不能为空");
|
|
|
|
|
cmdid = (String) map.get("oid");
|
|
|
|
|
if (StringUtils.isBlank(cmdid)) {
|
|
|
|
|
throw new ApiException("id不能为空");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
HashMap<String, Object> result = service.sync(cmdid, ip, multi, data);
|
|
|
|
|
resp.setHeader("ResSyncTime", String.valueOf(System.currentTimeMillis()));
|
|
|
|
|