xxxrrrdddd 2 سال پیش
والد
کامیت
87590a18ae
2فایلهای تغییر یافته به همراه5 افزوده شده و 1 حذف شده
  1. 1 1
      application/common.php
  2. 4 0
      application/common/service/SubService.php

+ 1 - 1
application/common.php

@@ -611,6 +611,6 @@ function getChanId(){
 }
 #分站
 function getSub(){
-    $id=input('chanId/d');
+    $id=input('chanId');
     return SubService::instance($id);
 }

+ 4 - 0
application/common/service/SubService.php

@@ -75,4 +75,8 @@ class SubService{
         }
         return $names[$name];
     }
+
+    public function isFastHand(){
+        return $this->chanId=='kuaishou';
+    }
 }