diff --git a/Application/Admin/Controller/FinancialSummarySetController.class.php b/Application/Admin/Controller/FinancialSummarySetController.class.php index 9992ada28..df5451699 100644 --- a/Application/Admin/Controller/FinancialSummarySetController.class.php +++ b/Application/Admin/Controller/FinancialSummarySetController.class.php @@ -213,7 +213,7 @@ class FinancialSummarySetController extends \Think\Controller $test_pay_amount = M("TestOrder")->where($map2)->field("IFNULL(sum(pay_amount),0) pay_amount")->find()['pay_amount']; $temparr['sum_money'] = number_format(($cash_spend*100 + $deposit*100 + $test_pay_amount*100 )/100, 2, '.', ''); - + $this->adddata[]=$temparr; } //奖罚收入 @@ -333,6 +333,18 @@ class FinancialSummarySetController extends \Think\Controller "sum_money"=>number_format($other_group_nobind_count/100, 2, '.', '') ); } + + public function setChannelMoney(){ + $r = D("PaymentMerchant")->Ways; + dd($r); + } + + + + + + + /** * 获取类型为4,5的数据/按支付渠道类型,支付类型类型 */ diff --git a/Application/Admin/Model/PaymentMerchantModel.class.php b/Application/Admin/Model/PaymentMerchantModel.class.php new file mode 100644 index 000000000..0ecc5434b --- /dev/null +++ b/Application/Admin/Model/PaymentMerchantModel.class.php @@ -0,0 +1,23 @@ +"支付宝", + "2"=>"微信", + "4"=>"快捷支付" + ]; + public $Channel=[ + "1"=>"支付宝", + "2"=>"微信", + "3"=>"易宝支付", + "4"=>"双乾支付", + "5"=>"汇付宝支付" + ]; + +} \ No newline at end of file