Files
site-10584/api/cms/cmsWebsite/model/index.ts
2026-01-29 10:43:43 +08:00

152 lines
3.1 KiB
TypeScript

import type { PageParam } from '@/api';
import type {CmsNavigation} from "~/api/cms/cmsNavigation/model";
import type {CmsWebsiteSetting} from "~/api/cms/cmsWebsiteSetting/model";
/**
* 网站信息记录表
*/
export interface CmsWebsite {
// 站点ID
websiteId?: number;
// 网站名称
websiteName?: string;
// 网站标识
websiteCode?: string;
// 网站LOGO
websiteIcon?: string;
// 网站LOGO
websiteLogo?: string;
// 网站LOGO(深色模式)
websiteDarkLogo?: string;
// 网站类型
websiteType?: string;
// 评分
rate?: number;
// 点赞数
likes?: number;
// 点击量
clicks?: number;
// 购买量
buys?: number;
// 下载安装
downloads?: number;
// 网站截图
files?: string;
// 网站关键词
keywords?: string;
// 域名前缀
prefix?: string;
// 绑定域名
domain?: string;
// 全局样式
style?: string;
// 后台管理地址
adminUrl?: string;
// 应用版本 10免费版 20专业版 30永久授权
version?: number;
// 应用价格
price?: string,
// 交付方式
deliveryMethod?: number,
// 计费方式
chargingMethod?: number,
// 服务到期时间
expirationTime?: string;
// 模版ID
templateId?: number;
// 行业类型(父级)
industryParent?: string;
// 行业类型(子级)
industryChild?: string;
// 企业ID
companyId?: number;
// 开发者
developer?: string;
// 所在国家
country?: string;
// 所在省份
province?: string;
// 所在城市
city?: string;
// 所在辖区
region?: string;
// 经度
longitude?: string;
// 纬度
latitude?: string;
// 街道地址
address?: string;
// 联系电话
phone?: string;
// 电子邮箱
email?: string;
// ICP备案号
icpNo?: string;
// 公安备案
policeNo?: string;
// 备注
comments?: string;
// 详细介绍
content?: any;
// 是否推荐
recommend?: number;
// 是否官方
official?: boolean;
// 是否显示在插件市场
market?: boolean;
// 是否插件
plugin?: boolean;
// 是否允许被搜索(案例展示)
search?: boolean;
// 主题色
color?: string;
// 运行状态
running?: number;
// 状态 0未开通 1运行中 2维护中 3已关闭 4已欠费停机 5违规关停
status?: number;
// 维护说明
statusText?: string;
// 关闭说明
statusClose?: string;
// 状态图标
statusIcon?: string;
// 全局样式
styles?: string;
// 排序号
sortNumber?: number;
// 用户ID
userId?: number;
// 是否删除, 0否, 1是
deleted?: number;
// 租户id
tenantId?: number;
// 创建时间
createTime?: string;
// 修改时间
updateTime?: string;
// 网站配置参数
config?: any;
topNavs?: CmsNavigation[];
bottomNavs?: CmsNavigation[];
// 网站设置
setting?: CmsWebsiteSetting;
loginUser?: any;
}
/**
* 网站信息记录表搜索条件
*/
export interface CmsWebsiteParam extends PageParam {
websiteId?: number;
status?: number;
recommend?: number;
official?: boolean;
market?: boolean;
plugin?: boolean;
search?: boolean;
websiteType?: string;
userId?: number;
limit?: number;
keywords?: string;
}