Commit cf46a0e8 by 冷斌

fix bug

parent aa27d5b9
...@@ -263,7 +263,6 @@ ...@@ -263,7 +263,6 @@
success: function (data) { success: function (data) {
if (data.ret == 200) { if (data.ret == 200) {
let d = data.data; let d = data.data;
// _this.certification = d.certification;
if (d.identity != 1) { if (d.identity != 1) {
window.location.href = _this.url('/index.php?g=Appapi&m=Profit&a=index'); window.location.href = _this.url('/index.php?g=Appapi&m=Profit&a=index');
return; return;
......
...@@ -107,7 +107,7 @@ ...@@ -107,7 +107,7 @@
if (data.ret == 200) { if (data.ret == 200) {
let d = data.data; let d = data.data;
// _this.certification = d.certification; // _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'); window.location.href = _this.url('/index.php?g=Appapi&m=Profit&a=index');
return; 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