|
@@ -6,6 +6,7 @@ import java.util.List;
|
|
|
import java.util.Map;
|
|
|
|
|
|
import com.ozs.common.utils.SecurityUtils;
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.DeleteMapping;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
import org.springframework.web.bind.annotation.PathVariable;
|
|
@@ -34,7 +35,8 @@ import io.swagger.annotations.ApiOperation;
|
|
|
@RequestMapping("/test")
|
|
|
public class TestController extends BaseController {
|
|
|
|
|
|
-
|
|
|
+ @Autowired
|
|
|
+ private com.ozs.web.core.util.CameraUtil cameraUtil;
|
|
|
|
|
|
private final static Map<Integer, UserEntity> users = new LinkedHashMap<Integer, UserEntity>();
|
|
|
|
|
@@ -43,6 +45,11 @@ public class TestController extends BaseController {
|
|
|
users.put(2, new UserEntity(2, "ry", "admin123", "15666666666"));
|
|
|
}
|
|
|
|
|
|
+ @GetMapping("/deleteFlv")
|
|
|
+ public R<String> deleteFlv() {
|
|
|
+ return R.ok(cameraUtil.deleteFlv());
|
|
|
+ }
|
|
|
+
|
|
|
@ApiOperation("获取用户列表")
|
|
|
@GetMapping("/list")
|
|
|
public R<List<UserEntity>> userList() {
|