|
|
@@ -2,6 +2,8 @@ package com.zhongshu.card.server.core.controller.org;
|
|
|
|
|
|
import com.github.microservice.net.ResultContent;
|
|
|
import com.zhongshu.card.client.model.test.TestUserInfoParam;
|
|
|
+import com.zhongshu.card.client.model.test.TestUserParam;
|
|
|
+import com.zhongshu.card.client.utils.DateUtils;
|
|
|
import com.zhongshu.card.server.core.service.TestService;
|
|
|
import com.zhongshu.card.server.core.service.devices.DeviceInfoServiceImpl;
|
|
|
import com.zhongshu.card.server.core.service.openAPI.OpenAPIRegisterService;
|
|
|
@@ -50,8 +52,9 @@ public class TestController {
|
|
|
|
|
|
@Operation(summary = "测试用户同步", description = "测试隐患同步")
|
|
|
@RequestMapping(value = "testAddUser", method = {RequestMethod.POST})
|
|
|
- public ResultContent testAddUser(@RequestBody TestUserInfoParam param) {
|
|
|
- log.info("testAddUser... {}", param.getId());
|
|
|
+ public ResultContent testAddUser(@RequestBody TestUserParam param) {
|
|
|
+ log.info("testAddUser... {} {}", param.getList().size(),
|
|
|
+ DateUtils.paresTime(System.currentTimeMillis(), DateUtils.patternyyyySSS));
|
|
|
return ResultContent.buildSuccess();
|
|
|
}
|
|
|
|