Files
template-10260/src/api/cms/cmsOrder/model/index.ts
赵忠林 a3d7309fc7 feat(pages): 添加多个页面配置和实现文章管理功能
- 添加 .editorconfig、.eslintrc 和 .gitignore 配置文件
- 添加管理员文章管理页面配置和实现
- 添加医生申请、银行卡、客户管理页面配置和实现
- 添加用户地址和聊天消息页面配置
- 实现文章新增编辑功能,包括表单验证和图片上传
- 实现医生注册功能,包含头像上传和手机号获取
- 实现银行卡管理功能,支持默认地址设置
- 实现客户报备功能,包含7天保护期逻辑
- 实现在线开方页面配置
- 修复页面标题和样式配置问题
2025-12-25 14:07:47 +08:00

70 lines
1.4 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import type { PageParam } from '@/api/index';
/**
* 订单
*/
export interface CmsOrder {
// 订单号
orderId?: number;
// 关联模型
model?: string;
// 订单标题
title?: string;
// 订单编号
orderNo?: string;
// 订单类型0商城 1询价 2留言
type?: number;
// 关联文章ID
articleId?: number;
// 真实姓名
realName?: string;
// 手机号码
phone?: string;
// 电子邮箱
email?: string;
// 收货地址
address?: string;
// 订单内容
content?: string;
// 订单总额
totalPrice?: string;
// 实际付款
payPrice?: string;
// 报价询价
price?: string;
// 购买数量
totalNum?: number;
// 二维码地址,保存订单号,支付成功后才生成
qrcode?: string;
// 下单渠道0网站 1小程序 2其他
channel?: number;
// 过期时间
expirationTime?: string;
// 订单是否已结算(0未结算 1已结算)
isSettled?: number;
// 用户id
userId?: number;
// 备注
comments?: string;
// 排序号
sortNumber?: number;
// 是否删除, 0否, 1是
deleted?: number;
// 租户id
tenantId?: number;
// 创建时间
createTime?: string;
// 图像验证码
code?: string;
// 图像验证码内容
text?: string;
}
/**
* 订单搜索条件
*/
export interface CmsOrderParam extends PageParam {
orderId?: number;
keywords?: string;
}