Commit 6d49679a authored by liuxinjun's avatar liuxinjun

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

parent dca3f5a5
......@@ -363,8 +363,8 @@ var sdk = {
var source_id = options.query.source_id; //.用户来源id
var source_id2 = options.query.source_id2; //.用户来源子id
var share_id = options.query.share_id; //.分享素材ID
wx.getSystemInfo({
success(res){
//wx.getSystemInfo({
// success(res){
wx.login({
success(res2){
......@@ -376,13 +376,13 @@ var sdk = {
source_id2: source_id2,
share_id: share_id,
model: res.model,
platform: res.platform,
wx_version: res.version,
network_type: res.networkType,
scene_value: res.scene,
brand: res.brand,
sdk_version: res.SDKVersion,
// model: res.model,
// platform: res.platform,
// wx_version: res.version,
// network_type: res.networkType,
// scene_value: res.scene,
// brand: res.brand,
// sdk_version: res.SDKVersion,
}
console.log('sdk 注册参数', reqData)
......@@ -399,12 +399,12 @@ var sdk = {
},
fail(){
wx.showToast({title: '登录失败请重试2'});
console.error("systemInfo",res);
//console.error("systemInfo",res);
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