|
@@ -10,8 +10,10 @@ import com.fdkankan.agent.service.IAgentNewCameraService;
|
|
|
import com.fdkankan.agent.service.IAgentNewService;
|
|
|
import com.fdkankan.agent.service.ICameraService;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
+import org.apache.ibatis.annotations.Param;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
+import org.springframework.web.multipart.MultipartFile;
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
@@ -50,5 +52,17 @@ public class CameraController extends BaseController {
|
|
|
agentNewCameraService.giveCamera(param,getAgent().getId());
|
|
|
return ResultData.ok();
|
|
|
}
|
|
|
+
|
|
|
+ @PostMapping("/giveCameraBatch")
|
|
|
+ public ResultData giveCameraBatch(
|
|
|
+ @RequestParam(required = false) Integer subAgentId,
|
|
|
+ @RequestParam(required = false) MultipartFile file){
|
|
|
+ return ResultData.ok();
|
|
|
+ }
|
|
|
+
|
|
|
+ @PostMapping("/downTemplate")
|
|
|
+ public ResultData downTemplate(@RequestBody CameraParam param){
|
|
|
+ return ResultData.ok();
|
|
|
+ }
|
|
|
}
|
|
|
|