zilong 4 年之前
父节点
当前提交
349a5b1872
共有 2 个文件被更改,包括 5 次插入6 次删除
  1. 2 3
      app/Helpers/functions.php
  2. 3 3
      config/config.php

+ 2 - 3
app/Helpers/functions.php

@@ -6,7 +6,6 @@
  * Time: 上午10:56
  * Time: 上午10:56
  */
  */
 
 
-use Illuminate\Support\Facades\Log;
 use App\Exceptions\ExitOutException;
 use App\Exceptions\ExitOutException;
 
 
 //统一输出格式话的json数据
 //统一输出格式话的json数据
@@ -43,7 +42,7 @@ if (!function_exists('exit_out')) {
 if (!function_exists('trace')) {
 if (!function_exists('trace')) {
     function trace($log = '', $level = 'info')
     function trace($log = '', $level = 'info')
     {
     {
-        Log::log($level, $log);
+        \Log::log($level, $log);
     }
     }
 }
 }
 
 
@@ -249,7 +248,7 @@ if (!function_exists('aly_sm_request')) {
         try {
         try {
             $content = aly_sms_fetch_content($url, $method, "Signature={$signature}{$sortedQueryStringTmp}");
             $content = aly_sms_fetch_content($url, $method, "Signature={$signature}{$sortedQueryStringTmp}");
             return json_decode($content);
             return json_decode($content);
-        } catch (\Exception $e) {
+        } catch (Exception $e) {
             return false;
             return false;
         }
         }
     }
     }

+ 3 - 3
config/config.php

@@ -12,12 +12,12 @@ return [
     'aes_iv' => 'sfX2ReOCcY22CEUF',
     'aes_iv' => 'sfX2ReOCcY22CEUF',
 
 
     'wechat_small_program' => [
     'wechat_small_program' => [
-        'app_id' => 'wx92066f7587c34617',
-        'secret' => 'bd7849c5259b79c41ec158173c5fb1d6',
+        'app_id' => 'wx6131f74e623bf6bf',
+        'secret' => 'b703596ab6cbcad5b74eb51fec2aeb0b',
     ],
     ],
 
 
     'wechat_pay' => [
     'wechat_pay' => [
-        'app_id' => 'wx92066f7587c34617',
+        'app_id' => 'wx6131f74e623bf6bf',
         'mch_id' => '1398823402',
         'mch_id' => '1398823402',
         'key' => 'c1891122765718911227657189112276',
         'key' => 'c1891122765718911227657189112276',
         'notify_url' => env('API_HOST', '').'/api/v1/payCallback/wechatPayNotify'
         'notify_url' => env('API_HOST', '').'/api/v1/payCallback/wechatPayNotify'