From 578a56ca39703b6123430bb9af03877584ac16d6 Mon Sep 17 00:00:00 2001 From: chenzhi Date: Thu, 6 May 2021 14:28:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=BB=98=E8=AE=A4=E5=85=AC?= =?UTF-8?q?=E5=8F=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Admin/Controller/CompanyStatementSetController.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Application/Admin/Controller/CompanyStatementSetController.class.php b/Application/Admin/Controller/CompanyStatementSetController.class.php index ecd82bd39..42dfe739b 100644 --- a/Application/Admin/Controller/CompanyStatementSetController.class.php +++ b/Application/Admin/Controller/CompanyStatementSetController.class.php @@ -517,7 +517,8 @@ class CompanyStatementSetController extends Controller { "company_type"=>1 ]; //获取pc公司 - $company = M("CompanyInfo","tab_")->field("id,partner,link_man,link_phone,address,company_tax_no,payee_name,bank_account,opening_bank")->where("partner = '海南万盟天下科技有限公司'")->find(); + $company_defualt = C("DEFAULT_COMPANY"); + $company = M("CompanyInfo","tab_")->field("id,partner,link_man,link_phone,address,company_tax_no,payee_name,bank_account,opening_bank")->where("partner = '{$company_defualt}'")->find(); $first_party_info = json_encode($company,JSON_UNESCAPED_UNICODE); $company['partner'] = C("OFFICIEL_CHANNEL"); $second_party_info = json_encode($company,JSON_UNESCAPED_UNICODE);