提交 c45f7d41 authored 作者: renjiancai's avatar renjiancai

--no commit message

上级 15dc0483
......@@ -91,4 +91,10 @@ public class EbookMainBodyController {
ebookMainBodyService.UpdateByExampleSelective(b,example);
return CallBack.success();
}
@ApiOperation("查询suoyou杂志主体")
@GetMapping(ResourceRequestPath.SELECT_ALL)
public CallBack<List<EbookMainBody>> getBookList() {
return CallBack.success(ebookMainBodyService.selectAll());
}
}
......@@ -6,6 +6,8 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.zrqx.core.constant.BaseRequestPath;
import com.zrqx.core.constant.resource.ResourceRequestPath;
......@@ -13,7 +15,6 @@ import com.zrqx.core.exception.BusinessValidateException;
import com.zrqx.core.exception.ParameterValidateException;
import com.zrqx.core.form.resource.bg.ebook.UpdateEbookRelationForm;
import com.zrqx.core.form.resource.bg.pdffilelibrary.SaveUpdatePdfLibraryForm;
import com.zrqx.core.model.resource.resourcerelation.ResourceRelation;
import com.zrqx.core.model.resource.year.YearLibrary;
import com.zrqx.core.util.page.PageInfo;
import com.zrqx.core.util.page.PageParam;
......@@ -21,9 +22,13 @@ import com.zrqx.core.util.response.CallBack;
import com.zrqx.core.vo.resource.year.YearLibraryListVO;
import com.zrqx.resource.bg.service.year.YearLibraryService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import tk.mybatis.mapper.entity.Example;
@RestController
@RequestMapping(ResourceRequestPath.BG + ResourceRequestPath.YEAR)
@Api(description = "年份期数管理")
public class YearController {
@Autowired
private YearLibraryService yearLibraryService;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论