Explorar el Código

un-hide成功提示

theo hace 3 años
padre
commit
424de10676
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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);