You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
863 B
39 lines
863 B
2 months ago
|
<?php
|
||
|
|
||
|
namespace app\model;
|
||
|
|
||
|
class DocumentModel extends BaseModel
|
||
|
{
|
||
|
protected $name = 'document';
|
||
|
const TYPE_MAP = [
|
||
|
'1' => '平台介绍',
|
||
|
'2' => '功能介绍',
|
||
|
'3' => '资金风控',
|
||
|
'4' => '关于我们',
|
||
|
'5' => 'H5首页文章',
|
||
|
'6' => '投资理念',
|
||
|
'7' => '管理团队'
|
||
|
];
|
||
|
|
||
|
// pc 页脚展示的文章
|
||
|
const TYPE_FOOTER_PC = [
|
||
|
'1' => '平台介绍',
|
||
|
'2' => '功能介绍',
|
||
|
'3' => '资金风控',
|
||
|
'4' => '关于我们',
|
||
|
// '5' => 'H5首页文章',
|
||
|
'6' => '投资理念',
|
||
|
'7' => '管理团队'
|
||
|
];
|
||
|
|
||
|
const STATUS_ON = '1';
|
||
|
const STATUS_OFF = '2';
|
||
|
const STATUS_MAP = [
|
||
|
self::STATUS_ON => '上架',
|
||
|
self::STATUS_OFF => '下架',
|
||
|
];
|
||
|
|
||
|
|
||
|
const IS_DELETE_NO = 1;
|
||
|
const IS_DELETE_YES = 2;
|
||
|
}
|