mirror of
https://github.com/certd/certd.git
synced 2026-04-24 12:27:25 +08:00
perf: 套餐支持3天7天等选项
This commit is contained in:
@@ -6,6 +6,10 @@
|
|||||||
|
|
||||||
## 2. 使用示例
|
## 2. 使用示例
|
||||||
```js
|
```js
|
||||||
|
|
||||||
|
// 如果需要引用第三方库,必须使用import语法
|
||||||
|
// const thirdSdk = await import("third-sdk-name")
|
||||||
|
|
||||||
const certPem = ctx.self.cert.crt
|
const certPem = ctx.self.cert.crt
|
||||||
const certKey = ctx.self.cert.key
|
const certKey = ctx.self.cert.key
|
||||||
|
|
||||||
|
|||||||
@@ -2,6 +2,10 @@ import { request } from "/@/api/service";
|
|||||||
import { dict } from "@fast-crud/fast-crud";
|
import { dict } from "@fast-crud/fast-crud";
|
||||||
export const durationDict = dict({
|
export const durationDict = dict({
|
||||||
data: [
|
data: [
|
||||||
|
{ label: "3天", value: 3 },
|
||||||
|
{ label: "7天", value: 7 },
|
||||||
|
{ label: "30天", value: 30 },
|
||||||
|
{ label: "90天", value: 90 },
|
||||||
{ label: "1年", value: 365 },
|
{ label: "1年", value: 365 },
|
||||||
{ label: "2年", value: 730 },
|
{ label: "2年", value: 730 },
|
||||||
{ label: "3年", value: 1095 },
|
{ label: "3年", value: 1095 },
|
||||||
|
|||||||
Reference in New Issue
Block a user