Commit 6d49679a authored by liuxinjun's avatar liuxinjun

去掉获取设备信息不授权登陆

parent dca3f5a5
...@@ -363,8 +363,8 @@ var sdk = { ...@@ -363,8 +363,8 @@ var sdk = {
var source_id = options.query.source_id; //.用户来源id var source_id = options.query.source_id; //.用户来源id
var source_id2 = options.query.source_id2; //.用户来源子id var source_id2 = options.query.source_id2; //.用户来源子id
var share_id = options.query.share_id; //.分享素材ID var share_id = options.query.share_id; //.分享素材ID
wx.getSystemInfo({ //wx.getSystemInfo({
success(res){ // success(res){
wx.login({ wx.login({
success(res2){ success(res2){
...@@ -376,13 +376,13 @@ var sdk = { ...@@ -376,13 +376,13 @@ var sdk = {
source_id2: source_id2, source_id2: source_id2,
share_id: share_id, share_id: share_id,
model: res.model, // model: res.model,
platform: res.platform, // platform: res.platform,
wx_version: res.version, // wx_version: res.version,
network_type: res.networkType, // network_type: res.networkType,
scene_value: res.scene, // scene_value: res.scene,
brand: res.brand, // brand: res.brand,
sdk_version: res.SDKVersion, // sdk_version: res.SDKVersion,
} }
console.log('sdk 注册参数', reqData) console.log('sdk 注册参数', reqData)
...@@ -399,12 +399,12 @@ var sdk = { ...@@ -399,12 +399,12 @@ var sdk = {
}, },
fail(){ fail(){
wx.showToast({title: '登录失败请重试2'}); wx.showToast({title: '登录失败请重试2'});
console.error("systemInfo",res); //console.error("systemInfo",res);
callback(false) callback(false)
}, },
}); });
} //}
}); //});
} }
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment