| | |
| | | userId = ''; |
| | | phoneNumber = ''; |
| | | channlesNum = ''; |
| | | promoterIdNumber = ''; |
| | | |
| | | /**用户所有的渠道 */ |
| | | userChannles = [] as ChannelOutput[]; |
| | |
| | | } |
| | | ); |
| | | this.isBackClientUser = res.isBackClientUser; |
| | | this.promoterIdNumber = res.promoterIdNumber; |
| | | if (res && res.isBackClientUser) { |
| | | this.setUserChannles(res.channlesNum ?? []); |
| | | } |
| | |
| | | this.userChannles = userChannles; |
| | | this.ctx.listener.fireEvent('update', this.ctx); |
| | | } |
| | | |
| | | setUserPromoterIdNumber(promoterIdNumber: string) { |
| | | this.promoterIdNumber = promoterIdNumber; |
| | | this.ctx.listener.fireEvent('update', this.ctx); |
| | | } |
| | | } |