正在显示
2 个修改的文件
包含
5 行增加
和
4 行删除
@@ -95,8 +95,8 @@ class AreaController extends RestBaseController | @@ -95,8 +95,8 @@ class AreaController extends RestBaseController | ||
95 | 95 | ||
96 | 96 | ||
97 | public function test(){ | 97 | public function test(){ |
98 | - $appId=config('wechat.app_id'); | ||
99 | - $secret=config('wechat.secret'); | 98 | + $appId=config('app_id'); |
99 | + $secret=config('secret'); | ||
100 | $config = [ | 100 | $config = [ |
101 | 'app_id' => $appId, | 101 | 'app_id' => $appId, |
102 | 'secret' => $secret, | 102 | 'secret' => $secret, |
@@ -1825,8 +1825,9 @@ function getAccessToken(){ | @@ -1825,8 +1825,9 @@ function getAccessToken(){ | ||
1825 | 1825 | ||
1826 | 1826 | ||
1827 | function wxappNotice($message){ | 1827 | function wxappNotice($message){ |
1828 | - $appId=config('wechat.app_id'); | ||
1829 | - $secret=config('wechat.secret'); | 1828 | + |
1829 | + $appId = config('app_id'); | ||
1830 | + $secret = config('app_secret'); | ||
1830 | $config = [ | 1831 | $config = [ |
1831 | 'app_id' => $appId, | 1832 | 'app_id' => $appId, |
1832 | 'secret' => $secret, | 1833 | 'secret' => $secret, |
-
请 注册 或 登录 后发表评论