|
@@ -0,0 +1,43 @@
|
|
|
+package com.rongwei.wechat.system.controller.weChat;
|
|
|
+
|
|
|
+import com.rongwei.rwcommon.base.R;
|
|
|
+import com.rongwei.wechat.system.wechat.impl.OwnerServiceImpl;
|
|
|
+import org.checkerframework.checker.units.qual.A;
|
|
|
+import org.slf4j.Logger;
|
|
|
+import org.slf4j.LoggerFactory;
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.web.bind.annotation.PostMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestBody;
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
+
|
|
|
+import java.util.Map;
|
|
|
+
|
|
|
+/**
|
|
|
+ * OwnerController class
|
|
|
+ *
|
|
|
+ * @author XH
|
|
|
+ * @date 2025/07/10
|
|
|
+ */
|
|
|
+@RestController
|
|
|
+@RequestMapping("/owner")
|
|
|
+public class OwnerController {
|
|
|
+
|
|
|
+ private final Logger log = LoggerFactory.getLogger(this.getClass().getName());
|
|
|
+
|
|
|
+ @Autowired
|
|
|
+ private OwnerServiceImpl ownerService;
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 刷新业主信
|
|
|
+ *
|
|
|
+ * @param data
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @PostMapping("/refresh")
|
|
|
+ private R refreshOwner(@RequestBody Map<String, String> refreshPara) {
|
|
|
+ return ownerService.refreshOwner(refreshPara);
|
|
|
+ }
|
|
|
+
|
|
|
+}
|