作者 王智

xiugao

@@ -1043,7 +1043,7 @@ class User extends Api @@ -1043,7 +1043,7 @@ class User extends Api
1043 if ($params['status'] == 3) { 1043 if ($params['status'] == 3) {
1044 //已下单 1044 //已下单
1045 foreach ($SonUserArray as $k => $v) { 1045 foreach ($SonUserArray as $k => $v) {
1046 - $UpOrder = Db::name('order')->where('user_id', $v['user_id'])->where('status', 'IN', '1,2')->find(); 1046 + $UpOrder = Db::name('order')->where('user_id', $v['user_id'])->where('status', 'NEQ', 0)->find();
1047 if (!empty($UpOrder)) { 1047 if (!empty($UpOrder)) {
1048 $UserArray[] = $v['user_id']; 1048 $UserArray[] = $v['user_id'];
1049 } 1049 }