ny
昨天 b6f169fe43a2b13f351aefc152374fc7f0bc8cb7
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
package jnpf.permission.controller;
 
import io.swagger.v3.oas.annotations.tags.Tag;
import jnpf.permission.CodeNumApi;
import jnpf.permission.service.CodeNumService;
import org.springframework.beans.factory.annotation.Autowired;
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
@RequestMapping("/CodeNum")
public class CodeNumController implements CodeNumApi {
    @Autowired
    private CodeNumService codeNumService;
 
    @Override
    @GetMapping("/getCodeOnce")
    public String getCodeOnce(@RequestParam("type") String type) {
        return codeNumService.getCodeOnce(type);
    }
}