hefei пре 1 година
родитељ
комит
4678605234
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      app/controller/api/store/product/StoreProduct.php

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

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