正在显示
1 个修改的文件
包含
2 行增加
和
1 行删除
| @@ -84,13 +84,14 @@ class Product extends Base | @@ -84,13 +84,14 @@ class Product extends Base | ||
| 84 | const STATUS_DRAFT = 0; | 84 | const STATUS_DRAFT = 0; |
| 85 | const STATUS_ON = 1; | 85 | const STATUS_ON = 1; |
| 86 | const STATUS_RECYCLE = 2; | 86 | const STATUS_RECYCLE = 2; |
| 87 | - | 87 | + const STATUS_THREE = 3; |
| 88 | 88 | ||
| 89 | public static function statusMap(){ | 89 | public static function statusMap(){ |
| 90 | return [ | 90 | return [ |
| 91 | self::STATUS_DRAFT => '草稿', | 91 | self::STATUS_DRAFT => '草稿', |
| 92 | self::STATUS_ON => '已发布', | 92 | self::STATUS_ON => '已发布', |
| 93 | self::STATUS_RECYCLE => '回收站', | 93 | self::STATUS_RECYCLE => '回收站', |
| 94 | + self::STATUS_THREE => '待发布', | ||
| 94 | ]; | 95 | ]; |
| 95 | } | 96 | } |
| 96 | 97 |
-
请 注册 或 登录 后发表评论