会员价,优惠券,打包费相关更新
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user