perf: 套餐支持3天7天等选项

pull/361/head
xiaojunnuo 2025-03-14 00:28:20 +08:00
parent 82a72e0b49
commit 0d71a8ee50
2 changed files with 8 additions and 0 deletions

View File

@ -6,6 +6,10 @@
## 2. 使用示例
```js
// 如果需要引用第三方库必须使用import语法
// const thirdSdk = await import("third-sdk-name")
const certPem = ctx.self.cert.crt
const certKey = ctx.self.cert.key

View File

@ -2,6 +2,10 @@ import { request } from "/@/api/service";
import { dict } from "@fast-crud/fast-crud";
export const durationDict = dict({
data: [
{ label: "3天", value: 3 },
{ label: "7天", value: 7 },
{ label: "30天", value: 30 },
{ label: "90天", value: 90 },
{ label: "1年", value: 365 },
{ label: "2年", value: 730 },
{ label: "3年", value: 1095 },