Merge pull request 'feature/out_change_OFFICIEL_CHANNEL' (#304) from feature/out_change_OFFICIEL_CHANNEL into master_out

Reviewed-on: http://8.136.139.249:3000/wmtx/platform/pulls/304
修改默认配置
master
陈志 4 years ago
commit d0e75a5143

@ -112,8 +112,8 @@ return array(
'TMPL_ACTION_SUCCESS' => MODULE_PATH.'View/Public/success.html', // 默认成功跳转对应的模板文件
'TMPL_EXCEPTION_FILE' => MODULE_PATH.'View/Public/exception.html',// 异常页面的模板文件
/*默认公司名称*/
'DEFAULT_COMPANY'=>"福建基远通讯科技有限公司",
'OFFICIEL_CHANNEL'=>"福建基远通讯科技有限公司",
'DEFAULT_COMPANY'=>"官方渠道",
'OFFICIEL_CHANNEL'=>"官方渠道",
/*分库的表格*/
'SUBSITE_TABLE'=>[
"sys_auth_group",

@ -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