From e90c39b4e38e8a127197d9aa0dbd267f167cbe7b Mon Sep 17 00:00:00 2001 From: 王智 <wz@bronet.cn> Date: Mon, 9 Nov 2020 14:01:15 +0800 Subject: [PATCH] 修改 --- application/api/controller/Index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/api/controller/Index.php b/application/api/controller/Index.php index 299dc40..5ca179b 100644 --- a/application/api/controller/Index.php +++ b/application/api/controller/Index.php @@ -660,7 +660,7 @@ class Index extends Api ->join('seller s', 'r.user_id=s.user_id') ->join('agreement a', 'a.seller_id=s.id') ->where('a.user_id', $UserId) - ->where('status',1) + ->where('a.status',1) ->find(); if (empty($IsAgreement)) { $this->error('请先签订协议', '', '99998'); -- libgit2 0.24.0