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
f9d78a28
Commit
f9d78a28
authored
Jan 17, 2019
by
测试账号
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加城市限制
parent
f581d79e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
sdk.js
assets/llewan-weixin-sdk/sdk.js
+3
-3
No files found.
assets/llewan-weixin-sdk/sdk.js
View file @
f9d78a28
...
...
@@ -883,7 +883,7 @@ var sdk = {
tpye
=
obj
.
type
;
}
if
(
self
.
getConfig4
().
ip
Limit
==
1
)
if
(
self
.
getConfig4
().
city
Limit
==
1
)
{
//如果在限制的ip或者城市则调用起100分类类型素材
tpye
=
100
;
...
...
@@ -947,7 +947,7 @@ var sdk = {
* @apiParam {String} [query] 必须是 key1=val1&key2=val2 的格式。
* @apiParam {callback} [success] 成功回调
* @apiParam {callback} [fail] 失败回调
* @apiParam {callback} [cancel] 点击取消分享按钮回调
注意:在该方法开始必须添加如下代码:sdk.shareCancelCallback=true;
* @apiParam {callback} [cancel] 点击取消分享按钮回调
*
* @apiSuccessExample {json} 示例:
* sdk.shareAppMessage({type: 1,query: "",success:xxx,cancel:xxx,fail:xxx });
...
...
@@ -960,7 +960,7 @@ var sdk = {
if
(
obj
.
type
){
tpye
=
obj
.
type
;
}
if
(
self
.
getConfig4
().
ip
Limit
==
1
)
if
(
self
.
getConfig4
().
city
Limit
==
1
)
{
//如果在限制的ip或者城市则调用起100分类类型素材
tpye
=
100
;
...
...
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