mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-12 21:02:08 +08:00
1、新增网关支持固定接口不传token调用,新增ignoreToken配置;2、新增小程序专用单板查询、单板查询订单信息接口;
This commit is contained in:
+7
@@ -26,6 +26,9 @@ public interface OAuth2TokenApi {
|
||||
@SuppressWarnings("HttpUrlsUsage")
|
||||
String URL_CHECK = "http://" + ApiConstants.NAME + PREFIX + "/check";
|
||||
|
||||
@SuppressWarnings("HttpUrlsUsage")
|
||||
String IGNORE_TOKEN_SOURCE_GET = "http://" + ApiConstants.NAME + PREFIX + "/ignore/token/source";
|
||||
|
||||
String URL_ORGAN = "http://" + ApiConstants.NAME + PREFIX + "/getOrganIdByToken";
|
||||
|
||||
@PostMapping(PREFIX + "/create")
|
||||
@@ -57,4 +60,8 @@ public interface OAuth2TokenApi {
|
||||
@Parameter(name = "accessToken", description = "访问令牌", required = true, example = "tudou")
|
||||
CommonResult<Long> getOrganIdByToken(@RequestParam("accessToken") String accessToken);
|
||||
|
||||
@GetMapping(PREFIX + "/ignore/token/source")
|
||||
@Operation(summary = "请求忽略令牌数据源")
|
||||
CommonResult<String> getIgnoreTokenSource();
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user