Selaa lähdekoodia

Merge branch 'develop' of http://git.caihongxingqiu.net/rainbow/config-service into develop

xielin 5 vuotta sitten
vanhempi
commit
84dc7fb1e2
1 muutettua tiedostoa jossa 1 lisäystä ja 6 poistoa
  1. 1 6
      app/Services/WechatService.php

+ 1 - 6
app/Services/WechatService.php

@@ -18,13 +18,8 @@ class WechatService
 
     public function share($request)
     {
-        $type = true;
-        if(env('APP_ENV') == 'production'){
-            $type =false;
-        }
-
         $this->app->jssdk->setUrl($request['url']);
 
-        return $this->app->jssdk->buildConfig(['updateAppMessageShareData', 'updateTimelineShareData'], $type);
+        return $this->app->jssdk->buildConfig(['updateAppMessageShareData', 'updateTimelineShareData'], false);
     }
 }