Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
llewan-weixin-sdk
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
llewan
llewan-weixin-sdk
Commits
6d49679a
Commit
6d49679a
authored
Oct 25, 2018
by
liuxinjun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去掉获取设备信息不授权登陆
parent
dca3f5a5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
sdk.js
assets/llewan-weixin-sdk/sdk.js
+12
-12
No files found.
assets/llewan-weixin-sdk/sdk.js
View file @
6d49679a
...
...
@@ -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
)
},
});
}
});
//
}
//
});
}
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment