Commit 9ca0a428 by 冷斌

fix bug

parent de349536
...@@ -81,10 +81,10 @@ class ProfitController extends HomebaseController ...@@ -81,10 +81,10 @@ class ProfitController extends HomebaseController
$auth2=M('users_info_auth')->where("uid={$uid}")->find(); $auth2=M('users_info_auth')->where("uid={$uid}")->find();
if (!empty($auth2)) { if (!empty($auth2)) {
$certification = 3; $certification = 3;
if ($auth['status'] == 0) { if ($auth2['status'] == 0) {
$certification = 2; $certification = 2;
} }
if ($auth['status'] == 1) { if ($auth2['status'] == 1) {
$certification = 1; $certification = 1;
} }
} }
......
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