作者 王智

xiugao

@@ -1035,7 +1035,7 @@ class User extends Api @@ -1035,7 +1035,7 @@ class User extends Api
1035 //未下单 1035 //未下单
1036 foreach ($SonUserArray as $k => $v) { 1036 foreach ($SonUserArray as $k => $v) {
1037 $WeiOrder = Db::name('order')->where('user_id', $v['user_id'])->find(); 1037 $WeiOrder = Db::name('order')->where('user_id', $v['user_id'])->find();
1038 - if (!empty($WeiOrder)) { 1038 + if (empty($WeiOrder)) {
1039 $UserArray[] = $v['user_id']; 1039 $UserArray[] = $v['user_id'];
1040 } 1040 }
1041 } 1041 }