|
|
import axios from 'axios';
|
|
|
import md5 from 'md5';
|
|
|
|
|
|
|
|
|
export default class reportApp {
|
|
|
constructor(params = {}) {
|
|
|
this.isProd = !params.unProd;
|
...
|
...
|
@@ -63,7 +64,7 @@ export default class reportApp { |
|
|
device: this.device,
|
|
|
events: [
|
|
|
Object.assign({
|
|
|
uid: md5(uid),
|
|
|
uid: md5(`${uid}`),
|
|
|
ts: new Date().getTime() + '000000',
|
|
|
pt: pt,
|
|
|
pn: pn,
|
...
|
...
|
|