小说章节定价规则自定义

This commit is contained in:
xiongxiaoyang committed 2020-11-22 17:15:20 +08:00
1 parent cd11854eff
commit 31aa3192fd
11 files changed
+140 -66

No files matched your search

@@ -282,6 +282,7 @@ public class UserController extends BaseController {
if (userDetails == null) {
return ResultBean.fail(ResponseStatus.NO_LOGIN);
}
buyRecord.setBuyAmount(bookService.queryBookIndex(buyRecord.getBookIndexId()).getBookPrice());
userService.buyBookIndex(userDetails.getId(),buyRecord);
return ResultBean.ok();
}