🦄 refactor(service): 新加文件夹统一存放服务文件

This commit is contained in:
huzhengrong 2025-10-24 11:17:14 +08:00
parent a4cafe58f9
commit 6448562364
5 changed files with 11 additions and 11 deletions

View File

@ -3,7 +3,7 @@ module.exports = {
// 消息队列管理器(优先启动)
{
name: "msg-manager",
script: "msgManager.js",
script: "./service/msgManager.js",
instances: 1,
autorestart: true,
watch: false,
@ -19,7 +19,7 @@ module.exports = {
},
{
name: "picc-spider",
script: "picc.js",
script: "./service/picc.js",
instances: 1,
autorestart: true,
watch: false,

View File

@ -2,9 +2,9 @@ import axios from "axios";
import fs from "fs";
import path from "path";
import JSON5 from "json5";
import { timestampToDate, loopCall, keywordsInclude } from "./utils.js";
import config from "./config.js";
import { SQLiteMessageQueue } from "./sqlite.js";
import { timestampToDate, loopCall, keywordsInclude } from "../utils.js";
import config from "../config.js";
import { SQLiteMessageQueue } from "../sqlite.js";
class JiangHuai {
constructor(jsonMap) {

View File

@ -3,9 +3,9 @@ import { EventEmitter } from "events";
import fs from "fs";
import path from "path";
// import { EmailSender } from "./mailer.js";
import { sendQYWechatMessage } from "./utils.js"
import { SQLiteMessageQueue } from "./sqlite.js";
import { md5 } from "./utils.js";
import { sendQYWechatMessage } from "../utils.js"
import { SQLiteMessageQueue } from "../sqlite.js";
import { md5 } from "../utils.js";
import axios from "axios";
class MessageQueue extends EventEmitter {

View File

@ -1,9 +1,9 @@
import axios from "axios";
import fs from "fs";
import path from "path";
import { timestampToDate, loopCall, keywordsInclude } from "./utils.js";
import config from "./config.js";
import { SQLiteMessageQueue } from "./sqlite.js";
import { timestampToDate, loopCall, keywordsInclude } from "../utils.js";
import config from "../config.js";
import { SQLiteMessageQueue } from "../sqlite.js";
class PICC {
constructor(key,categoryId) {