|
@@ -19,15 +19,15 @@ class WxPublic
|
|
|
public function __construct()
|
|
|
{
|
|
|
$this->app=Factory::officialAccount([
|
|
|
- 'app_id'=>config('site.wxp_appid'),
|
|
|
- 'secret'=>config('site.wxp_appsecret'),
|
|
|
+ 'app_id'=>config('site.user_appid'),
|
|
|
+ 'secret'=>config('site.user_appsecret'),
|
|
|
'log' => [
|
|
|
'level' => 'debug',
|
|
|
'file' => RUNTIME_PATH.'/wxp/wechat.log',
|
|
|
],
|
|
|
'oauth' => [
|
|
|
'scopes' => ['snsapi_userinfo'],
|
|
|
- 'callback' => '/index/user/wxp_handle#/aaa/bbb',
|
|
|
+ 'callback' => '/index/user/wxp_handle',
|
|
|
],
|
|
|
]);
|
|
|
}
|