style: reformat

This commit is contained in:
student_2333
2024-04-30 11:24:33 +08:00
parent bb0fcd8614
commit f38e544815
133 changed files with 7148 additions and 6954 deletions

View File

@@ -1,18 +1,17 @@
import SendMsg from "../msg/SendMsg";
import {ActionName, BaseCheckResult} from "../types";
import {OB11PostSendMsg} from "../../types";
import {log} from "../../../common/utils/log";
import SendMsg from '../msg/SendMsg'
import { ActionName, BaseCheckResult } from '../types'
import { OB11PostSendMsg } from '../../types'
import { log } from '../../../common/utils/log'
class SendGroupMsg extends SendMsg {
actionName = ActionName.SendGroupMsg
actionName = ActionName.SendGroupMsg
protected async check(payload: OB11PostSendMsg): Promise<BaseCheckResult> {
delete payload.user_id;
payload.message_type = "group"
return super.check(payload);
}
protected async check(payload: OB11PostSendMsg): Promise<BaseCheckResult> {
delete payload.user_id
payload.message_type = 'group'
return super.check(payload)
}
}
export default SendGroupMsg
export default SendGroupMsg