拼团获取用户少斜线

This commit is contained in:
曹磊 2024-08-12 22:02:51 +08:00
parent 80824da672
commit 97b5e74708
1 changed files with 2 additions and 1 deletions

View File

@ -165,6 +165,7 @@
this.newTime=e
},
goumai(item,groupNo,detailData){//
console.log(this.user);
let currentTimeStamp = new Date().getTime() / 1000;
let createTimeStamp = new Date(this.user.createTime).getTime() / 1000;
let timeDiff = currentTimeStamp - createTimeStamp;
@ -307,7 +308,7 @@
let data = {
userId: uni.getStorageSync('userId')
}
that.$Request.get('app/user/selectUserInfo', data).then(res => {
that.$Request.get('/app/user/selectUserInfo', data).then(res => {
if (res.code == 0) {
that.user = res.data
}