增加宇视AI盒子对接服务
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 7m18s
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 7m18s
iot模块修改为智能安防模块
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
package org.dromara.property.controller;
|
||||
|
||||
import cn.dev33.satoken.annotation.SaCheckPermission;
|
||||
import com.alibaba.fastjson2.JSONObject;
|
||||
import jakarta.servlet.http.HttpServletResponse;
|
||||
import jakarta.validation.constraints.NotEmpty;
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
@@ -20,8 +19,6 @@ import org.dromara.property.domain.bo.SysCityAreaBo;
|
||||
import org.dromara.property.domain.vo.CityAreaTreeVo;
|
||||
import org.dromara.property.domain.vo.SysCityAreaVo;
|
||||
import org.dromara.property.service.ISysCityAreaService;
|
||||
import org.springframework.boot.ApplicationArguments;
|
||||
import org.springframework.boot.ApplicationRunner;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
@@ -39,7 +36,7 @@ import java.util.List;
|
||||
@RequiredArgsConstructor
|
||||
@RestController
|
||||
@RequestMapping("/cityArea")
|
||||
public class SysCityAreaController extends BaseController implements ApplicationRunner {
|
||||
public class SysCityAreaController extends BaseController {
|
||||
|
||||
private final ISysCityAreaService SysCityAreaService;
|
||||
|
||||
@@ -126,10 +123,4 @@ public class SysCityAreaController extends BaseController implements Application
|
||||
return R.ok(list);
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public void run(ApplicationArguments args) throws Exception {
|
||||
R<List<CityAreaTreeVo>> listR = queryTreeList();
|
||||
System.out.println(JSONObject.toJSONString(listR));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user