|
@@ -14,7 +14,7 @@ const payOrder = {
|
|
|
order_no: { type: String, required: false, zh: '订单号' }, //
|
|
|
time: { type: String, required: false, zh: '时间' }, //
|
|
|
desc: { type: String, required: false, zh: '支付说明' }, //
|
|
|
- status: { type: String, required: false, zh: '支付状态' }, // 0:未支付;1:已支付;-1:支付失败;-3:已退款
|
|
|
+ status: { type: String, required: false, zh: '支付状态', default: '0' }, // 0:未支付;1:已支付;-1:支付失败;-3:已退款
|
|
|
config: { type: String, required: false, zh: '设置' }, //
|
|
|
};
|
|
|
const schema = new Schema(payOrder, { toJSON: { getters: true, virtuals: true } });
|