登录token优化

This commit is contained in:
2026-02-27 11:17:33 +08:00
parent 7c65c549a0
commit 4d1d56a36b

View File

@@ -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;
/**
* <p>
* 账户信息 前端控制器
@@ -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<List<ErpAccount>> getList() {
return Result.success(accountService.list());
}
}