作者 赵彬吉

update

@@ -16,14 +16,14 @@ class Product extends Base @@ -16,14 +16,14 @@ class Product extends Base
16 16
17 const STATUS_DRAFT = 0; 17 const STATUS_DRAFT = 0;
18 const STATUS_ON = 1; 18 const STATUS_ON = 1;
19 - const STATUS_OFF = 2; 19 + const STATUS_RECYCLE = 2;
20 20
21 21
22 public static function statusMap(){ 22 public static function statusMap(){
23 return [ 23 return [
24 self::STATUS_DRAFT => '草稿', 24 self::STATUS_DRAFT => '草稿',
25 - self::STATUS_ON => '已上架',  
26 - self::STATUS_OFF => '未上架', 25 + self::STATUS_ON => '已发布',
  26 + self::STATUS_RECYCLE => '回收站',
27 ]; 27 ];
28 } 28 }
29 29