ny
23 小时以前 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
package jnpf.permission;
 
import jnpf.permission.fallback.CodeNumApiFallback;
import jnpf.utils.FeignName;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
 
/**
 * 编码api
 *
 * @author JNPF开发平台组
 * @version v6.0.0
 * @copyright 引迈信息技术有限公司
 * @date 2025/6/24 18:24:44
 */
@FeignClient(name = FeignName.PERMISSION_SERVER_NAME, fallback = CodeNumApiFallback.class, path = "/CodeNum")
public interface CodeNumApi {
 
    /**
     * 获取编码一次
     *
     * @param type
     * @return
     */
    @GetMapping("/getCodeOnce")
    String getCodeOnce(@RequestParam("type") String type);
}