Commit cf46a0e8 by 冷斌

fix bug

parent aa27d5b9
......@@ -263,7 +263,6 @@
success: function (data) {
if (data.ret == 200) {
let d = data.data;
// _this.certification = d.certification;
if (d.identity != 1) {
window.location.href = _this.url('/index.php?g=Appapi&m=Profit&a=index');
return;
......
......@@ -107,7 +107,7 @@
if (data.ret == 200) {
let d = data.data;
// _this.certification = d.certification;
if (d.identity != 1 || d.certification != 1) {
if (d.identity != 1 || d.certification != 1 || d.family_type != 1) {
window.location.href = _this.url('/index.php?g=Appapi&m=Profit&a=index');
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment