token校验返回异常信息,未排单查询大板SQL更改

This commit is contained in:
liuzhaotian
2025-03-21 18:00:53 +08:00
parent 4fe67c9dbd
commit e44b163be6
12 changed files with 42 additions and 272 deletions
@@ -1,14 +1,11 @@
package com.cf.imes.module.system.api.oauth2;
import com.cf.imes.framework.common.exception.ServerException;
import com.cf.imes.framework.common.pojo.CommonResult;
import com.cf.imes.framework.common.util.object.BeanUtils;
import com.cf.imes.framework.organ.core.context.OrganContextHolder;
import com.cf.imes.module.system.api.oauth2.dto.OAuth2AccessTokenCheckRespDTO;
import com.cf.imes.module.system.api.oauth2.dto.OAuth2AccessTokenCreateReqDTO;
import com.cf.imes.module.system.api.oauth2.dto.OAuth2AccessTokenRespDTO;
import com.cf.imes.module.system.dal.dataobject.oauth2.OAuth2AccessTokenDO;
import com.cf.imes.module.system.dal.dataobject.organ.OrganizationDO;
import com.cf.imes.module.system.service.oauth2.OAuth2TokenService;
import com.cf.imes.module.system.service.organ.OrganService;
import io.swagger.v3.oas.annotations.Operation;
@@ -17,8 +14,6 @@ import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
import java.util.Objects;
import static com.cf.imes.framework.common.pojo.CommonResult.success;
@RestController // 提供 RESTful API 接口,给 Feign 调用