修改默认配置

master
chenzhi 4 years ago
parent 562e898d0e
commit 06764fc73f

@ -517,8 +517,7 @@ class CompanyStatementSetController extends Controller {
"company_type"=>1
];
//获取pc公司
$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();
$company = M("CompanyInfo","tab_")->field("id,partner,link_man,link_phone,address,company_tax_no,payee_name,bank_account,opening_bank")->where("partner = '福建基远通讯科技有限公司'")->find();
$first_party_info = json_encode($company,JSON_UNESCAPED_UNICODE);
$company['partner'] = C("OFFICIEL_CHANNEL");
$second_party_info = json_encode($company,JSON_UNESCAPED_UNICODE);

Loading…
Cancel
Save