林琦海 5 years ago
parent
commit
c758333300

+ 1 - 1
app-ghs/controllers/NoticeController.php

@@ -232,7 +232,7 @@ class NoticeController extends PublicController
         if($token !== 'hhb-shans'){
             util::end();
         }
-        $url = shans::getAuthUrl(1);
+        $url = shans::getAuthUrl(1,20000000000000969);
         $this->redirect($url);
     }
 

+ 1 - 1
common/components/shans/shans.php

@@ -26,7 +26,7 @@ class shans
     }
 
     //获取授权跳转url
-    public static function getAuthUrl($shopId,$shansShopId = 751839)
+    public static function getAuthUrl($shopId,$shansShopId)
     {
         $redirectUri = Yii::$app->params['ghsHost'].'/notice/shans-redirect';
         $url = self::getUrl();

+ 2 - 2
common/config/params.php

@@ -55,8 +55,8 @@ $config = [
     'baiduAipAppSecret' => '7gxpGeWzI2dpBVWbe8ffb11lvbtGfLOC',
 
     //闪送开放者配置
-    'shanAppId'=>'sswoXlqJvk7Be9GN3',
-    'shanAppSecret'=>'mUa1uLQkybm6cGaUa4AW4krn4i5QROpD',
+    'shanAppId'=>'ss9QcKVXwvcMTkHzw',
+    'shanAppSecret'=>'5ivRvyBXLrprGPssYUUvpKXwoZAojwDg',
 
 ];