微信授权参数修复
parent
1474fffba7
commit
576760b88b
|
|
@ -138,7 +138,7 @@ class User extends Common
|
|||
$user = UserService::UserInfo('weixin_openid', $params['openid']);
|
||||
if(empty($user))
|
||||
{
|
||||
$result = (new \base\Wechat(MyC('common_app_mini_weixin_appid'), MyC('common_app_mini_weixin_appsecret')))->DecryptData($params['encrypted_data'], $params['iv'], $openid);
|
||||
$result = (new \base\Wechat(MyC('common_app_mini_weixin_appid'), MyC('common_app_mini_weixin_appsecret')))->DecryptData($params['encrypted_data'], $params['iv'], $params['openid']);
|
||||
|
||||
if(is_array($result))
|
||||
{
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ App({
|
|||
|
||||
// 请求地址
|
||||
request_url: "{{request_url}}",
|
||||
//request_url: 'https://test.shopxo.net/',
|
||||
request_url: 'https://test.shopxo.net/',
|
||||
|
||||
// 基础信息
|
||||
application_title: "{{application_title}}",
|
||||
|
|
|
|||
Loading…
Reference in New Issue