记得上下班打卡 | git大法好,push需谨慎

Commit bfba8443 authored by GaoHu's avatar GaoHu

接口文档修改

parent 42f35d63
......@@ -61,18 +61,27 @@ public class GoblinGoodsAnticipateController {
@ApiOperation("用户为他人助力")
@PostMapping("help")
@ApiImplicitParams({
@ApiImplicitParam(type = "query", dataType = "String", name = "sid", value = "创建分享生成的sid", example = ""),
})
public ResponseDto<Boolean> help(@RequestParam(name = "sid", required = true) String sid) {
return goblinGoodsAnticipateService.help(sid);
}
@ApiOperation("获取当前助力信息")
@PostMapping("getHelpValue")
@ApiImplicitParams({
@ApiImplicitParam(type = "query", dataType = "String", name = "sid", value = "创建分享生成的sid", example = ""),
})
public ResponseDto<HelpValueVo> getHelpValue(@RequestParam(name = "sid", required = true) String sid) {
return goblinGoodsAnticipateService.getHelpValue(sid);
}
@ApiOperation("是否开启助力(返回助力的sid,返回null则没有开启助力)")
@GetMapping("getTurnOnHelp")
@ApiImplicitParams({
@ApiImplicitParam(type = "query", dataType = "String", name = "skuId", value = "skuId", example = ""),
})
public ResponseDto<String> getTurnOnHelp(@RequestParam(name = "skuId") String skuId){
return goblinGoodsAnticipateService.getTurnOnHelp(skuId);
}
......
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