模板站
## 接口实体
```
表名 xykj_port
实体名 xy_port
```
## 游戏表(旧模板)
```
表名 xykj_game
```
| 字段 | 类型 | 说明 |
|-----|--------|-------|
| gameguid | string | 游戏编号 |
| game_delete | int | 是否删除 |
| gameindex | int | 游戏索引 |
| gamename | string | 游戏名称 |
| gamestyle | string | 游戏风格 |
| gametheme | string | 游戏主题 |
| gametype | string | 游戏类型 |
| gamedate | datetime | 添加时间 |
| gameimg | string | 图片 |
## 游戏表
```
表名 xykj_template_game
实体名 xy_template_game 继承 xy_games
```
| 字段 | 类型 | 说明 |
|-----|--------|-------|
| xy_addtime | datetime | 添加时间 |
| xy_game_imgs | list<string> | 游戏图片 |
| xy_game_detail_imgs | list<string> | 游戏详情页图片 |
## 站点游戏表
```
表名 xykj_website_games
实体名 xy_website_games
```
| 字段 | 类型 | 说明 |
|-----|--------|-------|
| xy_game_play_num | string | 最近玩过 |
| xy_game_id | int | 游戏id |
| xy_website_id | int | 站点id |
| xy_game_name | string | 游戏名称 |
| xy_game_index | int | 游戏索引 |
| xy_game_type | string | 游戏类型 |
| xy_game_style | string | 游戏风格 |
| xy_game_theme | string | 游戏主题 |
| xy_apple_url | string | 苹果地址 |
| xy_vip_apple_url | string | 贵宾苹果地址 |
| xy_android_url | string | 安卓地址 |
| xy_vip_android_url | string | 贵宾安卓地址 |
| xy_web_url | string | 网页地址 |
| xy_vip_web_url | string | 贵宾网页地址 |
| xy_size_ios | string | ios大小 |
| xy_size_apk | string | 安卓大小 |
| xy_game_blv | int | 游戏比例 |
| xy_game_label | list<string> | 游戏标签 |
| xy_game_content | string | 游戏简介 |
| xy_game_img | list<string> | 游戏图片 |
| xy_game_detail_img | list<string> | 游戏详情页图片 |
| xy_game_addtime | datetime | 添加时间 |
| xy_game_exporttime | datetime | 导入时间 |
| xy_game_isdel | int | 是否删除 |
| xy_game_official_url | string | 官网地址 |
| xy_game_qrcode | string | 游戏二维码 |
| xy_game_img_style | int | 详情页图片 |
## 游戏服(旧模板)
```
表名 xykj_server
```
| 字段 | 类型 | 说明 |
|-----|--------|-------|
| servername | string | 游戏服名称 |
| gid | string | 游戏编号 |
| gamename | string | 游戏名称 |
| serversid | string | 游戏服编号 |
| openmark | string | 开服前 |
| closemark | string | 开服后 |
| stype | string | 游戏服类型 |
| serverdate | datetime | 开服时间 |
| sstate | int | 是否显示 |
| server_delete | int | 是否删除 |
## 游戏服
```
表名 xykj_template_server
实体名 xy_template_server 继承 xy_servers
```
| 字段 | 类型 | 说明 |
|-----|--------|-------|
| xy_addtime | datetime | 添加时间 |
## 站点游戏服
```
表名 xykj_website_servers
实体名 xy_website_servers 继承 xy_template_server
```
| 字段 | 类型 | 说明 |
|-----|--------|-------|
| xy_website_id | int | 站点id |
## 站点游戏关系(旧模板)
```
表名 xykj_gamerelation
```
| 字段 | 类型 | 说明 |
|-----|--------|-------|
| gameguid | string | 游戏编号 |
| game_delete | int | 是否删除 |
| gameindex | int | 游戏索引 |
| gamename | string | 游戏名称 |
| gamestyle | string | 游戏风格 |
| gametheme | string | 游戏主题 |
| gametype | string | 游戏类型 |
| gamedate | datetime | 添加时间 |
| gameimg | string | 图片 |
| siteid | string | 站点id |
| giftpic | string | 礼包图片 |
| serverpic | string | 游戏服图片 |
| gameqrcode | string | 游戏二维码 |
## 系统设置
```
表名 xykj_system
实体名 xy_system
```
## 新闻表(旧模板)
```
表名 xykj_news
```
| 字段 | 类型 | 说明 |
|-----|--------|-------|
| id | string | 主键 |
| newid | int | 新闻编号 |
| title | string | 标题 |
| siteid | string | 站点id |
| website | string | 站点 |
| type | string | 分类 |
| typeid | string | 分类id |
| author | string | 作者 |
| profile | string | 简介 |
| keyword | string | 关键字 |
| description | string | 描述 |
| index | int | 索引 |
| newspic | string | 图片 |
| istop | int | 是否置顶 |
| content | string | 内容 |
| createtime | datetime | 创建时间 |
| news_delete | int | 是否删除 |
| publish | string | 发布站点 |
| publishto | int | 发布到 |
| ispop | int | 是否弹出 |
| gameid | int | 游戏编号 |
## 新闻分类(旧模板)
```
表名 xykj_newstype
```
| 字段 | 类型 | 说明 |
|-----|--------|-------|
| typeid | string | 分类id |
| typename | string | 分类名称 |
| index | int | 索引 |
| siteid | string | 站点id |
| website | string | 网站名称 |
| newstype_delete | int | 是否删除 |
| createtime | datetime | 创建时间 |
## 游戏图片(旧模板)
```
表名 xykj_pic
```
| 字段 | 类型 | 说明 |
|-----|--------|-------|
| siteid | string | 站点id |
| type | string | 类型 |
| module | string | 模块 |
| pic | string | 图片 |
| mixpic | string | 最大图 |
| page | string | 页面 |
| createtime | string | 添加时间 |
## 站点(旧模板)
```
表名 xykj_site
```
| 字段 | 类型 | 说明 |
|-----|--------|-------|
| id | string | 主键 |
| domain | string | 域名 |
| marking | string | 标识 |
| title | string | 名称 |
| keyword | string | 关键字 |
| description | string | 描述 |
| bottomvisible | string | 底部可见信息pc |
| phbottomvisible | string | 底部可见信息手机 |
| bottomhidden | string | 底部隐藏信息 |
| template | string | 模板 |
| createtime | datetime | 创建时间 |
| site_delete | int | 是否删除 |
| game | string | 游戏 |
| sitetype | string | 站点类型 |
| templatepath | string | 模板路径 |
| iconpic | string | 图标 |
## 站点
```
表名 xykj_template_website
实体名 xy_template_website
```
| 字段 | 类型 | 说明 |
|-----|--------|-------|
| xy_id | int | 自增id |
| xy_template | string | 模板名称 |
| xy_station_type | int | 0 平台 1 官网 |
| xy_station_model | int | 0 单站模式 1 站群模式 |
| xy_station_state | int | 0 生成中 1 运行中 |
| xy_official_gameid | int | 游戏id |
| xy_official_gamename | string | 游戏名称 |
| xy_station_domain | string | 绑定顶级域名 |
| xy_station_child_domain | List<xy_system> | 绑定站点域名 |
| xy_station_name| string | 站点名称 |
| xy_station_ico | string | ico图片 |
| xy_station_keyword | string | 关键词 |
| xy_station_description | string | 描述 |
| xy_station_pc_bottom | string | 底部电脑信息 |
| xy_station_phone_bottom | string | 底部手机信息 |
| xy_station_hmt_bottom | string | 统计代码 |
| xy_isdel | int | 是否删除 |
## 文章
```
表名 xykj_template_news
实体名 xy_template_news
```
| 字段 | 类型 | 说明 |
|-----|--------|-------|
| xy_id | int | 自增id |
| xy_template_website | xy_template_website | 模板站点 |
| xy_news_name | string | 文章标题 |
| xy_news_type | string | 文章分类 |
| xy_news_index | int | 文章索引 |
| xy_news_author |string | 文章作者 |
| xy_news_keyword | string | 关键词 |
| xy_news_description | string | 描述 |
| xy_news_content | string | 文章内容 |
| xy_news_img1 | string | 宣传图1 |
| xy_news_img2 | string | 宣传图2 |
| xy_news_img3 | string | 宣传图3 |
| xy_news_img4 | string | 宣传图4 |
| xy_news_img5 | string | 宣传图5 |
| xy_news_addtime | datetime | 文章发布时间 |
| xy_news_comment | long | 文章评论数量 |
| xy_news_isdel | int | 文章状态 0 显示 1删除 |
| xy_publish | int | 0平台 1游戏详情 |
| xy_game_id | int | 游戏id |
| xy_article_id | int | 批量id |
## 批量文章
```
表名 xykj_template_article
实体名 xy_template_article
```
| 字段 | 类型 | 说明 |
|-----|--------|-------|
| xy_id | int | 自增id |
| xy_template_website | List<xy_template_website> | 模板站点 |
| xy_news_name | string | 文章标题 |
| xy_news_type | string | 文章分类 |
| xy_news_index | int | 文章索引 |
| xy_news_author |string | 文章作者 |
| xy_news_keyword | string | 关键词 |
| xy_news_description | string | 描述 |
| xy_news_content | string | 文章内容 |
| xy_news_img1 | string | 宣传图1 |
| xy_news_img2 | string | 宣传图2 |
| xy_news_img3 | string | 宣传图3 |
| xy_news_img4 | string | 宣传图4 |
| xy_news_img5 | string | 宣传图5 |
| xy_news_addtime | datetime | 文章发布时间 |
| xy_news_isdel | int | 文章状态 0 显示 1删除 |
## 文章分类
```
表名 xykj_template_newstype
实体名 xy_template_newstype
```
| 字段 | 类型 | 说明 |
|-----|--------|-------|
| xy_id | int | 自增id |
| xy_template_website | xy_template_website | 模板站点 |
| xy_newstype_name | string | 文章分类名称 |
| xy_newstype_index | int | 文章分类索引 |
| xy_newstype_desc | string | 文章分类为主注释 |
| xy_newstype_isdel | int | 文章类型状态 0 显示 1删除 |
## 文章评论
```
表名 xykj_template_news_comment
实体名 xy_template_news_comment
```
| 字段 | 类型 | 说明 |
|-----|--------|-------|
| xy_id | int | 自增id |
| xy_news_id | int | 文章id编号 |
| xy_news_name | string | 文章标题 |
| xy_template_website | sting | 所属站点域名 |
| xy_news_type | string | 所属分类 |
| xy_comment_content | string | 评论内容 |
| xy_comment_addtime | datetime | 评论发布时间 |
| xy_comment_isdel | int | 评论状态 0 显示 1删除 |
## 客服
```
表名 xykj_vip_customer_service
实体名 xy_vip_customer_service
```
## 模板编辑数据
```
表名 xykj_template_data_config
实体名 xy_template_data_config
```
| 字段 | 类型 | 说明 |
|-----|--------|-------|
| xy_id | int | 自增id |
| xy_template | string | 模板名称 |
| xy_template_siteid | string | 模板站点id |
| xy_template_pageid | string | 模板页面id |
| xy_template_pageurl | string | 模板页面相对路径 |
| xy_template_data | string | 要保存的编辑信息 |
## 站点应用(旧模板)
```
表名 xykj_app
```
| 字段 | 类型 | 说明 |
|-----|--------|-------|
| id | string | 主键 |
| siteid | string | 模板id |
| appcom | string | 包名 |
| appurl | string | 链接 |
| appname | string | 应用名称 |
| applogo | string | 应用图标 |
| appwxappid | string | appid |
| appwxappsecret | string | 密钥 |
| appregurl | string | url |
| appsign | string | 签名 |
| app_delete | int | 是否删除 |
| appdownload | string | 下载地址 |
## 导航
```
表名 xykj_nav
```
| 字段 | 类型 | 说明 |
|-----|--------|-------|
| title | string | 名称 |
| link | string | 链接 |
| target | string | 打开方式 |
| pic | string | 图片 |
| siteid | string | 站点id |
| type | string | 类型 |
## Banner图
```
表名 xykj_banner
```
| 字段 | 类型 | 说明 |
|-----|--------|-------|
| link | string | 链接 |
| alt | string | 鼠标悬浮提示 |
| url | string | 地址 |
| title | string | 名称 |
| target | string | 打开方式 |
| index | int | 索引 |
| siteid | string | 站点id |
| type | string | 类型 |
## Banner图
```
表名 xykj_listbanner
```
| 字段 | 类型 | 说明 |
|-----|--------|-------|
| link | string | 链接 |
| gamename | string | 游戏名称 |
| bigpic | string | 大图 |
| smallpic | string | 小图 |
| gametheme | string | 游戏主题 |
| target | string | 打开方式 |
| index | int | 索引 |
| siteid | string | 站点id |
## 推荐游戏
```
表名 xykj_tjgame
```
| 字段 | 类型 | 说明 |
|-----|--------|-------|
| title | string | 名称 |
| link | string | 链接 |
| target | string | 打开方式 |
| siteid | string | 站点id |
## 推荐新闻
```
表名 xykj_newstj
```
| 字段 | 类型 | 说明 |
|-----|--------|-------|
| index | int | 索引 |
| siteid | string | 站点id |
| title | string | 名称 |
| url| string | 链接 |
| link | string | 链接 |
| target | string | 打开方式 |
## 友情链接
```
表名 xykj_friendlylink
```
| 字段 | 类型 | 说明 |
|-----|--------|-------|
| title | string | 名称 |
| link | string | 链接 |
| target | string | 打开方式 |
| siteid | string | 站点id |
## 登录框底部
```
表名 xykj_logintit
```
| 字段 | 类型 | 说明 |
|-----|--------|-------|
| link | string | 链接 |
| pic | string | 图片 |
| title | string | 名称 |
| index | int | 索引 |
| siteid | string | 站点id |
## 链接
```
表名 xykj_link
```
| 字段 | 类型 | 说明 |
|-----|--------|-------|
| index | int | 索引 |
| title | string | 名称 |
| link | string | 链接 |
| target | string | 打开方式 |
| siteid | string | 站点id |
| type | string | 类型 |
## 底部互联网
```
表名 xykj_hlw
```
| 字段 | 类型 | 说明 |
|-----|--------|-------|
| title | string | 名称 |
| link | string | 链接 |
| pic | string | 图片 |
| siteid | string | 站点id |
## 客服电话
```
表名 xykj_kefu
```
| 字段 | 类型 | 说明 |
|-----|--------|-------|
| title | string | 名称 |
| time | string | 时间 |
| number | string | 号码 |
## 系统配置
```
表名 xykj_setting
```
| 字段 | 类型 | 说明 |
|-----|--------|-------|
| type | string | 类型 |
| siteid | string | 站点id |
| value | string | 值 |
| types | string |
## 游戏官网/平台
```
表名 xykj_gameofficial/xykj_platformofficial
```
| 字段 | 类型 | 说明 |
|-----|--------|-------|
| siteid | string | 站点id |
| name | string | 名称 |
| type | string | 类型 |
| value | string | 值 |
## 模板数据
```
表名 xykj_pagedata
实体名 PageData
```
| 字段 | 类型 | 说明 |
|-----|--------|-------|
| Module | string | 模块名称 |
| Data | string | 模块数据 |
| SiteId | string | 站点id |
| CreateDate | datetime | 时间 |
## 模板历史数据
```
表名 xykj_pagedata_history
实体名 PageData
```
## 模板历史内容
```
表名 xykj_history_site_content
```
| 字段 | 类型 | 说明 |
|-----|--------|-------|
| siteid | string | 站点id |
| content | string | 内容 |
| fileurl | string | 文件地址 |
| createtime | datetime | 时间 |
## 模板页面
```
表名 xykj_theme_page
实体名 xy_theme_page
```
| 字段 | 类型 | 说明 |
|-----|--------|-------|
| xy_id | string | 页面id |
| xy_data | string | 页面数据 |
| xy_config | string | 页面配置 |
| xy_siteid | string | 站点id |
| xy_createtime | datetime | 创建时间 |
| xy_updatetime | datetime | 修改时间 |
| xy_isdel | int | 是否删除 |
## 模板历史页面
```
表名 xykj_theme_page_history
实体名 xy_theme_page
```