瀏覽代碼

un-hide成功提示

theo 3 年之前
父節點
當前提交
424de10676
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      backendApi/modules/v1/controllers/BaseController.php

+ 1 - 1
backendApi/modules/v1/controllers/BaseController.php

@@ -158,7 +158,7 @@ class BaseController extends \yii\rest\ActiveController {
             }
             if ($afterFun) $afterFun($selected);
             $transaction->commit();
-            return self::notice('hide successfully');//删除成功
+            return self::notice($statusTo.' successfully');//删除成功
         } catch (Exception $e) {
             $transaction->rollBack();
             return self::notice($e->getMessage(), 500);