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); } }