mirror of
https://gitee.com/mirrors/AllinSSL.git
synced 2026-03-13 01:50:53 +08:00
【调整】申请证书配置CA选项增加liteSSL证书
This commit is contained in:
@@ -1,28 +0,0 @@
|
||||
分别生成以下相关的类型文件,在 types/ 目录下,以及 api 文件,在 api/目录下
|
||||
|
||||
文件名称如下:
|
||||
home
|
||||
autoDeploy
|
||||
certManage
|
||||
certApply
|
||||
authAPIManage
|
||||
monitor
|
||||
settings
|
||||
|
||||
1、types文件命名方式:{视图名称}.d.ts
|
||||
|
||||
2、api文件命名方式:{视图名称}.ts
|
||||
|
||||
3、api文件结构如下:
|
||||
|
||||
```typescript
|
||||
import { useApi } from './index'
|
||||
import type { loginParams, loginResponse } from '@/types/public'
|
||||
|
||||
/**
|
||||
* 登录
|
||||
* @param params 登录参数
|
||||
* @returns 登录
|
||||
*/
|
||||
export const loginCloudControl = (params?: loginParams) => useApi<loginResponse, loginParams>('/v1/user/login', params)
|
||||
```
|
||||
Reference in New Issue
Block a user