mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-12 21:02:08 +08:00
1、新增组件订单数据拉取接口;2、新增上传url产生文件数据/根据文件id获取文件地址接口;
This commit is contained in:
+27
@@ -0,0 +1,27 @@
|
||||
package com.cf.imes.module.system.api.auth;
|
||||
|
||||
import com.cf.imes.framework.common.pojo.CommonResult;
|
||||
import com.cf.imes.module.system.enums.ApiConstants;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
|
||||
/**
|
||||
* 系统认证 RPC API。
|
||||
*/
|
||||
@FeignClient(name = ApiConstants.NAME)
|
||||
@Tag(name = "RPC 服务 - 认证")
|
||||
public interface AuthApi {
|
||||
|
||||
String PREFIX = ApiConstants.PREFIX + "/auth";
|
||||
|
||||
/**
|
||||
* 按当前登录用户及组织生成调用组件生产系统所需的 MES JWT。
|
||||
*
|
||||
* @return MES JWT;仅供后端内部调用,不返回给前端
|
||||
*/
|
||||
@GetMapping(PREFIX + "/mes-token")
|
||||
@Operation(summary = "为当前登录用户生成 MES JWT")
|
||||
CommonResult<String> getMesJwtToken();
|
||||
}
|
||||
Reference in New Issue
Block a user