Browse Source

un-hide成功提示

theo 3 years ago
parent
commit
424de10676
1 changed files with 1 additions and 1 deletions
  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);