Toggle navigation
Toggle navigation
This project
Loading...
Sign in
public_service
/
public-js-doc
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
xuguohong
2019-12-10 16:10:10 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a787931ed04aa175df9b799a83f4774de670c79b
a787931e
1 parent
9cb92f72
文档更新
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
2 deletions
.DS_Store
README.md
公共js接入文档1.2.md → 公共js接入文档1.3.md
.DS_Store
0 → 100644
View file @
a787931
No preview for this file type
README.md
View file @
a787931
## 公共js资料
#### 1.3版本修改:
-
扩展接口添加了一下类型(具体接入查看文档):
-
msgSecCheck: 108, //违规内容判断接口
-
checkBalance:109, //查询余额
-
showAd:110, //广告类型
-
score: 111,//评分
-
kefu: 112,//客服接口
-
queryProductsInfo: 113,//根据sku(商品ID)查询商品信息
-
userCenter:114,//用户中心
-
eventTrack:115 //事件上报
#### 1.2版本修改:
-
扩展接口添加了一下类型(具体接入查看文档):
-
score:108,//评分
...
...
公共js接入文档1.
2
.md
→
公共js接入文档1.
3
.md
View file @
a787931
...
...
@@ -274,6 +274,7 @@
8.
1.
**扩展接口(商品信息查询(目前用于海外渠道显示商场))**
/**
扩展接口
@param {*} type youaiH5SDK.expansion_type.queryProductsInfo
...
...
@@ -315,14 +316,15 @@
8.
2.
**扩展接口(事件上报类型)**
/**
扩展接口
@param {*} type youaiH5SDK.expansion_type.eventTrack
event_type: {
first_month_card: 1,//首次购买月卡
first_recharge: 2,//首次充值
vip_to_value: 3,//vip达到某
1等级上报
recharge_to_value: 4,//充值到某值时
vip_to_value: 3,//vip达到某
一等级上报(cp与渠道沟通)
recharge_to_value: 4,//充值到某值时
(cp与渠道沟通)
first_join_union: 5//加入工会/联盟
}
@param {*} data 对应传youaiH5SDK.event_type中的类型值
...
...
Please
register
or
login
to post a comment