Merge remote-tracking branch 'origin/v2' into v2

pull/68/head
xiaojunnuo 2024-02-27 21:32:38 +08:00
commit 9e48474f11
29 changed files with 134 additions and 50 deletions

View File

@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.2.1](https://github.com/certd/certd/compare/v1.2.0...v1.2.1) (2023-12-12)
### Bug Fixes
* 修复邮箱设置无效的bug ([aaa3224](https://github.com/certd/certd/commit/aaa322464d0f65e924d1850995540d396ee24d25))
**Note:** Version bump only for package root
# [1.2.0](https://github.com/certd/certd/compare/v1.1.6...v1.2.0) (2023-10-27) # [1.2.0](https://github.com/certd/certd/compare/v1.1.6...v1.2.0) (2023-10-27)
* 🔱: [client] sync upgrade with 2 commits [trident-sync] ([aa3207f](https://github.com/certd/certd/commit/aa3207fca5f15f7c3da789989d99c8ae7d1c4551)) * 🔱: [client] sync upgrade with 2 commits [trident-sync] ([aa3207f](https://github.com/certd/certd/commit/aa3207fca5f15f7c3da789989d99c8ae7d1c4551))

View File

@ -50,9 +50,11 @@ https://docs.docker.com/compose/install/linux/
### 2. 下载docker-compose.yaml文件 ### 2. 下载docker-compose.yaml文件
```bash ```bash
mdkir certd mkdir certd
cd certd cd certd
wget https://github.com/certd/certd/blob/v2/docker/run/docker-compose.yaml wget https://raw.githubusercontent.com/certd/certd/v2/docker/run/docker-compose.yaml
# 或者使用gitee地址
wget https://gitee.com/certd/certd/raw/v2/docker/run/docker-compose.yaml
# 根据需要修改里面的配置 # 根据需要修改里面的配置
# 1.修改镜像版本号 # 1.修改镜像版本号
@ -69,9 +71,11 @@ https://github.com/certd/certd/releases
### 3. 运行 ### 3. 运行
```bash ```bash
# 如果docker compose是插件化安装 # 如果docker compose是插件化安装
export CERTD_VERSION=1.2.0
docker compose up -d docker compose up -d
#如果docker compose是独立安装 #如果docker compose是独立安装
export CERTD_VERSION=1.2.0
docker-compose up -d docker-compose up -d
``` ```

View File

@ -9,5 +9,5 @@
} }
}, },
"npmClient": "pnpm", "npmClient": "pnpm",
"version": "1.2.0" "version": "1.2.1"
} }

View File

