添加埋点

This commit is contained in:
史旭文
2020-03-17 18:32:35 +08:00
parent 9e12253fe7
commit 654444fac7
3 changed files with 90 additions and 6 deletions

View File

@@ -88,3 +88,21 @@ export function getTokenForUserModel(data = {}) {
}
})
}
// 新增分享记录
export function saveShareRecord(data) {
return request({
url: getUrl('/agent/share/saveRecord', 1),
method: 'post',
data
})
}
// 获取分享记录的key
export function getShareKey(data) {
return request({
url: getUrl('/agent/share/getKey', 1),
method: 'post',
data
})
}