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:
+28
@@ -0,0 +1,28 @@
|
||||
package com.cf.imes.module.system.api.auth;
|
||||
|
||||
import com.cf.imes.framework.common.pojo.CommonResult;
|
||||
import com.cf.imes.module.system.service.auth.AdminAuthService;
|
||||
import jakarta.annotation.Resource;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import static com.cf.imes.framework.common.pojo.CommonResult.success;
|
||||
|
||||
/**
|
||||
* 系统认证 RPC API 实现。
|
||||
*/
|
||||
@RestController
|
||||
@Validated
|
||||
public class AuthApiImpl implements AuthApi {
|
||||
|
||||
@Resource
|
||||
private AdminAuthService authService;
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public CommonResult<String> getMesJwtToken() {
|
||||
return success(authService.getMesJwtToken());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user