mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2024-11-16 04:45:46 +00:00
chore: 整理代码
This commit is contained in:
parent
902041d4ee
commit
8ee99109dc
3
script/NapCat.Way01.bat
Normal file
3
script/NapCat.Way01.bat
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
REM 全新启动脚本 基于 Hook Native 预计版本1.6.0左右发布
|
||||||
|
@echo off
|
||||||
|
pause
|
@ -37,8 +37,6 @@ import { Data as SysData } from '@/proto/SysMessage';
|
|||||||
import { Data as DeviceData } from '@/proto/SysMessage.DeviceChange';
|
import { Data as DeviceData } from '@/proto/SysMessage.DeviceChange';
|
||||||
import { OB11FriendPokeEvent, OB11GroupPokeEvent } from './event/notice/OB11PokeEvent';
|
import { OB11FriendPokeEvent, OB11GroupPokeEvent } from './event/notice/OB11PokeEvent';
|
||||||
import { isEqual } from '@/common/utils/helper';
|
import { isEqual } from '@/common/utils/helper';
|
||||||
import { MiniAppUtil } from '@/common/utils/Packet';
|
|
||||||
import { RequestUtil } from '@/common/utils/request';
|
|
||||||
|
|
||||||
//下面几个其实应该移进Core-Data 缓存实现 但是现在在这里方便
|
//下面几个其实应该移进Core-Data 缓存实现 但是现在在这里方便
|
||||||
//
|
//
|
||||||
|
@ -1,12 +1,11 @@
|
|||||||
import { Response } from 'express';
|
import { Response } from 'express';
|
||||||
import { OB11Response } from '../action/OB11Response';
|
import { OB11Response } from '../action/OB11Response';
|
||||||
import { HttpServerBase } from '@/common/server/http';
|
import { HttpServerBase } from '@/common/server/http';
|
||||||
import { actionHandlers, actionMap } from '../action';
|
import { actionMap } from '../action';
|
||||||
import { ob11Config } from '@/onebot11/config';
|
import { ob11Config } from '@/onebot11/config';
|
||||||
import { selfInfo } from '@/core/data';
|
import { selfInfo } from '@/core/data';
|
||||||
import { OB11HeartbeatEvent } from '@/onebot11/event/meta/OB11HeartbeatEvent';
|
import { OB11HeartbeatEvent } from '@/onebot11/event/meta/OB11HeartbeatEvent';
|
||||||
import { postOB11Event } from '@/onebot11/server/postOB11Event';
|
import { postOB11Event } from '@/onebot11/server/postOB11Event';
|
||||||
import { napCatCore } from '@/core';
|
|
||||||
|
|
||||||
class OB11HTTPServer extends HttpServerBase {
|
class OB11HTTPServer extends HttpServerBase {
|
||||||
name = 'OneBot V11 server';
|
name = 'OneBot V11 server';
|
||||||
|
Loading…
Reference in New Issue
Block a user