Browse Source

book channel price

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

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

@@ -1352,7 +1352,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::hget('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;