From 80fb513d8596f369da4bcdd3ffd1f698e11d24c1 Mon Sep 17 00:00:00 2001
From: 王晓刚 <wxg@bronet.cn>
Date: Sat, 8 Jun 2019 15:55:53 +0800
Subject: [PATCH] 接收推送消息

---
 app/portal/controller/PayController.php | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/app/portal/controller/PayController.php b/app/portal/controller/PayController.php
index ebf6af8..0ba64d4 100644
--- a/app/portal/controller/PayController.php
+++ b/app/portal/controller/PayController.php
@@ -243,14 +243,13 @@ class PayController extends HomeBaseController
                     }
 
                 }
-
+                cache('a',"123");
+                $bird = new BirdController;
+                $createOrder = $bird -> createOrder($order['id']);
+                cache('yuyue',$createOrder);
+                $takeOrder = $bird -> takeOrder($order['id']);
+                cache('dingyue',$takeOrder);
             }
-            cache('a',"123");
-            $bird = new BirdController;
-            $createOrder = $bird -> createOrder($order['id']);
-            cache('yuyue',$createOrder);
-            $takeOrder = $bird -> takeOrder($order['id']);
-            cache('dingyue',$takeOrder);
             return true; // 返回处理完成
         });
 
--
libgit2 0.24.0