SettingNum.php
801 字节
<?php
/**
* @remark :
* @name :SettingNum.php
* @author :lyh
* @method :post
* @time :2023/11/4 11:07
*/
namespace App\Models\WebSetting;
use App\Models\Base;
/**
* @remark :设置数量
* @name :SettingNum
* @author :lyh
* @method :post
* @time :2023/11/4 11:08
*/
class SettingNum extends Base
{
const TYPE_PRODUCT_SORT = 10;//c端产品显示排序
const TYPE_NEWS_SORT = 11;//c端新闻显示排序
const TYPE_BLOG_SORT = 12;//c端博客显示排序
const TYPE_CUSTOM_SORT = 13;//c端扩展模块显示排序
protected $table = 'gl_setting_num';
//连接数据库
protected $connection = 'custom_mysql';
//列表页种类
public static $productListType = 1;
public static $blogListType = 2;
public static $newsListType = 3;
}