会员价,优惠券,打包费相关更新

This commit is contained in:
GaoHao
2024-11-11 17:22:28 +08:00
parent 7167c2604f
commit 2caee2bd1a
7 changed files with 116 additions and 43 deletions

View File

@@ -110,12 +110,11 @@
console.log(options)
if ( options.shopId ) { this.shopId = options.shopId; }
if ( options.is_type ) { this.is_type = options.is_type; }
if ( options.shareId ) { this.shareId = options.shareId; }
if ( options.invitedId ) { this.invitedId = options.invitedId; }
this.is_type = 'he'
this.invitedId = "113"
this.shareId = "1"
this.shopId = "11"
if ( options.shareId && options.invitedId != uni.cache.get('userInfo').id ) { this.shareId = options.shareId; }
if ( options.invitedId && options.invitedId != uni.cache.get('userInfo').id ) { this.invitedId = options.invitedId; }
if ( options.invitedId == uni.cache.get('userInfo').id ) {
this.is_type == 'me'
}
if ( this.is_type == 'he') {
this.shareHeOpen()
}
@@ -171,8 +170,7 @@
let params = {
shareId : this.shareId,
invitedId : this.invitedId,
// beInvitedId : uni.cache.get('userInfo').id,
beInvitedId : 119,
beInvitedId : uni.cache.get('userInfo').id,
shopId : this.shopId,
}
let res = await this.api.shareHeOpen(params)