刘光辉
14 小时以前 34981c30a78e8bbd7791131059a9210f9928b62c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
package jnpf.permission.controller;
 
import io.swagger.v3.oas.annotations.tags.Tag;
import jnpf.permission.CodeNumApi;
import jnpf.permission.service.CodeNumService;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
 
/**
 * 系统编码获取
 *
 * @author JNPF开发平台组
 * @version v6.0.0
 * @copyright 引迈信息技术有限公司
 * @date 2025/6/25 14:39:10
 */
@Tag(name = "系统编码获取", description = "CodeNum")
@RestController
@RequiredArgsConstructor
@RequestMapping("/CodeNum")
public class CodeNumController implements CodeNumApi {
 
    private final CodeNumService codeNumService;
 
    @Override
    @GetMapping("/getCodeOnce")
    public String getCodeOnce(@RequestParam("type") String type) {
        return codeNumService.getCodeOnce(type);
    }
}