|
@@ -1,36 +0,0 @@
|
|
|
-package com.fdkankan.manage.controller.inner;
|
|
|
-
|
|
|
-
|
|
|
-import com.fdkankan.manage.common.ResultCode;
|
|
|
-import com.fdkankan.manage.common.ResultData;
|
|
|
-import com.fdkankan.manage.entity.AgentAudit;
|
|
|
-import com.fdkankan.manage.exception.BusinessException;
|
|
|
-import com.fdkankan.manage.service.IAgentAuditService;
|
|
|
-import com.fdkankan.manage.service.IRtkInfoService;
|
|
|
-import com.fdkankan.manage.vo.request.AgentAuditListParam;
|
|
|
-import org.apache.commons.lang3.StringUtils;
|
|
|
-import org.springframework.beans.factory.annotation.Autowired;
|
|
|
-import org.springframework.web.bind.annotation.*;
|
|
|
-
|
|
|
-/**
|
|
|
- * 经销商申请管理
|
|
|
- * @author
|
|
|
- * @since 2022-09-21
|
|
|
- */
|
|
|
-@RestController
|
|
|
-@RequestMapping("/service/manage/inner")
|
|
|
-public class InnerController {
|
|
|
-
|
|
|
- @Autowired
|
|
|
- IRtkInfoService rtkInfoService;
|
|
|
-
|
|
|
- @GetMapping("/info/{rtkSnCode}")
|
|
|
- public ResultData info(@PathVariable String rtkSnCode){
|
|
|
- if(StringUtils.isBlank(rtkSnCode)){
|
|
|
- throw new BusinessException(ResultCode.MISSING_REQUIRED_PARAMETERS);
|
|
|
- }
|
|
|
- return ResultData.ok(rtkInfoService.getByRtkSnCode(rtkSnCode));
|
|
|
- }
|
|
|
-
|
|
|
-}
|
|
|
-
|