唐伟军

update

......@@ -17,68 +17,68 @@
| 接口名 | 方法名 | 返回结果 |
|-----------------------------|---------------------------|----------------------------------------|
| Facebook好友界面 | hasFaceBookFriendsView | true 执行第三步的相应接口,false 不显示入口 |
|-----------------------------|---------------------------|----------------------------------------|
| | | |
| 分享到Facebook | hasShareFacebook | true 执行第三步的相应接口,false 不显示入口 |
|-----------------------------|---------------------------|----------------------------------------|
| | | |
| 删除账号 | hasDeleteMember | true 执行第三步的相应接口,false 不显示入口 |
|-----------------------------|---------------------------|----------------------------------------|
| | | |
| 显示公告 | hasShowNotice | true 执行第三步的相应接口,false 不显示入口 |
|-----------------------------|---------------------------|----------------------------------------|
| | | |
| 显示cafe窗口 | hasNaverCafePlug | true 执行第三步的相应接口,false 不显示入口 |
|-----------------------------|---------------------------|----------------------------------------|
| | | |
| 谷歌评论 | hasGoogleComment | true 执行第三步的相应接口,false 不显示入口 |
|-----------------------------|---------------------------|----------------------------------------|
| | | |
| 绑定账号 | hasLinkedAccountView | true 执行第二步的相应接口,false 不显示入口 |
|-----------------------------|---------------------------|----------------------------------------|
| | | |
| 设置推送 | hasPushView | true 执行第二步的相应接口,false 不显示入口 |
|-----------------------------|----------------------------|----------------------------------------|
|-----------------------------|----------------------------|---------------------------------------|
#### 第二步获取状态(不用获取状态的功能请跳过此步骤执行第三步)
| 接口名 | 方法名 | 参数 | 返回结果 |
|------------------------|---------------------------|------------------------------------|---------------------------|
| 接口名 | 方法名 | 参数 | 返回结果 |
|--------------|-------------------------|------------------------------------|---------------------------|
| 绑定账号 | getLinkedAccountStatus | Map集合,key表示绑定平台,比如谷歌就传 | "true" 表示绑定了该平台 |
| | | google,facebook就传facebook,不确定 | "false" 表示未绑定该平台 |
| | | 平台传other;value传""就好 | |
|------------------------|---------------------------|------------------------------------|---------------------------|
| 设置推送 | getPushStatus | Map集合,key表示推送类型,比如全体推送 | "true" 表示设置了该推送 |
| | | 就传enable,夜间推送就传night,广告推送 | "false" 表示未设置该推送 |
| | | 就传ad;value传""就好 | |
|------------------------|---------------------------|-------------------------------------|--------------------------|
| | | google,facebook就传facebook,不确定 | "false" 表示未绑定该平台 |
| | | 平台传other;value传""就好 | |
|--------------|-------------------------|------------------------------------|---------------------------|
| 设置推送 | getPushStatus | Map集合,key表示推送类型,比如全体推送 | "true" 表示设置了该推送 |
| | | 就传enable,夜间推送就传night,广告推送 | "false" 表示未设置该推送 |
| | | 就传ad;value传""就好 | |
|--------------|--------------------------|-------------------------------------|--------------------------|
#### 第三步设置功能
| 接口名 | 方法名 | 参数 | 返回状态码 |
|-----------------------------|---------------------------|--------------------------------------|-----------------------|
|-----------------------|---------------------------|--------------------------------------|-----------------------|
| Facebook好友界面 | showFaceBookFriendsView | null | 无 |
|-----------------------------|---------------------------|--------------------------------------|-----------------------|
| 分享到Facebook | showShareFacebookView | null | 成功 1104 失败 1204 |
|-----------------------------|---------------------------|--------------------------------------|-----------------------|
| 删除账号 | deleteMember | null | 成功 1107 失败 1207 |
|-----------------------------|---------------------------|--------------------------------------|-----------------------|
| 显示公告 | showNotice | null | 无 |
|-----------------------------|---------------------------|--------------------------------------|-----------------------|
| 显示cafe窗口 | showNaverCafePlug | null | 无 |
|-----------------------------|---------------------------|--------------------------------------|-----------------------|
| 谷歌评论 | showGoogleComment | null | 成功 1106 失败 1206 |
|-----------------------------|---------------------------|--------------------------------------|------------------------|
| 绑定账号(绑定) | createLinkingAccount | Map集合,key表示绑定平台,比如谷歌就传 | 成功 1100 失败 1200 |
| | | google,facebook就传facebook,不确定 | |
| | | 平台传other;value传""就好 | |
|----------------------------|---------------------------|---------------------------------------|------------------------|
| 绑定账号(解绑) | deleteLinkingAccount | Map集合,key表示绑定平台,比如谷歌就传 | 成功 1101 失败 1201 |
| | | google,facebook就传facebook,不确定 | |
| | | 平台传other;value传""就好 | |
|----------------------------|---------------------------|---------------------------------------|------------------------|
| 设置推送(允许) | setPushEnable | Map集合,key表示推送类型,比如全体推送 | 成功 1103 失败 1203 |
| | | 就传enable,夜间推送就传night,广告推送 | |
| | | 就传ad;value传""就好 | |
|----------------------------|---------------------------|---------------------------------------|------------------------|
| 设置推送(不允许) | setPushDisable | Map集合,key表示推送类型,比如全体推送 | 成功 1105 失败 1205 |
| | | 就传enable,夜间推送就传night,广告推送 | |
| | | 就传ad;value传""就好 | |
|---------------------------|----------------------------|---------------------------------------|------------------------|
|------------------------|----------------------------|---------------------------------------|------------------------|
### 接入事例
#### 无需进行第二步以 显示公告 为例
......