Browse Source

feat:开发评论模型和订单商品模型关联方法

antshop
linyaostalker 5 years ago
parent
commit
fb76aa5e97
  1. 4
      backend/modules/shop/models/ars/Comment.php

4
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 => '隐藏'
];
/**

Loading…
Cancel
Save