|
@ -21,10 +21,10 @@ use backend\modules\shop\models\ars\OrderGoods; |
|
|
class Comment extends \yii\db\ActiveRecord |
|
|
class Comment extends \yii\db\ActiveRecord |
|
|
{ |
|
|
{ |
|
|
//状态
|
|
|
//状态
|
|
|
const STATUS_VIEW = 1; //显示
|
|
|
|
|
|
|
|
|
const STATUS_DISPLAY = 1; //显示
|
|
|
const STATUS_HIDE = 0; //隐藏
|
|
|
const STATUS_HIDE = 0; //隐藏
|
|
|
public static $commentStatus = [ |
|
|
public static $commentStatus = [ |
|
|
self::STATUS_VIEW => '显示', |
|
|
|
|
|
|
|
|
self::STATUS_DISPLAY => '显示', |
|
|
self::STATUS_HIDE => '隐藏' |
|
|
self::STATUS_HIDE => '隐藏' |
|
|
]; |
|
|
]; |
|
|
/** |
|
|
/** |
|
|