Commit b219aa50 by 吴迪

【新增】无需登录接口

parent 1c3bfaaf
...@@ -8,6 +8,7 @@ import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; ...@@ -8,6 +8,7 @@ import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.office.common.utils.PageUtils; import io.office.common.utils.PageUtils;
import io.office.common.utils.R; import io.office.common.utils.R;
import io.office.modules.app.annotation.Login;
import io.office.modules.manage.entity.IndexCarouselManageEntity; import io.office.modules.manage.entity.IndexCarouselManageEntity;
import io.office.modules.manage.entity.NewsEntity; import io.office.modules.manage.entity.NewsEntity;
import io.office.modules.manage.entity.dto.IndexCarouselManageParams; import io.office.modules.manage.entity.dto.IndexCarouselManageParams;
...@@ -117,6 +118,7 @@ public class IndexCarouselManageController extends AbstractController { ...@@ -117,6 +118,7 @@ public class IndexCarouselManageController extends AbstractController {
@Login
@PostMapping("/api/bigImages") @PostMapping("/api/bigImages")
// @RequiresPermissions("generator:indexcarouselmanage:bigImages") // @RequiresPermissions("generator:indexcarouselmanage:bigImages")
public R bigImages() { public R bigImages() {
......
...@@ -122,4 +122,10 @@ public class NewsController extends AbstractController { ...@@ -122,4 +122,10 @@ public class NewsController extends AbstractController {
} }
} }
/**
* 首页要闻
*/
} }
...@@ -8,6 +8,7 @@ import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; ...@@ -8,6 +8,7 @@ import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.office.common.utils.PageUtils; import io.office.common.utils.PageUtils;
import io.office.common.utils.R; import io.office.common.utils.R;
import io.office.modules.app.annotation.Login;
import io.office.modules.manage.entity.IndexCarouselManageEntity; import io.office.modules.manage.entity.IndexCarouselManageEntity;
import io.office.modules.manage.entity.NewsEntity; import io.office.modules.manage.entity.NewsEntity;
import io.office.modules.manage.entity.PictureEntity; import io.office.modules.manage.entity.PictureEntity;
...@@ -117,7 +118,7 @@ public class PictureController extends AbstractController { ...@@ -117,7 +118,7 @@ public class PictureController extends AbstractController {
} }
} }
@Login
@PostMapping("/api/pictureImageList") @PostMapping("/api/pictureImageList")
// @RequiresPermissions("generator:indexcarouselmanage:pictureImageList") // @RequiresPermissions("generator:indexcarouselmanage:pictureImageList")
public R bigImages() { public R bigImages() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment