|
@@ -2,6 +2,7 @@ package com.sxtvs.open.api.news.controller;
|
|
|
|
|
|
import com.sxtvs.open.api.news.entity.Area;
|
|
|
import com.sxtvs.open.api.news.service.impl.AreaServiceImpl;
|
|
|
+import com.sxtvs.open.core.auth.LoginRequired;
|
|
|
import jakarta.annotation.Resource;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
@@ -35,6 +36,7 @@ public class AreaController {
|
|
|
}
|
|
|
|
|
|
@RequestMapping("list")
|
|
|
+ @LoginRequired
|
|
|
public List<Area> list(){
|
|
|
return areaService.areaList();
|
|
|
}
|