Commit 484159e7 authored by jiaorz's avatar jiaorz

Merge branch 'jrz_dev' into base-modify

parents 9c7be3fe e7d7f692
...@@ -42,10 +42,13 @@ public class ArticleController extends BaseController<ArticleBiz, Article> { ...@@ -42,10 +42,13 @@ public class ArticleController extends BaseController<ArticleBiz, Article> {
* @param id 当前文章id * @param id 当前文章id
* @return * @return
*/ */
@GetMapping("/app/unauth/three/{type}/{id}") @GetMapping("/app/unauth/three")
@ApiOperation(value = "随机获取三条数据") @ApiOperation(value = "随机获取三条数据")
public ObjectRestResponse randomAccessToThreeData(@PathVariable Integer type,@PathVariable Integer id){ public ObjectRestResponse randomAccessToThreeData(@RequestParam("type") Integer type,
return ObjectRestResponse.succ(baseBiz.getThree(type,id)); @RequestParam("number") Integer number,
@RequestParam("id") Integer id
){
return ObjectRestResponse.succ(baseBiz.getThree(type,number,id));
} }
@GetMapping("/app/unauth/homePage/{type}") @GetMapping("/app/unauth/homePage/{type}")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment