all_poke替换成send_poke
This commit is contained in:
1 parent
a9e471deca
commit
fb405a5c1c
4 files changed
+7
-7
No files matched your search
@@ -9,11 +9,11 @@ const SchemaData = Type.Object({
|
||||
|
||||
type Payload = Static<typeof SchemaData>;
|
||||
|
||||
export class AllPoke extends GetPacketStatusDepends<Payload, any> {
|
||||
actionName = ActionName.AllPoke;
|
||||
export class SendPoke extends GetPacketStatusDepends<Payload, any> {
|
||||
actionName = ActionName.SendPoke;
|
||||
payloadSchema = SchemaData;
|
||||
|
||||
async _handle(payload: Payload) {
|
||||
await this.core.apis.PacketApi.pkt.operation.AllPoke(+payload.user_id, payload.group_id ? +payload.group_id : undefined);
|
||||
await this.core.apis.PacketApi.pkt.operation.SendPoke(+payload.user_id, payload.group_id ? +payload.group_id : undefined);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user