shish %!s(int64=2) %!d(string=hai) anos
pai
achega
fc385dcdfd
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app-ghs/controllers/OrderController.php

+ 1 - 1
app-ghs/controllers/OrderController.php

@@ -1636,7 +1636,7 @@ class OrderController extends BaseController
         if (empty($order)) {
             util::fail('没有找到订单');
         }
-        if ($order->mainI != $this->mainId) {
+        if ($order->mainId != $this->mainId) {
             util::fail('不是你的订单');
         }
         $cgId = $order->purchaseId ?? 0;