提交 40e626a8 authored 作者: chaoyanjun's avatar chaoyanjun

--no commit message

上级 8b633caf
......@@ -19,6 +19,7 @@ import com.zrqx.sysuser.commons.model.footer.FooterColumn;
import com.zrqx.sysuser.fg.service.footer.FgFooterService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
......@@ -46,4 +47,10 @@ public class FgFooterController {
public CallBack<List<FooterVo>> get(@ApiParam(value = "页脚ID", required = true) @PathVariable Integer oid){
return CallBack.success(footerService.selectById(oid));
}
@ApiOperation(value="根据id查内容")
@GetMapping("/get/{oid}")
public CallBack<Footer> getByid(@ApiParam(value = "页脚ID", required = true) @PathVariable Integer oid){
return CallBack.success(footerService.selectByPrimaryKey(oid));
}
}
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论