Skip to content

Commit

Permalink
去除无效的控制器,规范站点基础设置控制器的规范
Browse files Browse the repository at this point in the history
  • Loading branch information
chopper711 committed Sep 22, 2022
1 parent 74cc5af commit 27888f5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 42 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,25 @@
import org.springframework.web.bind.annotation.*;

/**
* 滑块验证码接口
* 站点基础配置获取
*
* @author Chopper
* @since 2020/11/26 15:41
* @author liushuai(liushuai711 @ gmail.com)
* @version v4.0
* @Description:
* @since 2022/9/22 17:49
*/
@Slf4j
@RestController
@RequestMapping("/common/common/site")
@Api(tags = "系统基础接口")
@Api(tags = "站点基础接口")
public class SiteController {

@Autowired
private SettingService settingService;

@ApiOperation(value = "获取系统基础信息")
@ApiOperation(value = "获取站点基础信息")
@GetMapping
public ResultMessage<Object> getFileList() {
public ResultMessage<Object> baseSetting() {
return ResultUtil.data(settingService.get(SettingEnum.BASE_SETTING.name()));
}
}

0 comments on commit 27888f5

Please sign in to comment.