作者 王智

文档修改

... ... @@ -1070,7 +1070,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', 'NEQ', 4)->where('status', 'NEQ', 5)->where('status', 'NEQ', 6)->where('status', 'NEQ', 0)->find();
$UpOrder = Db::name('order')->where('user_id', $v['user_id'])->where('status', 'NEQ', 3)->where('status', 'NEQ', 4)->where('status', 'NEQ', 5)->where('status', 'NEQ', 6)->where('status', 'NEQ', 0)->find();
if (!empty($UpOrder)) {
$UserArray[] = $v['user_id'];
}
... ...