|
@@ -0,0 +1,22 @@
|
|
|
+package com.sxtvs.open.api.youmei.controller;
|
|
|
+
|
|
|
+import com.sxtvs.open.api.youmei.service.YoumeiAccountServiceImpl;
|
|
|
+import com.sxtvs.open.core.auth.LoginRequired;
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.stereotype.Controller;
|
|
|
+import org.springframework.web.bind.annotation.GetMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+
|
|
|
+@Controller
|
|
|
+@RequestMapping("api")
|
|
|
+public class YqtController {
|
|
|
+
|
|
|
+ @Autowired
|
|
|
+ private YoumeiAccountServiceImpl youmeiAccountService;
|
|
|
+
|
|
|
+ @GetMapping("yqt")
|
|
|
+ @LoginRequired
|
|
|
+ public String yqt() {
|
|
|
+ return youmeiAccountService.yqt();
|
|
|
+ }
|
|
|
+}
|