icssoa 1 year ago
parent
commit
6210f18a8b
2 changed files with 4 additions and 4 deletions
  1. 2 2
      build/cool/eps/index.ts
  2. 2 2
      src/cool/bootstrap/eps.ts

+ 2 - 2
build/cool/eps/index.ts

@@ -34,7 +34,7 @@ async function getData(temps?: Eps.Entity[]) {
 	try {
 		list = JSON.parse(readFile(join(DistPath, "eps.json")) || "[]");
 	} catch (err: any) {
-		error(`[eps] ${join(DistPath, "eps.json")} 文件异常, ${err.message}`);
+		error(`[cool-eps] ${join(DistPath, "eps.json")} 文件异常, ${err.message}`);
 	}
 
 	// 远程地址
@@ -55,7 +55,7 @@ async function getData(temps?: Eps.Entity[]) {
 			}
 		})
 		.catch(() => {
-			error(`[eps] 后端未启动 ➜  ${url}`);
+			error(`[cool-eps] 后端未启动 ➜  ${url}`);
 		});
 
 	// 合并本地数据

+ 2 - 2
src/cool/bootstrap/eps.ts

@@ -43,7 +43,7 @@ function onUpdate() {
 	// 遍历每一个方法
 	set(eps.service);
 
-	// 合并[eps]
+	// 合并 eps
 	merge(service, eps.service);
 
 	// 合并[local]
@@ -63,7 +63,7 @@ function onUpdate() {
 
 	// 提示
 	if (isDev) {
-		console.log("[eps] update");
+		console.log("[cool-eps] updated");
 	}
 }