From ca3922fa69ff99ac2df889bc62e9a4ab67c5dde0 Mon Sep 17 00:00:00 2001 From: 王智 <wz@bronet.cn> Date: Fri, 12 Mar 2021 18:09:02 +0800 Subject: [PATCH] 文档修改 --- application/api/controller/User.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/application/api/controller/User.php b/application/api/controller/User.php index 5e7b172..bf6a0b4 100644 --- a/application/api/controller/User.php +++ b/application/api/controller/User.php @@ -61,8 +61,8 @@ class User extends Api if (empty($is_open)) { /*新增会员到管易平台*/ $GuanYiCloud = new GuanYiCloud(); - $bool= $GuanYiCloud->getvip($Json['unionId']); - if($bool==0){ + $bool = $GuanYiCloud->getvip($Json['unionId']); + if ($bool == 0) { $GuanYiCloud->addVip($Json['unionId'], $Json['nickName']); } $dataUser = [ @@ -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', 6)->where('status', 'NEQ', 0)->find(); + $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(); if (!empty($UpOrder)) { $UserArray[] = $v['user_id']; } -- libgit2 0.24.0