Przeglądaj źródła

Merge remote-tracking branch 'origin/master'

sunxbiao 1 rok temu
rodzic
commit
e5e26bb86d

+ 2 - 2
app/controller/api/store/product/StoreProduct.php

@@ -237,8 +237,8 @@ class StoreProduct extends BaseController
237
     {
237
     {
238
 //        $appid = 'wx82986c4471ce7efc';
238
 //        $appid = 'wx82986c4471ce7efc';
239
 //        $secret = '4ae3f790d8c5503a22579338504cdb61';
239
 //        $secret = '4ae3f790d8c5503a22579338504cdb61';
240
-        $appid = 'wxfb755febdb800f23';
241
-        $secret = '55ed00200ef0ec6662ca8502dc534a69';
240
+        $appid = env('WECHAT_MP.APPID');
241
+        $secret = env('WECHAT_MP.SECRET');
242
         $access_token = Cache::get($appid . '_mp_access_token');
242
         $access_token = Cache::get($appid . '_mp_access_token');
243
         if ($access_token)
243
         if ($access_token)
244
             return $access_token;
244
             return $access_token;