@ -11,7 +11,7 @@
"scripts": { "scripts": {
"start": "lerna bootstrap --hoist", "start": "lerna bootstrap --hoist",
"i-all": "lerna link && lerna exec npm install ", "i-all": "lerna link && lerna exec npm install ",
"publish": "npm run proxy && npm run prepublishOnly1 && lerna publish 1.2.0 --conventional-commits && npm run afterpublishOnly && npm run deploy1", "publish": "npm run proxy && npm run prepublishOnly1 && lerna publish --conventional-commits && npm run afterpublishOnly && npm run deploy1",
"afterpublishOnly": "", "afterpublishOnly": "",
"proxy": "npm config set proxy=http://127.0.0.1:10809", "proxy": "npm config set proxy=http://127.0.0.1:10809",
"prepublishOnly1": "npm run before-build && lerna run build ", "prepublishOnly1": "npm run before-build && lerna run build ",

View File

@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.2.1](https://github.com/publishlab/node-acme-client/compare/v1.2.0...v1.2.1) (2023-12-12)
**Note:** Version bump only for package @certd/acme-client
**Note:** Version bump only for package @certd/acme-client
# [1.2.0](https://github.com/publishlab/node-acme-client/compare/v1.1.6...v1.2.0) (2023-10-27) # [1.2.0](https://github.com/publishlab/node-acme-client/compare/v1.1.6...v1.2.0) (2023-10-27)
**Note:** Version bump only for package @certd/acme-client **Note:** Version bump only for package @certd/acme-client

View File

@ -1 +1 @@
12:37 23:41

View File

@ -3,7 +3,7 @@
"description": "Simple and unopinionated ACME client", "description": "Simple and unopinionated ACME client",
"private": false, "private": false,
"author": "nmorsman", "author": "nmorsman",
"version": "1.2.0", "version": "1.2.1",
"main": "src/index.js", "main": "src/index.js",
"types": "types", "types": "types",
"license": "MIT", "license": "MIT",

View File

@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.2.1](https://github.com/certd/certd/compare/v1.2.0...v1.2.1) (2023-12-12)
**Note:** Version bump only for package @certd/pipeline
**Note:** Version bump only for package @certd/pipeline
# [1.2.0](https://github.com/certd/certd/compare/v1.1.6...v1.2.0) (2023-10-27) # [1.2.0](https://github.com/certd/certd/compare/v1.1.6...v1.2.0) (2023-10-27)
**Note:** Version bump only for package @certd/pipeline **Note:** Version bump only for package @certd/pipeline

View File

@ -1,7 +1,7 @@
{ {
"name": "@certd/pipeline", "name": "@certd/pipeline",
"private": false, "private": false,
"version": "1.2.0", "version": "1.2.1",
"main": "./src/index.ts", "main": "./src/index.ts",
"module": "./src/index.ts", "module": "./src/index.ts",
"types": "./src/index.ts", "types": "./src/index.ts",
@ -23,7 +23,7 @@
"qs": "^6.11.2" "qs": "^6.11.2"
}, },
"devDependencies": { "devDependencies": {
"@certd/acme-client": "^1.2.0", "@certd/acme-client": "^1.2.1",
"@rollup/plugin-commonjs": "^23.0.4", "@rollup/plugin-commonjs": "^23.0.4",
"@rollup/plugin-json": "^6.0.0", "@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.0.1", "@rollup/plugin-node-resolve": "^15.0.1",

View File

@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.2.1](https://github.com/certd/certd/compare/v1.2.0...v1.2.1) (2023-12-12)
**Note:** Version bump only for package @certd/plugin-aliyun
**Note:** Version bump only for package @certd/plugin-aliyun
# [1.2.0](https://github.com/certd/certd/compare/v1.1.6...v1.2.0) (2023-10-27) # [1.2.0](https://github.com/certd/certd/compare/v1.1.6...v1.2.0) (2023-10-27)
**Note:** Version bump only for package @certd/plugin-aliyun **Note:** Version bump only for package @certd/plugin-aliyun

View File

@ -1,7 +1,7 @@
{ {
"name": "@certd/plugin-aliyun", "name": "@certd/plugin-aliyun",
"private": false, "private": false,
"version": "1.2.0", "version": "1.2.1",
"main": "./src/index.ts", "main": "./src/index.ts",
"module": "./src/index.ts", "module": "./src/index.ts",
"types": "./src/index.ts", "types": "./src/index.ts",
@ -23,10 +23,10 @@
"node-forge": "^0.10.0" "node-forge": "^0.10.0"
}, },
"devDependencies": { "devDependencies": {
"@certd/acme-client": "^1.2.0", "@certd/acme-client": "^1.2.1",
"@certd/pipeline": "^1.2.0", "@certd/pipeline": "^1.2.1",
"@certd/plugin-cert": "^1.2.0", "@certd/plugin-cert": "^1.2.1",
"@certd/plugin-util": "^1.2.0", "@certd/plugin-util": "^1.2.1",
"@midwayjs/core": "^3.0.0", "@midwayjs/core": "^3.0.0",
"@midwayjs/decorator": "^3.0.0", "@midwayjs/decorator": "^3.0.0",
"@rollup/plugin-commonjs": "^23.0.4", "@rollup/plugin-commonjs": "^23.0.4",

View File

@ -29,6 +29,7 @@ export class AliyunDnsProvider implements IDnsProvider {
async getDomainList() { async getDomainList() {
const params = { const params = {
RegionId: "cn-hangzhou", RegionId: "cn-hangzhou",
PageSize: 100,
}; };
const requestOption = { const requestOption = {
@ -42,14 +43,16 @@ export class AliyunDnsProvider implements IDnsProvider {
async matchDomain(dnsRecord: string) { async matchDomain(dnsRecord: string) {
const list = await this.getDomainList(); const list = await this.getDomainList();
let domain = null; let domain = null;
const domainList = [];
for (const item of list) { for (const item of list) {
domainList.push(item.DomainName);
if (_.endsWith(dnsRecord, item.DomainName)) { if (_.endsWith(dnsRecord, item.DomainName)) {
domain = item.DomainName; domain = item.DomainName;
break; break;
} }
} }
if (!domain) { if (!domain) {
throw new Error("can not find Domain ," + dnsRecord); throw new Error(`can not find Domain :${dnsRecord} ,list: ${JSON.stringify(domainList)}`);
} }
return domain; return domain;
} }

View File

@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.2.1](https://github.com/certd/certd/compare/v1.2.0...v1.2.1) (2023-12-12)
**Note:** Version bump only for package @certd/plugin-all
**Note:** Version bump only for package @certd/plugin-all
# [1.2.0](https://github.com/certd/certd/compare/v1.1.6...v1.2.0) (2023-10-27) # [1.2.0](https://github.com/certd/certd/compare/v1.1.6...v1.2.0) (2023-10-27)
**Note:** Version bump only for package @certd/plugin-all **Note:** Version bump only for package @certd/plugin-all

View File

@ -1,7 +1,7 @@
{ {
"name": "@certd/plugin-all", "name": "@certd/plugin-all",
"private": false, "private": false,
"version": "1.2.0", "version": "1.2.1",
"main": "./src/index.ts", "main": "./src/index.ts",
"module": "./src/index.ts", "module": "./src/index.ts",
"types": "./src/index.ts", "types": "./src/index.ts",
@ -17,12 +17,12 @@
"preview": "vite preview" "preview": "vite preview"
}, },
"devDependencies": { "devDependencies": {
"@certd/pipeline": "^1.2.0", "@certd/pipeline": "^1.2.1",
"@certd/plugin-aliyun": "^1.2.0", "@certd/plugin-aliyun": "^1.2.1",
"@certd/plugin-cert": "^1.2.0", "@certd/plugin-cert": "^1.2.1",
"@certd/plugin-host": "^1.2.0", "@certd/plugin-host": "^1.2.1",
"@certd/plugin-huawei": "^1.2.0", "@certd/plugin-huawei": "^1.2.1",
"@certd/plugin-tencent": "^1.2.0", "@certd/plugin-tencent": "^1.2.1",
"@rollup/plugin-commonjs": "^23.0.4", "@rollup/plugin-commonjs": "^23.0.4",
"@rollup/plugin-json": "^6.0.0", "@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.0.1", "@rollup/plugin-node-resolve": "^15.0.1",

View File

@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.2.1](https://github.com/certd/certd/compare/v1.2.0...v1.2.1) (2023-12-12)
**Note:** Version bump only for package @certd/plugin-cert
**Note:** Version bump only for package @certd/plugin-cert
# [1.2.0](https://github.com/certd/certd/compare/v1.1.6...v1.2.0) (2023-10-27) # [1.2.0](https://github.com/certd/certd/compare/v1.1.6...v1.2.0) (2023-10-27)
**Note:** Version bump only for package @certd/plugin-cert **Note:** Version bump only for package @certd/plugin-cert

View File

@ -1,7 +1,7 @@
{ {
"name": "@certd/plugin-cert", "name": "@certd/plugin-cert",
"private": false, "private": false,
"version": "1.2.0", "version": "1.2.1",
"main": "./src/index.ts", "main": "./src/index.ts",
"module": "./src/index.ts", "module": "./src/index.ts",
"types": "./src/index.ts", "types": "./src/index.ts",
@ -17,8 +17,8 @@
"preview": "vite preview" "preview": "vite preview"
}, },
"dependencies": { "dependencies": {
"@certd/acme-client": "^1.2.0", "@certd/acme-client": "^1.2.1",
"@certd/pipeline": "^1.2.0", "@certd/pipeline": "^1.2.1",
"jszip": "^3.10.1", "jszip": "^3.10.1",
"node-forge": "^0.10.0" "node-forge": "^0.10.0"
}, },

View File

@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.2.1](https://github.com/certd/certd/compare/v1.2.0...v1.2.1) (2023-12-12)
**Note:** Version bump only for package @certd/plugin-host
**Note:** Version bump only for package @certd/plugin-host
# [1.2.0](https://github.com/certd/certd/compare/v1.1.6...v1.2.0) (2023-10-27) # [1.2.0](https://github.com/certd/certd/compare/v1.1.6...v1.2.0) (2023-10-27)
**Note:** Version bump only for package @certd/plugin-host **Note:** Version bump only for package @certd/plugin-host

View File

@ -1,7 +1,7 @@
{ {
"name": "@certd/plugin-host", "name": "@certd/plugin-host",
"private": false, "private": false,
"version": "1.2.0", "version": "1.2.1",
"main": "./src/index.ts", "main": "./src/index.ts",
"module": "./src/index.ts", "module": "./src/index.ts",
"types": "./src/index.ts", "types": "./src/index.ts",
@ -17,8 +17,8 @@
"preview": "vite preview" "preview": "vite preview"
}, },
"dependencies": { "dependencies": {
"@certd/pipeline": "^1.2.0", "@certd/pipeline": "^1.2.1",
"@certd/plugin-cert": "^1.2.0", "@certd/plugin-cert": "^1.2.1",
"ssh2": "^0.8.9" "ssh2": "^0.8.9"
}, },
"devDependencies": { "devDependencies": {

View File

@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.2.1](https://github.com/certd/certd/compare/v1.2.0...v1.2.1) (2023-12-12)
**Note:** Version bump only for package @certd/plugin-huawei
**Note:** Version bump only for package @certd/plugin-huawei
# [1.2.0](https://github.com/certd/certd/compare/v1.1.6...v1.2.0) (2023-10-27) # [1.2.0](https://github.com/certd/certd/compare/v1.1.6...v1.2.0) (2023-10-27)
**Note:** Version bump only for package @certd/plugin-huawei **Note:** Version bump only for package @certd/plugin-huawei

View File

@ -1,7 +1,7 @@
{ {
"name": "@certd/plugin-huawei", "name": "@certd/plugin-huawei",
"private": false, "private": false,
"version": "1.2.0", "version": "1.2.1",
"main": "./src/index.ts", "main": "./src/index.ts",
"module": "./src/index.ts", "module": "./src/index.ts",
"types": "./src/index.ts", "types": "./src/index.ts",
@ -17,10 +17,10 @@
"preview": "vite preview" "preview": "vite preview"
}, },
"dependencies": { "dependencies": {
"@certd/acme-client": "^1.2.0", "@certd/acme-client": "^1.2.1",
"@certd/pipeline": "^1.2.0", "@certd/pipeline": "^1.2.1",
"@certd/plugin-cert": "^1.2.0", "@certd/plugin-cert": "^1.2.1",
"@certd/plugin-util": "^1.2.0", "@certd/plugin-util": "^1.2.1",
"axios": "^0.27.2", "axios": "^0.27.2",
"dayjs": "^1.11.6", "dayjs": "^1.11.6",
"lodash": "^4.17.21", "lodash": "^4.17.21",

View File

@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.2.1](https://github.com/certd/certd/compare/v1.2.0...v1.2.1) (2023-12-12)
**Note:** Version bump only for package @certd/plugin-tencent
**Note:** Version bump only for package @certd/plugin-tencent
# [1.2.0](https://github.com/certd/certd/compare/v1.1.6...v1.2.0) (2023-10-27) # [1.2.0](https://github.com/certd/certd/compare/v1.1.6...v1.2.0) (2023-10-27)
**Note:** Version bump only for package @certd/plugin-tencent **Note:** Version bump only for package @certd/plugin-tencent

View File

@ -1,7 +1,7 @@
{ {
"name": "@certd/plugin-tencent", "name": "@certd/plugin-tencent",
"private": false, "private": false,
"version": "1.2.0", "version": "1.2.1",
"main": "./src/index.ts", "main": "./src/index.ts",
"module": "./src/index.ts", "module": "./src/index.ts",
"types": "./src/index.ts", "types": "./src/index.ts",
@ -17,9 +17,9 @@
"preview": "vite preview" "preview": "vite preview"
}, },
"dependencies": { "dependencies": {
"@certd/pipeline": "^1.2.0", "@certd/pipeline": "^1.2.1",
"@certd/plugin-cert": "^1.2.0", "@certd/plugin-cert": "^1.2.1",
"@certd/plugin-util": "^1.2.0", "@certd/plugin-util": "^1.2.1",
"tencentcloud-sdk-nodejs": "^4.0.44" "tencentcloud-sdk-nodejs": "^4.0.44"
}, },
"devDependencies": { "devDependencies": {

View File

@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.2.1](https://github.com/certd/certd/compare/v1.2.0...v1.2.1) (2023-12-12)
**Note:** Version bump only for package @certd/plugin-util
**Note:** Version bump only for package @certd/plugin-util
# [1.2.0](https://github.com/certd/certd/compare/v1.1.6...v1.2.0) (2023-10-27) # [1.2.0](https://github.com/certd/certd/compare/v1.1.6...v1.2.0) (2023-10-27)
**Note:** Version bump only for package @certd/plugin-util **Note:** Version bump only for package @certd/plugin-util

View File

@ -1,7 +1,7 @@
{ {
"name": "@certd/plugin-util", "name": "@certd/plugin-util",
"private": false, "private": false,
"version": "1.2.0", "version": "1.2.1",
"main": "./src/index.ts", "main": "./src/index.ts",
"module": "./src/index.ts", "module": "./src/index.ts",
"types": "./src/index.ts", "types": "./src/index.ts",
@ -21,7 +21,7 @@
"shelljs": "^0.8.5" "shelljs": "^0.8.5"
}, },
"devDependencies": { "devDependencies": {
"@certd/pipeline": "^1.2.0", "@certd/pipeline": "^1.2.1",
"@rollup/plugin-commonjs": "^23.0.4", "@rollup/plugin-commonjs": "^23.0.4",
"@rollup/plugin-json": "^6.0.0", "@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.0.1", "@rollup/plugin-node-resolve": "^15.0.1",

View File

@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.2.1](https://github.com/certd/certd/compare/v1.2.0...v1.2.1) (2023-12-12)
**Note:** Version bump only for package @certd/ui-client
**Note:** Version bump only for package @certd/ui-client
# [1.2.0](https://github.com/certd/certd/compare/v1.1.6...v1.2.0) (2023-10-27) # [1.2.0](https://github.com/certd/certd/compare/v1.1.6...v1.2.0) (2023-10-27)
* 🔱: [client] sync upgrade with 2 commits [trident-sync] ([aa3207f](https://github.com/certd/certd/commit/aa3207fca5f15f7c3da789989d99c8ae7d1c4551)) * 🔱: [client] sync upgrade with 2 commits [trident-sync] ([aa3207f](https://github.com/certd/certd/commit/aa3207fca5f15f7c3da789989d99c8ae7d1c4551))

View File

@ -1,6 +1,6 @@
{ {
"name": "@certd/ui-client", "name": "@certd/ui-client",
"version": "1.2.0", "version": "1.2.1",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",
@ -61,7 +61,7 @@
"vuedraggable": "^2.24.3" "vuedraggable": "^2.24.3"
}, },
"devDependencies": { "devDependencies": {
"@certd/pipeline": "^1.2.0", "@certd/pipeline": "^1.2.1",
"@rollup/plugin-commonjs": "^25.0.3", "@rollup/plugin-commonjs": "^25.0.3",
"@rollup/plugin-node-resolve": "^15.1.0", "@rollup/plugin-node-resolve": "^15.1.0",
"@types/chai": "^4.3.5", "@types/chai": "^4.3.5",

View File

@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.2.1](https://github.com/fast-crud/fast-server-js/compare/v1.2.0...v1.2.1) (2023-12-12)
### Bug Fixes
* 修复邮箱设置无效的bug ([aaa3224](https://github.com/fast-crud/fast-server-js/commit/aaa322464d0f65e924d1850995540d396ee24d25))
**Note:** Version bump only for package @certd/ui-server
# [1.2.0](https://github.com/fast-crud/fast-server-js/compare/v1.1.6...v1.2.0) (2023-10-27) # [1.2.0](https://github.com/fast-crud/fast-server-js/compare/v1.1.6...v1.2.0) (2023-10-27)
**Note:** Version bump only for package @certd/ui-server **Note:** Version bump only for package @certd/ui-server

View File

@ -1,6 +1,6 @@
{ {
"name": "@certd/ui-server", "name": "@certd/ui-server",
"version": "1.2.0", "version": "1.2.1",
"description": "fast-server base midway", "description": "fast-server base midway",
"private": true, "private": true,
"scripts": { "scripts": {
@ -21,15 +21,15 @@
"mig": "typeorm migration:create -n name" "mig": "typeorm migration:create -n name"
}, },
"dependencies": { "dependencies": {
"@certd/acme-client": "^1.2.0", "@certd/acme-client": "^1.2.1",
"@certd/pipeline": "^1.2.0", "@certd/pipeline": "^1.2.1",
"@certd/plugin-aliyun": "^1.2.0", "@certd/plugin-aliyun": "^1.2.1",
"@certd/plugin-all": "^1.2.0", "@certd/plugin-all": "^1.2.1",
"@certd/plugin-cert": "^1.2.0", "@certd/plugin-cert": "^1.2.1",
"@certd/plugin-host": "^1.2.0", "@certd/plugin-host": "^1.2.1",
"@certd/plugin-huawei": "^1.2.0", "@certd/plugin-huawei": "^1.2.1",
"@certd/plugin-tencent": "^1.2.0", "@certd/plugin-tencent": "^1.2.1",
"@certd/plugin-util": "^1.2.0", "@certd/plugin-util": "^1.2.1",
"@koa/cors": "^3.4.3", "@koa/cors": "^3.4.3",
"@midwayjs/bootstrap": "^3.9.1", "@midwayjs/bootstrap": "^3.9.1",
"@midwayjs/cache": "^3.9.0", "@midwayjs/cache": "^3.9.0",

View File

@ -54,6 +54,7 @@ export class SettingsService extends BaseService<SettingsEntity> {
const entity = await this.repository.findOne({ const entity = await this.repository.findOne({
where: { where: {
key: bean.key, key: bean.key,
userId: bean.userId,
}, },
}); });
if (entity) { if (entity) {