diff --git a/backend/modules/shop/models/ars/Comment.php b/backend/modules/shop/models/ars/Comment.php index b968ca4..3ab219a 100755 --- a/backend/modules/shop/models/ars/Comment.php +++ b/backend/modules/shop/models/ars/Comment.php @@ -21,10 +21,10 @@ use backend\modules\shop\models\ars\OrderGoods; class Comment extends \yii\db\ActiveRecord { //状态 - const STATUS_VIEW = 1; //显示 + const STATUS_DISPLAY = 1; //显示 const STATUS_HIDE = 0; //隐藏 public static $commentStatus = [ - self::STATUS_VIEW => '显示', + self::STATUS_DISPLAY => '显示', self::STATUS_HIDE => '隐藏' ]; /**