| | |
| | | package com.ruoyi.system.controller.conslole; |
| | | |
| | | import com.ruoyi.common.core.domain.R; |
| | | import com.ruoyi.system.api.domain.poji.config.SysClassification; |
| | | import com.ruoyi.system.api.domain.poji.config.SysTag; |
| | | import com.ruoyi.system.api.domain.poji.config.Activeness; |
| | | import com.ruoyi.system.service.config.ActivenessService; |
| | | import com.ruoyi.system.service.config.SysClassificationService; |
| | | import com.ruoyi.system.service.config.SysTagService; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | |
| | | |
| | | @Resource |
| | | private ActivenessService activenessService; |
| | | |
| | | @Resource |
| | | private SysClassificationService sysClassificationService; |
| | | |
| | | /** |
| | | * 获取系统标签 |
| | |
| | | return R.ok(activenessList); |
| | | } |
| | | |
| | | /** |
| | | * 通过id获取分类 |
| | | * @return |
| | | */ |
| | | @PostMapping("/getSysClassification") |
| | | public R<SysClassification> getSysClassification(@RequestBody Long classId) |
| | | { |
| | | SysClassification sysClassification = sysClassificationService.getById(classId); |
| | | return R.ok(sysClassification); |
| | | } |
| | | } |