feat(app): 初始化项目配置和页面结构
- 添加 .dockerignore 和 .env.example 配置文件 - 添加 .gitignore 忽略规则配置 - 创建服务端代理API路由(_file、_modules、_server) - 集成 Ant Design Vue 组件库并配置SSR样式提取 - 定义API响应类型封装 - 创建基础布局组件(blank、console) - 实现应用中心页面和组件(AppsCenter) - 添加文章列表测试页面 - 配置控制台导航菜单结构 - 实现控制台头部组件 - 创建联系页面表单
This commit is contained in:
59
app/api/system/payment/model/index.ts
Normal file
59
app/api/system/payment/model/index.ts
Normal file
@@ -0,0 +1,59 @@
|
||||
import type { PageParam } from '@/api';
|
||||
|
||||
/**
|
||||
* 支付方式
|
||||
*/
|
||||
export interface Payment {
|
||||
// ID
|
||||
id?: number;
|
||||
// 支付方式
|
||||
name?: string;
|
||||
// 支付类型
|
||||
type?: number;
|
||||
// 标识
|
||||
code?: string;
|
||||
// 支付图标
|
||||
image?: string;
|
||||
// 微信商户号类型 1普通商户2子商户
|
||||
wechatType?: number;
|
||||
// 应用ID
|
||||
appId?: string;
|
||||
// 商户号
|
||||
mchId?: string;
|
||||
// 设置APIv3密钥
|
||||
apiKey?: string;
|
||||
// 证书文件 (CERT)
|
||||
apiclientCert?: string;
|
||||
// 证书文件 (KEY)
|
||||
apiclientKey?: string;
|
||||
// 商户证书序列号
|
||||
merchantSerialNumber?: string;
|
||||
// 支付宝公钥
|
||||
pubKey?: string;
|
||||
// 支付宝公钥ID
|
||||
pubKeyId?: string;
|
||||
// 支付结果通过
|
||||
notifyUrl?: string;
|
||||
// 备注
|
||||
comments?: string;
|
||||
// 文章排序(数字越小越靠前)
|
||||
sortNumber?: number;
|
||||
// 状态, 0启用, 1禁用
|
||||
status?: boolean;
|
||||
// 是否删除, 0否, 1是
|
||||
deleted?: number;
|
||||
// 租户id
|
||||
tenantId?: number;
|
||||
// 注册时间
|
||||
createTime?: string;
|
||||
// 修改时间
|
||||
updateTime?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* 支付方式搜索条件
|
||||
*/
|
||||
export interface PaymentParam extends PageParam {
|
||||
id?: number;
|
||||
keywords?: string;
|
||||
}
|
||||
Reference in New Issue
Block a user