xieruidong il y a 2 ans
Parent
commit
a33948a2fa
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      application/common/service/OrderPayService.php

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

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