mirror of
https://github.com/certd/certd.git
synced 2026-04-24 04:17:25 +08:00
perf: 调整全部静态资源到static目录
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { logger } from "../utils/index.js";
|
||||
import { setLogger, isPlus } from "@certd/plus-core";
|
||||
import { setLogger, isPlus, isComm } from "@certd/plus-core";
|
||||
setLogger(logger);
|
||||
export * from "@certd/plus-core";
|
||||
|
||||
@@ -8,3 +8,9 @@ export function checkPlus() {
|
||||
throw new Error("此为专业版功能,请升级到专业版");
|
||||
}
|
||||
}
|
||||
|
||||
export function checkComm() {
|
||||
if (!isComm()) {
|
||||
throw new Error("此为商业版功能,请升级到商业版");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user