Toggle navigation
Toggle navigation
This project
Loading...
Sign in
public_service
/
public_sdk_android
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
唐伟军
2020-08-28 10:23:07 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0aba22fbc187e9c582ac8a4c84a70ad882b2b4c2
0aba22fb
1 parent
5ee8eca6
update
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
37 deletions
doc/公共SDK扩展接口接入文档.md
doc/公共SDK扩展接口接入文档.md
View file @
0aba22f
...
...
@@ -21,18 +21,18 @@
| 优惠券 | hasCoupon | 无参数 | true 执行第三步的相应接口,false 不显示入口 |
| | | | |
| 分享 | hasShareView | null | Json字符串,空串代表不显示任何入口,否则cp通过解析 |
|
json字符串,然后通过对应的分享平台key,获取
|
相应的值来决定是否显示入口,"true"代表显示,
|
"false"代表不显示,目前支持的分享平台key有
|
facebook分享:"facebook"
|
facebook截屏分享:"facebook_capture"
|
twitter分享:"twitter"
|
twitter截屏分享:"twitter_capture"
|
line截屏分享:"line_capture"
|
instagram截屏分享:"instagram_capture"
|
返回事例:{"facebook":"true",
|
"facebook_capture":"true",
|
"instagram_capture":"false"}
|
| | | json字符串,然后通过对应的分享平台key,获取 |
|
| | | 相应的值来决定是否显示入口,"true"代表显示, |
|
| | | "false"代表不显示,目前支持的分享平台key有 |
|
| | | facebook分享:"facebook" |
|
| | | facebook截屏分享:"facebook_capture" |
|
| | | twitter分享:"twitter" |
|
| | | twitter截屏分享:"twitter_capture" |
|
| | | line截屏分享:"line_capture" |
|
| | | instagram截屏分享:"instagram_capture" |
|
| | | 返回事例:{"facebook":"true", |
|
| | | "facebook_capture":"true", |
|
| | | "instagram_capture":"false"} |
| | | | |
| 删除账号 | hasDeleteMember | 无参数 | true 执行第三步的相应接口,false 不显示入口 |
| | | | |
...
...
@@ -43,26 +43,26 @@
| 谷歌评论 | hasGoogleComment | 无参数 | true 执行第三步的相应接口,false 不显示入口 |
| | | | |
| 绑定账号 | hasLinkedAccountView | null | Json字符串,空串代表不显示任何入口,否则cp通过解析 |
|
json字符串,然后通过对应的绑定平台key,获取
|
相应的值来决定是否显示入口,"true"代表显示,
|
"false"代表不显示,目前支持的绑定平台key有
|
facebook绑定:"facebook"
|
google绑定:"google"
|
不确定绑定平台:"other"
|
返回事例:{"facebook":"true",
|
"google":"true",
|
"other":"false"}
| | | | |
|
| | | json字符串,然后通过对应的绑定平台key,获取 |
|
| | | 相应的值来决定是否显示入口,"true"代表显示, |
|
| | | "false"代表不显示,目前支持的绑定平台key有 |
|
| | | facebook绑定:"facebook" |
|
| | | google绑定:"google" |
|
| | | 不确定绑定平台:"other" |
|
| | | 返回事例:{"facebook":"true", |
|
| | | "google":"true", |
|
| | | "other":"false"} |
| | | |
|
| 设置推送 | hasPushView | null | Json字符串,空串代表不显示任何入口,否则cp通过解析 |
|
json字符串,然后通过对应的推送类型key,获取
|
相应的值来决定是否显示入口,"true"代表显示,
|
"false"代表不显示,目前支持的推送类型key有
|
全体推送:"enable"
|
夜间推送:"night"
|
广告推送:"ad"
|
返回事例:{"enable":"true",
|
"night":"true",
|
"ad":"false"}
|
| | | json字符串,然后通过对应的推送类型key,获取 |
|
| | | 相应的值来决定是否显示入口,"true"代表显示, |
|
| | | "false"代表不显示,目前支持的推送类型key有 |
|
| | | 全体推送:"enable" |
|
| | | 夜间推送:"night" |
|
| | | 广告推送:"ad" |
|
| | | 返回事例:{"enable":"true", |
|
| | | "night":"true", |
|
| | | "ad":"false"} |
#### 第二步获取状态(不用获取状态的功能请跳过此步骤执行第三步)
...
...
@@ -86,12 +86,12 @@
| 优惠券 | coupon | Map集合,key传优惠券码,value为"" | 成功 1102 失败 1202 |
| | | | |
| 分享 | showShareView | Map集合,key表示分享类型,value为"" | 成功 1104 失败 1204 |
|
facebook分享:"facebook"
|
facebook截屏分享:"facebook_capture"
|
twitter分享:"twitter"
|
twitter截屏分享:"twitter_capture"
|
line截屏分享:"line_capture"
|
instagram截屏分享:"instagram_capture"
|
| | facebook分享:"facebook" | |
|
| | facebook截屏分享:"facebook_capture" | |
|
| | twitter分享:"twitter" | |
|
| | twitter截屏分享:"twitter_capture" | |
|
| | line截屏分享:"line_capture" | |
|
| | instagram截屏分享:"instagram_capture" | |
| | | | |
| 删除账号 | deleteMember | null | 成功 1107 失败 1207 |
| | | | |
...
...
Please
register
or
login
to post a comment