作者 王智

xiugao

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