|
|
@@ -2,6 +2,7 @@ package com.zswl.dataservice.controller.openApi;
|
|
|
|
|
|
import com.github.microservice.models.hxz.ServerTimeModel;
|
|
|
import com.github.microservice.models.hxz.ServerTimeResult;
|
|
|
+import com.zswl.dataservice.model.openApi.SystemTimeModel;
|
|
|
import com.zswl.dataservice.model.openApi.SystemTimeParam;
|
|
|
import com.zswl.dataservice.service.openApi.SystemTimeService;
|
|
|
import com.zswl.dataservice.utils.result.ResultContent;
|
|
|
@@ -24,7 +25,7 @@ import org.springframework.web.bind.annotation.RestController;
|
|
|
@Slf4j
|
|
|
@RestController
|
|
|
@RequestMapping("/v1/openApi/systemTime")
|
|
|
-@Tag(name = "openApi-系统时间")
|
|
|
+@Tag(name = "openAPI-系统时间")
|
|
|
public class SystemTimeController {
|
|
|
|
|
|
@Autowired
|
|
|
@@ -32,7 +33,7 @@ public class SystemTimeController {
|
|
|
|
|
|
@Operation(summary = "获取服务器时间接口")
|
|
|
@PostMapping(value = "serverTime", consumes = MediaType.APPLICATION_JSON_VALUE)
|
|
|
- public ResultContent serverTime(@RequestBody SystemTimeParam param) {
|
|
|
+ public ResultContent<SystemTimeModel> serverTime(@RequestBody SystemTimeParam param) {
|
|
|
return systemTimeService.serverTime(param);
|
|
|
}
|
|
|
|