|
@@ -206,11 +206,15 @@
|
|
if(dt.status) {//判断接口返回状态status
|
|
if(dt.status) {//判断接口返回状态status
|
|
if(dt.data.isActivation){
|
|
if(dt.data.isActivation){
|
|
//已激活
|
|
//已激活
|
|
-
|
|
|
|
mui.alert('该产品已被激活!', '提醒', function() {
|
|
mui.alert('该产品已被激活!', '提醒', function() {
|
|
location.href="my-center.html";
|
|
location.href="my-center.html";
|
|
});
|
|
});
|
|
}
|
|
}
|
|
|
|
+ if(dt.data.memberInfo.userStatus != 2){
|
|
|
|
+ //未关注
|
|
|
|
+ mui.alert('请先关注公众号再激活!', '提醒', function() {
|
|
|
|
+ location.href="follow-me-tooth.html";
|
|
|
|
+ });
|
|
//填充用户数据
|
|
//填充用户数据
|
|
$("#ipt-name").val(dt.data.memberInfo.userName);
|
|
$("#ipt-name").val(dt.data.memberInfo.userName);
|
|
if(dt.data.memberInfo.userSex != null){
|
|
if(dt.data.memberInfo.userSex != null){
|
|
@@ -297,13 +301,13 @@
|
|
if(isFocusOn == 1 || isFocusOn == 0){//未关注
|
|
if(isFocusOn == 1 || isFocusOn == 0){//未关注
|
|
location.href="member-follow-me.html";
|
|
location.href="member-follow-me.html";
|
|
}else{//以关注
|
|
}else{//以关注
|
|
- location.href="my-center.html";
|
|
|
|
|
|
+ location.href="welfare-service.html";
|
|
}
|
|
}
|
|
}else{//非会员
|
|
}else{//非会员
|
|
if(isFocusOn == 1 || isFocusOn == 0){//未关注
|
|
if(isFocusOn == 1 || isFocusOn == 0){//未关注
|
|
location.href="follow-me.html";
|
|
location.href="follow-me.html";
|
|
}else{//以关注
|
|
}else{//以关注
|
|
- location.href="my-center.html";
|
|
|
|
|
|
+ location.href="welfare-service.html";
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|