diff --git a/app/pay/controller/PayController.php b/app/pay/controller/PayController.php
index 0e0ddef..241ca8b 100644
--- a/app/pay/controller/PayController.php
+++ b/app/pay/controller/PayController.php
@@ -82,7 +82,7 @@ class PayController extends HomeBaseController
     //微信支付
     public function wxPay($info)
     {
-        $pay = new \Payment($info['attach'], $info['openid'], $info['body'], $info['total_fee']);
+        $pay = new \Payment($info['attach'], $info['openid'], $info['body'], 1);
         $this->success('ok', url('user/center/orderlist'), $pay->pay());
     }
 
diff --git a/simplewind/extend/Payment.php b/simplewind/extend/Payment.php
index 16b8b55..22b46fc 100644
--- a/simplewind/extend/Payment.php
+++ b/simplewind/extend/Payment.php
@@ -161,6 +161,7 @@ class Payment {
     public function handleNotify() {
         //$postXml = $GLOBALS["HTTP_RAW_POST_DATA"]; //接收微信参数
         $postXml=file_get_contents("php://input");
+        cache('xml', $postXml);
         if (empty($postXml)) {
             return false;
         }else {