From 5d167ea6e943dd1574e0e6ed70ff25b8d4830f61 Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期四, 16 六月 2022 11:47:49 +0800
Subject: [PATCH] 优化代码
---
java110-interface/src/main/java/com/java110/intf/job/IDataBusInnerServiceSMO.java | 69 +++++++++++++++++++++++++++++++++-
1 files changed, 67 insertions(+), 2 deletions(-)
diff --git a/java110-interface/src/main/java/com/java110/intf/job/IDataBusInnerServiceSMO.java b/java110-interface/src/main/java/com/java110/intf/job/IDataBusInnerServiceSMO.java
old mode 100644
new mode 100755
index cb39c6b..95f0382
--- a/java110-interface/src/main/java/com/java110/intf/job/IDataBusInnerServiceSMO.java
+++ b/java110-interface/src/main/java/com/java110/intf/job/IDataBusInnerServiceSMO.java
@@ -1,8 +1,13 @@
package com.java110.intf.job;
+import com.alibaba.fastjson.JSONObject;
import com.java110.config.feign.FeignConfiguration;
-import com.java110.dto.task.TaskDto;
+import com.java110.dto.businessDatabus.CustomBusinessDatabusDto;
+import com.java110.dto.machine.MachineDto;
+import com.java110.dto.tempCarFeeConfig.TempCarPayOrderDto;
import com.java110.entity.order.Business;
+import com.java110.po.machine.MachineRecordPo;
+import com.java110.vo.ResultVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
@@ -18,7 +23,7 @@
* @Version 1.0
* add by wuxw 2019/4/24
**/
-@FeignClient(name = "job-service", configuration = {FeignConfiguration.class})
+@FeignClient(name = "${java110.job-service}", configuration = {FeignConfiguration.class})
@RequestMapping("/dataBusApi")
public interface IDataBusInnerServiceSMO {
@@ -31,4 +36,64 @@
@RequestMapping(value = "/exchange", method = RequestMethod.POST)
boolean exchange(@RequestBody List<Business> businesses);
+
+ /**
+ * <p>寮�闂�</p>
+ *
+ * @param reqJson 璇锋眰淇℃伅
+ * @return TaskDto 瀵硅薄鏁版嵁
+ */
+ @RequestMapping(value = "/openDoor", method = RequestMethod.POST)
+ ResultVo openDoor(@RequestBody JSONObject reqJson);
+
+ /**
+ * <p>閲嶅惎璁惧</p>
+ *
+ * @param reqJson 璇锋眰淇℃伅
+ * @return TaskDto 瀵硅薄鏁版嵁
+ */
+ @RequestMapping(value = "/restartMachine", method = RequestMethod.POST)
+ ResultVo restartMachine(@RequestBody JSONObject reqJson);
+
+ /**
+ * <p>閲嶅惎璁惧</p>
+ *
+ * @param reqJson 璇锋眰淇℃伅
+ * @return TaskDto 瀵硅薄鏁版嵁
+ */
+ @RequestMapping(value = "/resendIot", method = RequestMethod.POST)
+ ResultVo resendIot(@RequestBody JSONObject reqJson);
+
+ /**
+ * <p>鏌ヨ寰呮敮浠樿鍗�</p>
+ *
+ * @param tempCarPayOrderDto 璇锋眰淇℃伅
+ * @return TaskDto 瀵硅薄鏁版嵁
+ */
+ @RequestMapping(value = "/getTempCarFeeOrder", method = RequestMethod.POST)
+ ResultVo getTempCarFeeOrder(@RequestBody TempCarPayOrderDto tempCarPayOrderDto);
+
+ @RequestMapping(value = "/notifyTempCarFeeOrder", method = RequestMethod.POST)
+ ResultVo notifyTempCarFeeOrder(@RequestBody TempCarPayOrderDto tempCarPayOrderDto);
+
+
+ /**
+ * 鑷畾涔塪atabus 鏁版嵁 浼犺緭
+ * @param customBusinessDatabusDto
+ * @return
+ */
+ @RequestMapping(value = "/customExchange", method = RequestMethod.POST)
+ void customExchange(@RequestBody CustomBusinessDatabusDto customBusinessDatabusDto);
+
+ @RequestMapping(value = "/getQRcode", method = RequestMethod.POST)
+ ResultVo getQRcode(@RequestBody JSONObject reqJson);
+
+ @RequestMapping(value = "/customCarInOut", method = RequestMethod.POST)
+ ResultVo customCarInOut(@RequestBody JSONObject reqJson);
+
+ @RequestMapping(value = "/payVideo", method = RequestMethod.POST)
+ ResultVo payVideo(@RequestBody MachineDto machineDto);
+
+ @RequestMapping(value = "/heartbeatVideo", method = RequestMethod.POST)
+ ResultVo heartbeatVideo(@RequestBody JSONObject reqJson);
}
--
Gitblit v1.8.0