| | |
| | | import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; |
| | | import lombok.AllArgsConstructor; |
| | | import javax.validation.Valid; |
| | | |
| | | import org.springblade.core.secure.BladeUser; |
| | | import org.springblade.core.mp.support.Condition; |
| | | import org.springblade.core.mp.support.Query; |
| | | import org.springblade.core.tool.api.R; |
| | |
| | | import org.springblade.modules.category.vo.CategoryVO; |
| | | import org.springblade.modules.category.wrapper.CategoryWrapper; |
| | | import org.springblade.modules.category.service.ICategoryService; |
| | | import org.springblade.core.boot.ctrl.BladeController; |
| | | |
| | | /** |
| | | * 天地图poi 分类表 控制器 |
| | |
| | | return R.status(categoryService.removeByIds(Func.toLongList(ids))); |
| | | } |
| | | |
| | | /** |
| | | * 天地图poi 分类获取 |
| | | */ |
| | | @GetMapping("/getCategory") |
| | | public R getCategory(CategoryVO category) { |
| | | return R.data(categoryService.getCategory(category)); |
| | | } |
| | | |
| | | |
| | | } |