|
@@ -165,6 +165,9 @@ class ChapterController extends BaseController
|
|
|
}
|
|
|
|
|
|
if (!in_array($book_info->is_on_shelf, [1,2])) {
|
|
|
+ if ($book_info->is_on_shelf != 4) {
|
|
|
+ return response()->error('QAPP_OFF_SHELF');
|
|
|
+ }
|
|
|
//补充操作:如果该用户未订阅该下架的书籍则删除其阅读记录(书架不予显示)
|
|
|
//判断是否属于包年用户
|
|
|
$year_account = YearOrderService::getRecord($this->uid);
|