CityCategoryModel.php
2.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<?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 asia = 1;//亚洲
const europe = 2;//欧洲
const africa = 3;//非洲
const oceania = 4;//大洋洲
const north = 5;//北美洲
const south = 6;//南美洲
const antarctica = 20;//南极洲
//月份
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;//十二月份
}