fly 5 年之前
父節點
當前提交
c475517ea5
共有 1 個文件被更改,包括 2 次插入2 次删除
  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;