|
|
@@ -46,6 +46,7 @@ export class LoginData {
|
|
|
public passPrivacy = false;
|
|
|
|
|
|
public userChannel = 1;
|
|
|
+ public isMatched = 1;
|
|
|
|
|
|
/**
|
|
|
* 初始化本地配置
|
|
|
@@ -336,7 +337,7 @@ export class LoginData {
|
|
|
|
|
|
public async getUserChannel(isDoIdentify = true) {
|
|
|
let data = {};
|
|
|
- let response = await mk.http.sendData('user/getUserChannel', data);
|
|
|
+ let response = await mk.http.sendData('user/income-strategy', data);
|
|
|
mk.console.logSingle('getUserChannel=>', response);
|
|
|
if (response.errcode != 0) {
|
|
|
if(isDoIdentify)
|
|
|
@@ -346,8 +347,10 @@ export class LoginData {
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
- this.userChannel = response.data.channel;
|
|
|
+ this.userChannel = response.data.tfChannel;
|
|
|
+ this.isMatched = response.data.isMatched;
|
|
|
console.log(`userChannel=========${this.userChannel}`);
|
|
|
+ console.log(`isMatched=========${this.isMatched}`);
|
|
|
mk.data.setTAEventUser(0, 'kncdsf_zhubao_juliangwpp', this.userChannel);
|
|
|
if(isDoIdentify)
|
|
|
{
|