Jelajahi Sumber

encode channel id

zz 6 tahun lalu
induk
melakukan
88356cdbf9
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      app/Libs/Helpers.php

+ 2 - 2
app/Libs/Helpers.php

@@ -243,7 +243,7 @@ function ImageNewsToArray($datas){
  * 加密site id
  */
 function encodeDistributionChannelId($id){
-    $encrypt_pool = ['14'=>'xyvz5mexll52mzn4','13'=>'laosiji','4372'=>'qhyeyue','365'=>'vciam5tg71','384'=>'sdxisd', '5795'=>'gyp23fzu7gxe1hc'];
+    $encrypt_pool = ['14'=>'xyvz5mexll52mzn4','13'=>'laosiji','4372'=>'qhyeyue','365'=>'vciam5tg71','384'=>'sdxisd', '5795'=>'gyp23fzu'];
     if(isset($encrypt_pool[$id])){
         return $encrypt_pool[$id];
     }
@@ -264,7 +264,7 @@ function encodeDistributionChannelId($id){
  * 解密密site id
  */
 function decodeDistributionChannelId($code){
-    $encrypt_pool = ['xyvz5mexll52mzn4'=>'14','laosiji'=>'13','qhyeyue'=>'4372','vciam5tg71'=>'365','sdxisd'=>'384', 'gyp23fzu7gxe1hc'=>'5795'];
+    $encrypt_pool = ['xyvz5mexll52mzn4'=>'14','laosiji'=>'13','qhyeyue'=>'4372','vciam5tg71'=>'365','sdxisd'=>'384', 'gyp23fzu'=>'5795'];
     if(isset($encrypt_pool[$code])){
         return $encrypt_pool[$code];
     }