From f4d788087feabb405e7697abc6948226f766fdd2 Mon Sep 17 00:00:00 2001 From: liqianjin <949671634@qq.com> Date: Mon, 3 Apr 2023 09:13:25 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E6=94=B9=E3=80=912023/4/1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- addon/futures/api/controller/Futures.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/addon/futures/api/controller/Futures.php b/addon/futures/api/controller/Futures.php index 1d977e40..88cbde81 100644 --- a/addon/futures/api/controller/Futures.php +++ b/addon/futures/api/controller/Futures.php @@ -132,12 +132,15 @@ class Futures extends BaseApi{ $condition[] = ['a.release_time', '>', time()]; break; case 'stock': + $condition[] = ['a.seller_uid', '=', $this->member_id]; $condition[] = ['a.status', '=', '1']; break; case 'release': + $condition[] = ['a.seller_uid', '=', $this->member_id]; $condition[] = ['a.status', 'in', [2, 6, 7]]; break; case 'sold': + $condition[] = ['a.seller_uid', '=', $this->member_id]; $condition[] = ['a.status', '=', '3']; break; default: