| | |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | | /** |
| | | * @author jqs34 |
| | | * @version 1.0 |
| | |
| | | @RequestMapping("/config") |
| | | public class ConfigController { |
| | | |
| | | @Autowired |
| | | @Resource |
| | | private SysTagService sysTagService; |
| | | |
| | | @InnerAuth |
| | | |
| | | @PostMapping("/getSysTag") |
| | | public R<SysTag> getSysTag(@RequestBody Long sysTagId) |
| | | { |
| | | SysTag sysTag = sysTagService.getById(sysTagId); |
| | | SysTag sysTag = sysTagService.getByTagId(sysTagId); |
| | | return R.ok(sysTag); |
| | | } |
| | | |