From 4d1d56a36b9b46499ff74fb3749a3e1ff432627b Mon Sep 17 00:00:00 2001 From: gaoxq <376340421@qq.com> Date: Fri, 27 Feb 2026 11:17:33 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E5=BD=95token=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../biz/controller/ErpAccountController.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/main/java/com/mini/mybigscreen/biz/controller/ErpAccountController.java b/src/main/java/com/mini/mybigscreen/biz/controller/ErpAccountController.java index 9b5f824..5740d08 100644 --- a/src/main/java/com/mini/mybigscreen/biz/controller/ErpAccountController.java +++ b/src/main/java/com/mini/mybigscreen/biz/controller/ErpAccountController.java @@ -1,8 +1,15 @@ package com.mini.mybigscreen.biz.controller; +import com.mini.mybigscreen.Model.Result; +import com.mini.mybigscreen.biz.domain.ErpAccount; +import com.mini.mybigscreen.biz.service.ErpAccountService; +import jakarta.annotation.Resource; +import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; +import java.util.List; + /** *

* 账户信息 前端控制器 @@ -15,4 +22,11 @@ import org.springframework.web.bind.annotation.RestController; @RequestMapping("/biz/erpAccount") public class ErpAccountController { + @Resource + private ErpAccountService accountService; + + @GetMapping("list") + public Result> getList() { + return Result.success(accountService.list()); + } }