|
@@ -276,12 +276,14 @@ class ChapterController extends BaseController
|
|
|
return response()->error('QAPP_SYS_ERROR');
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
- if($book_info->charge_type == 'BOOK'){
|
|
|
- return response()->error('QAPP_BOOK_BUY', $data);
|
|
|
- }else{
|
|
|
- return response()->error('QAPP_CHAPTER_BUY', $data);
|
|
|
+ if(!$this->send_order_id){
|
|
|
+ if($book_info->charge_type == 'BOOK'){
|
|
|
+ return response()->error('QAPP_BOOK_BUY', $data);
|
|
|
+ }else{
|
|
|
+ return response()->error('QAPP_CHAPTER_BUY', $data);
|
|
|
+ }
|
|
|
}
|
|
|
+
|
|
|
//付费 不提醒
|
|
|
if ($this->balancePay($book_info, $cid, $chapter->size, $chapter->name, 0)) {
|
|
|
UserTaskService::addUserTaskQueue($this->uid, BaseTask::read, UserTaskService::judge_trigger);
|