fuyu 5 лет назад
Родитель
Сommit
9b6eaccf6e
1 измененных файлов с 4 добавлено и 4 удалено
  1. 4 4
      application/inter/service/WechatService.php

+ 4 - 4
application/inter/service/WechatService.php

@@ -17,7 +17,7 @@ class WechatService {
   public function pushWechatOrder($order_id) {
     $order = $this->getPushOrder($order_id);
     $orderStr = $this->getPushContent($order);
-    $openids = $this->getPushOpenId($order_id['exam_id']);
+    $openids = $this->getPushOpenId($order['exam_id']);
     if(!$openids) {
       log::record('---------没有找到对应openid--------');
       return false;
@@ -40,7 +40,7 @@ class WechatService {
   public function pushWechatCancel($order_id) {
     $order = $this->getPushOrder($order_id);
     $orderStr = $this->getPushContent($order);
-    $openids = $this->getPushOpenId($order_id['exam_id']);
+    $openids = $this->getPushOpenId($order['exam_id']);
     if(!$openids) {
       log::record('---------没有找到对应openid--------');
       return false;
@@ -63,7 +63,7 @@ class WechatService {
   public function pushWechatComplete($order_id) {
     $order = $this->getPushOrder($order_id);
     $orderStr = $this->getPushContent($order);
-    $openids = $this->getPushOpenId($order_id['exam_id']);
+    $openids = $this->getPushOpenId($order['exam_id']);
     if(!$openids) {
       log::record('---------没有找到对应openid--------');
       return false;
@@ -86,7 +86,7 @@ class WechatService {
   public function pushWechatRefund($order_id) {
     $order = $this->getPushOrder($order_id);
     $orderStr = $this->getPushContent($order);
-    $openids = $this->getPushOpenId($order_id['exam_id']);
+    $openids = $this->getPushOpenId($order['exam_id']);
     if(!$openids) {
       log::record('---------没有找到对应openid--------');
       return false;