33 lines
823 B
Java
33 lines
823 B
Java
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>
|
|
* 账户信息 前端控制器
|
|
* </p>
|
|
*
|
|
* @author gaoxq
|
|
* @since 2026-02-27
|
|
*/
|
|
@RestController
|
|
@RequestMapping("/biz/erpAccount")
|
|
public class ErpAccountController {
|
|
|
|
@Resource
|
|
private ErpAccountService accountService;
|
|
|
|
@GetMapping("list")
|
|
public Result<List<ErpAccount>> getList() {
|
|
return Result.success(accountService.list());
|
|
}
|
|
}
|