正在显示
1 个修改的文件
包含
3 行增加
和
2 行删除
@@ -1825,12 +1825,13 @@ function getAccessToken(){ | @@ -1825,12 +1825,13 @@ function getAccessToken(){ | ||
1825 | 1825 | ||
1826 | 1826 | ||
1827 | function wxappNotice($message){ | 1827 | function wxappNotice($message){ |
1828 | - $appId=config('wechat_config.app_id'); | ||
1829 | - $secret=config('wechat_config.secret'); | 1828 | + $appId=config('wechat.app_id'); |
1829 | + $secret=config('wechat.secret'); | ||
1830 | $config = [ | 1830 | $config = [ |
1831 | 'app_id' => $appId, | 1831 | 'app_id' => $appId, |
1832 | 'secret' => $secret, | 1832 | 'secret' => $secret, |
1833 | ]; | 1833 | ]; |
1834 | + dump($config); | ||
1834 | $wechat=new \EasyWeChat\Foundation\Application($config); | 1835 | $wechat=new \EasyWeChat\Foundation\Application($config); |
1835 | $notice=$wechat->mini_program->notice; | 1836 | $notice=$wechat->mini_program->notice; |
1836 | /* if (empty($message)){ | 1837 | /* if (empty($message)){ |
-
请 注册 或 登录 后发表评论