Skip to content

Commit dce35a9

Browse files
committed
feat: add remoteLog
1 parent 6994e81 commit dce35a9

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

components/util.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,21 @@ function label(text, index, total) {
4242
}
4343

4444
function tracert(type, appId, url) {
45+
my.call('remotelog', {
46+
type: 'monitor',
47+
bizType: 'FORTUNEAPP',
48+
logLevel: 2, // 1 - high, 2 - medium, 3 - low
49+
actionId: 'exposure',
50+
param1: url,
51+
param4: {
52+
chInfo: '',
53+
mdata: {},
54+
type,
55+
appId,
56+
url,
57+
},
58+
spmId: 'a945.b10625.c25441.d47746',
59+
});
4560
}
4661

4762
export default {

0 commit comments

Comments
 (0)