From caa76b919c93e491f4896da09b1f0c41599347eb Mon Sep 17 00:00:00 2001 From: x_z Date: Thu, 21 Jul 2022 10:26:19 +0800 Subject: [PATCH] =?UTF-8?q?1.=E6=B7=BB=E5=8A=A0=E8=BF=9E=E9=80=9A=E6=80=A7?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../admin/controller/sync/SyncController.java | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 api-admin/src/main/java/com/glxp/sale/admin/controller/sync/SyncController.java diff --git a/api-admin/src/main/java/com/glxp/sale/admin/controller/sync/SyncController.java b/api-admin/src/main/java/com/glxp/sale/admin/controller/sync/SyncController.java new file mode 100644 index 0000000..15af49d --- /dev/null +++ b/api-admin/src/main/java/com/glxp/sale/admin/controller/sync/SyncController.java @@ -0,0 +1,26 @@ +package com.glxp.sale.admin.controller.sync; + +import com.glxp.sale.common.res.BaseResponse; +import com.glxp.sale.common.util.ResultVOUtils; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.RestController; + +/** + * 中继服务接口 + */ +@RestController +public class SyncController { + + + /** + * 测试连通性 + * + * @return + */ + @PostMapping("/udispsync/sync/testConnection") + public BaseResponse testConnection() { + return ResultVOUtils.success("连接成功"); + } + + +}