xieruidong há 2 anos atrás
pai
commit
06fcd71336
1 ficheiros alterados com 4 adições e 1 exclusões
  1. 4 1
      application/common/service/OrderPayService.php

+ 4 - 1
application/common/service/OrderPayService.php

@@ -105,7 +105,10 @@ class OrderPayService{
    }
    public function bankUnion(){
         require __DIR__.'/../library/upacp_demo_b2c/demo/api_01_gateway/Form_6_2_FrontConsume.php';
-        return ylUnifyOrder($this->payment->order_no,$this->getAmount('f'));
+        $html=ylUnifyOrder($this->payment->order_no,$this->getAmount('f'));
+        return [
+            'html'=>$html
+        ];
    }
    public function otherUser(){}
    public function offline(){}