提交 576760b8 编写于 作者: D devil_gong

微信授权参数修复

上级 1474fffb
......@@ -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}}",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册