Bladeren bron

book channel price

zz 5 jaren geleden
bovenliggende
commit
50e0444edb
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  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){
             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;
                 if($fee >189) $fee = 189;