From fb0adfd0e9a004b18c3a2e3b10be708a5bd03bc1 Mon Sep 17 00:00:00 2001 From: ELF <360197197@qq.com> Date: Mon, 13 Jul 2020 14:02:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ThinkPHP/Library/Think/Pay.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ThinkPHP/Library/Think/Pay.class.php b/ThinkPHP/Library/Think/Pay.class.php index 6f89fd8a..56ddc98b 100644 --- a/ThinkPHP/Library/Think/Pay.class.php +++ b/ThinkPHP/Library/Think/Pay.class.php @@ -59,7 +59,7 @@ class Pay $promote = M('promote', 'tab_')->field(['company_id', 'id'])->where(['id' => $promoteId])->find(); } if ($promote) { - $company = M('promote_company', 'tab_')->field(['ali_partner', 'id'])->where(['id' => $promote['compnay_id']])->find(); + $company = M('promote_company', 'tab_')->field(['ali_partner', 'id'])->where(['id' => $promote['company_id']])->find(); } if ($company && $company['ali_partner'] == 1) { return true;