Browse Source

处理不是你的订单问题

shish 5 years ago
parent
commit
f3c1cc30b3
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app-mall/controllers/OrderController.php

+ 2 - 2
app-mall/controllers/OrderController.php

@@ -425,7 +425,7 @@ class OrderController extends BaseController
         $post = Yii::$app->request->post();
         $id = $post['id'];
         $order = OrderService::getById($id);
-        OrderService::valid($order, $this->shopId);
+        OrderService::valid($order, $this->customId);
         if ($order['grade'] > 0) {
             util::fail('您已经评过了');
         }
@@ -445,7 +445,7 @@ class OrderController extends BaseController
         if (!empty($orderSn)) {
             $detail = OrderService::getOrderBySn($orderSn);
         }
-        OrderService::valid($detail, $this->shopId);
+        OrderService::valid($detail, $this->customId);
         util::success($detail);
     }