fly 5 năm trước cách đây
mục cha
commit
c475517ea5
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      app/Http/Controllers/QuickApp/Book/ChapterController.php

+ 2 - 2
app/Http/Controllers/QuickApp/Book/ChapterController.php

@@ -102,7 +102,7 @@ class ChapterController extends BaseController
             $v->is_show_price = $is_show_price;
             $v->price = '';
             if ($is_show_price) {
-                $v->price = $this->getPrice($book_info, $v);
+                $v->price = $this->getPrice($book_info, $v->size);
             }
 
             if ($v->sequence == $book_info->force_subscribe_chapter_seq) {
@@ -203,7 +203,7 @@ class ChapterController extends BaseController
             $v->is_show_price = $is_show_price;
             $v->price = '';
             if ($is_show_price) {
-                $v->price = $this->getPrice($book_info, $v);
+                $v->price = $this->getPrice($book_info, $v->size);
             }
             if ($v->sequence == $book_info->force_subscribe_chapter_seq) {
                 $v->is_need_subscirb = 1;