猫妈狗爸伴宠师小程序后端代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

25 lines
974 B

package com.ruoyi.applet.contoller;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.model.service.ICurrentConfigService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@Api(description = "等级配置")
@RestController
@RequestMapping("/applet/currentConfig")
public class AppletCurrentConfigController extends BaseController {
@Autowired
private ICurrentConfigService currentConfigService;
@ApiOperation("查询等级配置列表")
@GetMapping("/getCurrentConfigList")
public TableDataInfo getCurrentConfigList(){
return getDataTable(currentConfigService.getCurrentConfigList());
}
}