From 18d1f4bc4f4f77c8883702a00896dd99469db648 Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期五, 25 八月 2023 16:06:37 +0800
Subject: [PATCH] Merge branch 'master' of http://git.homecommunity.cn/supervip/MicroCommunity
---
java110-interface/src/main/java/com/java110/intf/common/IMachineAuthInnerServiceSMO.java | 21 ++++++++++++++++++---
1 files changed, 18 insertions(+), 3 deletions(-)
diff --git a/java110-interface/src/main/java/com/java110/intf/common/IMachineAuthInnerServiceSMO.java b/java110-interface/src/main/java/com/java110/intf/common/IMachineAuthInnerServiceSMO.java
index b47d45b..8a7d2d8 100755
--- a/java110-interface/src/main/java/com/java110/intf/common/IMachineAuthInnerServiceSMO.java
+++ b/java110-interface/src/main/java/com/java110/intf/common/IMachineAuthInnerServiceSMO.java
@@ -1,7 +1,8 @@
package com.java110.intf.common;
import com.java110.config.feign.FeignConfiguration;
-import com.java110.dto.machineAuth.MachineAuthDto;
+import com.java110.dto.machine.MachineAuthDto;
+import com.java110.po.machine.MachineAuthPo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
@@ -17,13 +18,12 @@
* @Version 1.0
* add by wuxw 2019/4/24
**/
-@FeignClient(name = "${java110.common-service}", configuration = {FeignConfiguration.class})
+@FeignClient(name = "common-service", configuration = {FeignConfiguration.class})
@RequestMapping("/machineAuthApi")
public interface IMachineAuthInnerServiceSMO {
/**
* <p>鏌ヨ灏忓尯妤间俊鎭�</p>
- *
*
* @param machineAuthDto 鏁版嵁瀵硅薄鍒嗕韩
* @return MachineAuthDto 瀵硅薄鏁版嵁
@@ -39,4 +39,19 @@
*/
@RequestMapping(value = "/queryMachineAuthsCount", method = RequestMethod.POST)
int queryMachineAuthsCount(@RequestBody MachineAuthDto machineAuthDto);
+
+ /**
+ * 娣诲姞鍛樺伐闂ㄧ鎺堟潈
+ *
+ * @param machineAuthPo
+ * @return
+ */
+ @RequestMapping(value = "/saveMachineAuth", method = RequestMethod.POST)
+ int saveMachineAuth(@RequestBody MachineAuthPo machineAuthPo);
+
+ @RequestMapping(value = "/updateMachineAuth", method = RequestMethod.POST)
+ int updateMachineAuth(@RequestBody MachineAuthPo machineAuthPo);
+
+ @RequestMapping(value = "/deleteMachineAuth", method = RequestMethod.POST)
+ int deleteMachineAuth(@RequestBody MachineAuthPo machineAuthPo);
}
--
Gitblit v1.8.0