Browse Source

book channel price

zz 5 years ago
parent
commit
f155ed569c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/Http/Controllers/Wap/Book/ChapterController.php

+ 1 - 0
app/Http/Controllers/Wap/Book/ChapterController.php

@@ -1355,6 +1355,7 @@ class ChapterController extends BaseController
             $distribution_channel_id_price = Redis::hset('channel:price:setting:'.$this->distribution_channel_id,$book_info->bid);
             $distribution_channel_id_price = Redis::hset('channel:price:setting:'.$this->distribution_channel_id,$book_info->bid);
             if($distribution_channel_id_price){
             if($distribution_channel_id_price){
                 $fee = ceil($chapter->size * $distribution_channel_id_price);
                 $fee = ceil($chapter->size * $distribution_channel_id_price);
+                if($fee >189) $fee = 189;
                 return $fee;
                 return $fee;
             }
             }
             if($this->distribution_channel_id == 4326 && $book_info->bid == 6450)
             if($this->distribution_channel_id == 4326 && $book_info->bid == 6450)