新增 微信第三方平台 获取审核状态接口

This commit is contained in:
Lemon
2023-08-01 10:08:32 +08:00
parent 6a8504601f
commit cb3ef2c242
5 changed files with 147 additions and 9 deletions

View File

@@ -6,10 +6,7 @@ import com.jsowell.common.core.controller.BaseController;
import com.jsowell.common.response.RestApiResponse;
import com.jsowell.pile.domain.AuthorizationEventResult;
import com.jsowell.pile.domain.agentDev.CategoryInfo;
import com.jsowell.pile.dto.agentDev.CommitCodeDTO;
import com.jsowell.pile.dto.agentDev.ConcatenateAuthLinkDTO;
import com.jsowell.pile.dto.agentDev.GetComponentTokenDTO;
import com.jsowell.pile.dto.agentDev.SubmitAuditDTO;
import com.jsowell.pile.dto.agentDev.*;
import com.jsowell.pile.vo.agentDev.AuthInfoVO;
import com.jsowell.service.AgentDevService;
import org.springframework.beans.factory.annotation.Autowired;
@@ -215,4 +212,25 @@ public class AgentDevController extends BaseController {
return response;
}
/**
* 获取审核状态
*
* @param dto
* @return
*/
@PostMapping("/getAuditStatus")
public RestApiResponse<?> getAuditStatus(@RequestBody GetAuditStatusDTO dto) {
logger.info("获取审核状态 params:{}", JSONObject.toJSONString(dto));
RestApiResponse<?> response = null;
try {
String result = agentDevService.getAuditStatus(dto);
response = new RestApiResponse<>(result);
} catch (Exception e) {
logger.error("获取审核状态 error, ", e);
response = new RestApiResponse<>(e);
}
logger.info("获取审核状态 result:{}", response);
return response;
}
}