1. 完善易支付API调用全流程

2. 确定支付插件继承基础类和接口规范
3. 引入Yansongda\Pay支付快捷工具
4. 重新整理代码和功能结构
This commit is contained in:
技术老胡
2026-03-12 19:18:21 +08:00
parent 5dae6e7174
commit fa3abdcaff
19 changed files with 1042 additions and 578 deletions

View File

@@ -55,8 +55,9 @@ class PaymentOrder extends BaseModel
'expire_at' => 'datetime',
];
const STATUS_PENDING = 0;
const STATUS_SUCCESS = 1;
const STATUS_FAIL = 2;
const STATUS_CLOSED = 3;
/* 订单状态 */
const STATUS_PENDING = 0; // 待支付
const STATUS_SUCCESS = 1; // 支付成功
const STATUS_FAIL = 2; // 支付失败
const STATUS_CLOSED = 3; // 已关闭
}