diff --git a/Application/Admin/Controller/CompanyStatementSetController.class.php b/Application/Admin/Controller/CompanyStatementSetController.class.php index cbf58355a..0d7512876 100644 --- a/Application/Admin/Controller/CompanyStatementSetController.class.php +++ b/Application/Admin/Controller/CompanyStatementSetController.class.php @@ -499,10 +499,13 @@ class CompanyStatementSetController extends Controller { ]; //获取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(); + $first_party_info = json_encode($company,JSON_UNESCAPED_UNICODE); + $company['partner'] = C("OFFICIEL_CHANNEL"); + $second_party_info = json_encode($company,JSON_UNESCAPED_UNICODE); $add_data=[ - "first_party_info"=>json_encode($company,JSON_UNESCAPED_UNICODE), - "second_party_info"=>json_encode($company,JSON_UNESCAPED_UNICODE), - "pay_type"=>1, + "first_party_info"=>$first_party_info, + "second_party_info"=>$second_party_info, + "pay_type"=>2, "withdraw_type"=>1, "statement_begin_time"=>$begintime, "statement_end_time"=>$endtime, @@ -514,7 +517,7 @@ class CompanyStatementSetController extends Controller { "is_payment"=>2, "statement_info"=>[], "company_belong"=>0, - "company_name"=>'海南万盟天下科技有限公司', + "company_name"=>C("OFFICIEL_CHANNEL"), "company_id"=>0, "company_type"=>1 ];