lyhzzz 1 年之前
父节点
当前提交
9b56a4641b

+ 0 - 36
src/main/java/com/fdkankan/manage/controller/inner/InnerController.java

@@ -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));
-    }
-
-}
-

+ 15 - 0
src/main/java/com/fdkankan/manage/inner/controller/InnerController.java

@@ -6,6 +6,7 @@ import com.fdkankan.manage.common.ResultData;
 import com.fdkankan.manage.controller.BaseController;
 import com.fdkankan.manage.exception.BusinessException;
 import com.fdkankan.manage.service.ICommonService;
+import com.fdkankan.manage.service.IRtkInfoService;
 import com.fdkankan.manage.service.ISceneProService;
 import com.fdkankan.manage.service.IServiceUpTipService;
 import com.fdkankan.manage.vo.request.SceneParam;
@@ -58,4 +59,18 @@ public class InnerController extends BaseController {
         return ResultData.ok( );
     }
 
+
+    @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));
+    }
 }