CityCategoryModel.php 2.9 KB
<?php
// +----------------------------------------------------------------------
// | ThinkCMF [ WE CAN DO IT MORE SIMPLE ]
// +----------------------------------------------------------------------
// | Copyright (c) 2013-2019 http://www.thinkcmf.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: 老猫 <thinkcmf@126.com>
// +----------------------------------------------------------------------
namespace app\portal\model;

use app\admin\model\RouteModel;
use think\db\Query;
use think\Model;
use tree\Tree;

class CityCategoryModel extends Model
{

    protected $type = [
        'more' => 'array',
    ];
    const domain = 'http://pq5d4o050.bkt.clouddn.com/';
    const pre = 'cmf_';//数据库前缀
    //父类
    const xqqj = 1;//星球奇境
    const xyxc = 2;//星域秀场
    const xxty = 3;//星享体验
    const xttj = 4;//星探推荐
    const xjhd = 5;//星际活动
    //子类
    const xqgs = 6;//星球故事
    const whmj = 7;//网红美景
    const yyzx = 8;//异域珍馐
    const lsmq = 9;//良宿美寝
    const hlst = 10;//活力生态
    const blcx = 11;//便利出行
    const mxft = 12;//明星访谈
    const xqyy = 39;//星球影院
    const xyhl = 15;//星域画廊
    const djkb = 16;//独角快报
    const djrz = 17;//独角日志
    const tqwl = 18;//童趣未来
    const qlxc = 19;//亲临现场
    const sjmy = 20;//市井漫游
    const stsy = 21;//视听盛宴
    const hwtt = 22;//户外天堂
    const lylx = 23;//旅游路线
    const ddfw = 24;//地道风物
    const cysj = 25;//创意设计
    const yjyr = 26;//悦己悦人
    const xjhd_c = 27;//星际活动
    const hwyl = 40;//海外医疗

    //城市
    const xqgh_cc = 65;//星球故事
    const djxq = 68;//独角星球
    const syxc = 70;//首页宣传

    //五大洲
    const asia = 1;//亚洲
    const europe = 2;//欧洲
    const africa = 3;//非洲
    const oceania = 4;//大洋洲
    const north = 5;//北美洲
    const south = 6;//拉丁美洲
    const antarctica = 20;//南极洲
    const arctic = 43;//北极

    //月份
    const January = 1;//一月份
    const February = 2;//二月份
    const March = 3;//三月份
    const April = 4;//四月份
    const May = 5;//五月份
    const June = 6;//六月份
    const July = 7;//七月份
    const August = 8;//八月份
    const September = 9;//九月份
    const October = 10;//十月份
    const November = 11;//十一月份
    const December = 12;//十二月份

    //封面图分类
    const indexImg = 1;//首页封面图
    const galleryImg = 2;//星域秀场-星球画廊
    const enjoyImg = 3;//星享体验封面图
    const scoutImg = 4;//星探推荐封面图
    const activeImg = 5;//星际活动封面图
}