作者 赵彬吉

update

... ... @@ -16,14 +16,14 @@ class Product extends Base
const STATUS_DRAFT = 0;
const STATUS_ON = 1;
const STATUS_OFF = 2;
const STATUS_RECYCLE = 2;
public static function statusMap(){
return [
self::STATUS_DRAFT => '草稿',
self::STATUS_ON => '已上架',
self::STATUS_OFF => '未上架',
self::STATUS_ON => '已发布',
self::STATUS_RECYCLE => '回收站',
];
}
... ...