shish 4 سال پیش
والد
کامیت
6339ba92cf
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      app-hd/controllers/ClearController.php

+ 1 - 1
app-hd/controllers/ClearController.php

@@ -64,7 +64,7 @@ class ClearController extends BaseController
     public function actionGetFullInfo()
     public function actionGetFullInfo()
     {
     {
         $id = Yii::$app->request->get('id');
         $id = Yii::$app->request->get('id');
-        $info = self::getById($id);
+        $info = ClearClass::getById($id);
         if (isset($info['customShopId']) == false || $info['customShopId'] != $this->shopId) {
         if (isset($info['customShopId']) == false || $info['customShopId'] != $this->shopId) {
             util::fail('没有权限');
             util::fail('没有权限');
         }
         }