|
@@ -44,10 +44,12 @@ export class LoginData {
|
|
|
public passAnti = false;
|
|
public passAnti = false;
|
|
|
|
|
|
|
|
public passPrivacy = false;
|
|
public passPrivacy = false;
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
public userChannel = 1;
|
|
public userChannel = 1;
|
|
|
public isMatched = 1;
|
|
public isMatched = 1;
|
|
|
|
|
|
|
|
|
|
+ public toponStr = '';
|
|
|
|
|
+
|
|
|
/**
|
|
/**
|
|
|
* 初始化本地配置
|
|
* 初始化本地配置
|
|
|
* @returns
|
|
* @returns
|
|
@@ -340,28 +342,29 @@ export class LoginData {
|
|
|
let response = await mk.http.sendData('user/income-strategy', data);
|
|
let response = await mk.http.sendData('user/income-strategy', data);
|
|
|
mk.console.logSingle('getUserChannel=>', response);
|
|
mk.console.logSingle('getUserChannel=>', response);
|
|
|
if (response.errcode != 0) {
|
|
if (response.errcode != 0) {
|
|
|
- if(isDoIdentify)
|
|
|
|
|
- {
|
|
|
|
|
|
|
+ if (isDoIdentify) {
|
|
|
this.passAnti = true;
|
|
this.passAnti = true;
|
|
|
- }
|
|
|
|
|
|
|
+ }
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
this.userChannel = response.data.tfChannel;
|
|
this.userChannel = response.data.tfChannel;
|
|
|
this.isMatched = response.data.isMatched;
|
|
this.isMatched = response.data.isMatched;
|
|
|
|
|
+ this.toponStr = response.data.strategyContent;
|
|
|
|
|
+
|
|
|
|
|
+ //初始化topon
|
|
|
|
|
+ mk.ad.init();
|
|
|
|
|
+
|
|
|
console.log(`userChannel=========${this.userChannel}`);
|
|
console.log(`userChannel=========${this.userChannel}`);
|
|
|
console.log(`isMatched=========${this.isMatched}`);
|
|
console.log(`isMatched=========${this.isMatched}`);
|
|
|
- mk.data.setTAEventUser(0, 'kncdsf_zhubao_juliangwpp', this.userChannel);
|
|
|
|
|
- if(isDoIdentify)
|
|
|
|
|
- {
|
|
|
|
|
- if(this.userChannel <= 5)
|
|
|
|
|
- {
|
|
|
|
|
- if(this.popIdentifySwitch[this.userChannel - 1] == "1")
|
|
|
|
|
- {
|
|
|
|
|
|
|
+ mk.data.setTAEventUserStr(0, 'kncdsf_zhubao_juliangwpp', `${this.userChannel}_${this.isMatched}`);
|
|
|
|
|
+ if (isDoIdentify) {
|
|
|
|
|
+ if (this.userChannel <= 5) {
|
|
|
|
|
+ if (this.popIdentifySwitch[this.userChannel - 1] == "1") {
|
|
|
JsbSystem.ysdkInit();
|
|
JsbSystem.ysdkInit();
|
|
|
JsbSystem.autologin();
|
|
JsbSystem.autologin();
|
|
|
mk.data.sendDataEvent(DataEventId.realName, `实名认证验证人数`);
|
|
mk.data.sendDataEvent(DataEventId.realName, `实名认证验证人数`);
|
|
|
- }else{
|
|
|
|
|
|
|
+ } else {
|
|
|
this.passAnti = true;
|
|
this.passAnti = true;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|