|
@@ -128,6 +128,7 @@ export default {
|
|
|
this.client = 7;
|
|
|
}
|
|
|
|
|
|
+ this.visit()
|
|
|
|
|
|
},
|
|
|
head: {
|
|
@@ -138,23 +139,15 @@ export default {
|
|
|
setInterval(() => {
|
|
|
_this.getCoupons()
|
|
|
}, 600000);
|
|
|
- this.makePoint('优惠券')
|
|
|
},
|
|
|
methods: {
|
|
|
- makePoint(positionButton) {
|
|
|
- const now = new Date();
|
|
|
- this.$axios.$post('/public/v5/buriedPointRecord/reportRecords', [
|
|
|
+ visit() {
|
|
|
+ this.$axios.$post('/user/v5/userAccess/user/visit',
|
|
|
{
|
|
|
- client: this.client,
|
|
|
- eventCode: '优惠券',
|
|
|
- userName: this.$auth.user.username,
|
|
|
- positionButton,
|
|
|
- operationTime: now
|
|
|
- .toISOString()
|
|
|
- .replace(/T/g, ' ')
|
|
|
- .replace(/\.[\d]{3}Z/, ''),
|
|
|
+ loginType: this.token ? 1 : 2,
|
|
|
+ accessType: 13
|
|
|
},
|
|
|
- ]);
|
|
|
+ );
|
|
|
},
|
|
|
goOrder()
|
|
|
{
|