diff --git a/Application/Admin/Conf/config.php b/Application/Admin/Conf/config.php index 74715081e..de519c5f7 100644 --- a/Application/Admin/Conf/config.php +++ b/Application/Admin/Conf/config.php @@ -112,7 +112,7 @@ return array( 'TMPL_ACTION_SUCCESS' => MODULE_PATH.'View/Public/success.html', // 默认成功跳转对应的模板文件 'TMPL_EXCEPTION_FILE' => MODULE_PATH.'View/Public/exception.html',// 异常页面的模板文件 /*默认公司名称*/ - 'DEFAULT_COMPANY'=>"海南万盟天下科技有限公司", + 'DEFAULT_COMPANY'=>"福建基远通讯科技有限公司", 'OFFICIEL_CHANNEL'=>"福建基远通讯科技有限公司", /*分库的表格*/ 'SUBSITE_TABLE'=>[ 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);