zory 2 周之前
父節點
當前提交
b708697aa8
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/controller/mini/Notify.php

+ 1 - 1
app/controller/mini/Notify.php

@@ -62,7 +62,7 @@ class Notify extends Base
                 case "life_trade_certificate_notify": // 退款
                     $resp = json_decode($param['content'], true);
                     if ($resp['action'] == "refund_success") {
-                        $order = (new SaasOrderLife)->where("order_id",$resp['order']['order_id'])->findOrEmpty();
+                        $order = (new SaasOrderLife)->where("order_id",$resp['certificate']['order_id'])->findOrEmpty();
                         if (!$order->isEmpty()) {
                             $order->status = 4;
                             $order->refund_at = getDateFull();