|
|
@@ -4,6 +4,8 @@ package com.zswl.dataservice.controller.payment;
|
|
|
import com.zswl.dataservice.model.payment.ServerTimeModel;
|
|
|
import com.zswl.dataservice.model.payment.ServerTimeResult;
|
|
|
import com.zswl.dataservice.service.payment.HxzService;
|
|
|
+import io.swagger.v3.oas.annotations.Operation;
|
|
|
+import io.swagger.v3.oas.annotations.tags.Tag;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.http.MediaType;
|
|
|
@@ -22,6 +24,7 @@ import java.util.Map;
|
|
|
@Slf4j
|
|
|
@RestController
|
|
|
@RequestMapping("hxz/v1")
|
|
|
+@Tag(name = "云版消费机接口-HXZ")
|
|
|
public class HxzController {
|
|
|
|
|
|
@Autowired
|
|
|
@@ -30,6 +33,7 @@ public class HxzController {
|
|
|
/**
|
|
|
* 系统时间
|
|
|
*/
|
|
|
+ @Operation(summary = "获取服务器时间接口")
|
|
|
@PostMapping(value = "ServerTime", consumes = MediaType.APPLICATION_JSON_VALUE)
|
|
|
public ServerTimeResult serverTime(@RequestBody ServerTimeModel serverTimeModel) {
|
|
|
return hxzService.serverTime(serverTimeModel);
|