
io.github.wslxm.springbootplus2.client.sys.controller.USysConfigController Maven / Gradle / Ivy
package io.github.wslxm.springbootplus2.client.sys.controller;
import io.github.wslxm.springbootplus2.core.base.controller.BaseController;
import io.github.wslxm.springbootplus2.core.constant.BaseConstant;
import io.github.wslxm.springbootplus2.core.result.Result;
import io.github.wslxm.springbootplus2.manage.sys.model.vo.SysConfigVO;
import io.github.wslxm.springbootplus2.manage.sys.service.SysConfigService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import java.util.Map;
/**
* 系统全局数据信息配置表
*
* ::本代码由[兮家小二]提供的代码生成器生成,如有问题,请手动修改 ::作者CSDN:https://blog.csdn.net/qq_41463655
*
* @author wangsong
* @email [email protected]
* @date 2020-08-31 18:31:44
*/
@RestController
@RequestMapping(BaseConstant.Uri.API_CLIENT + "/sys/config")
@Api(value = "UconfigController", tags = "yh--base-plus--全局配置")
public class USysConfigController extends BaseController {
@GetMapping(value = "/findByCode")
@ApiOperation(value = "code 查询", notes = "")
@ApiImplicitParam(name = "code", value = "配置 code", required = true, example = "")
public Result findByCode(@RequestParam Boolean code) {
return Result.successFind(baseService.findByCode(""));
}
@GetMapping(value = "/findByCodes")
@ApiOperation(value = "codes 查询")
@ApiImplicitParam(name = "codes", value = "配置 codes, 多个逗号分隔", required = true, example = "")
public Result
© 2015 - 2025 Weber Informatics LLC | Privacy Policy