1、新增网关支持固定接口不传token调用,新增ignoreToken配置;2、新增小程序专用单板查询、单板查询订单信息接口;

This commit is contained in:
gaoqr
2026-04-07 16:52:29 +08:00
parent a644dc95d0
commit 7d9b1b98ba
20 changed files with 444 additions and 3 deletions
@@ -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();
}