mirror of https://github.com/certd/certd
perf: 套餐支持3天7天等选项
parent
82a72e0b49
commit
0d71a8ee50
|
@ -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 },
|
||||||
|
|
Loading…
Reference in New Issue