|
@@ -1,6 +1,11 @@
|
|
|
package com.fdkankan.manage.controller;
|
|
|
|
|
|
|
|
|
+import com.fdkankan.manage.common.ResultData;
|
|
|
+import com.fdkankan.manage.service.ICameraTypeService;
|
|
|
+import com.fdkankan.manage.service.ICameraWifiPrefixService;
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.web.bind.annotation.GetMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
@@ -14,8 +19,16 @@ import org.springframework.web.bind.annotation.RestController;
|
|
|
* @since 2023-04-11
|
|
|
*/
|
|
|
@RestController
|
|
|
-@RequestMapping("/manage/cameraType")
|
|
|
+@RequestMapping("/service/manage/cameraType")
|
|
|
public class CameraTypeController {
|
|
|
|
|
|
+ @Autowired
|
|
|
+ ICameraTypeService cameraTypeService;
|
|
|
+
|
|
|
+ @GetMapping("/allList")
|
|
|
+ public ResultData allList(){
|
|
|
+
|
|
|
+ return ResultData.ok(cameraTypeService.list());
|
|
|
+ }
|
|
|
}
|
|
|
|