소스 검색

book channel price

zz 5 년 전
부모
커밋
f155ed569c
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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);
             if($distribution_channel_id_price){
                 $fee = ceil($chapter->size * $distribution_channel_id_price);
+                if($fee >189) $fee = 189;
                 return $fee;
             }
             if($this->distribution_channel_id == 4326 && $book_info->bid == 6450)