mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-12-26 02:31:20 +08:00
fix
This commit is contained in:
parent
9e6b09765e
commit
5f3775584b
@ -12,4 +12,5 @@
|
||||
12. 修复群成员加入时间 上次活跃 活跃等级字段 - 影响 API: /get_group_member_info /get_group_member_list
|
||||
13. 修复视频所需的 ffmpeg 路径不正确导致视频封面和时长获取失败 - 影响 Event/API
|
||||
14. 支持音乐卡片,需要配置签名服务器地址, `config/onebot11_<qq>.json`的`musicSignUrl`字段 - 新增 Feat: Sign Music
|
||||
15. 支持获取与设置群公告 - 新增 API: (/_send_group_notice 暂时未完全实现) /_get_group_notice
|
||||
15. 支持获取与设置群公告 - 新增 API: (/_send_group_notice 暂时未完全实现) /_get_group_notice
|
||||
16. 支持获取群精华消息 - 新增 API: /get_essence_msg_list
|
||||
2
src/core
2
src/core
@ -1 +1 @@
|
||||
Subproject commit 8cd595b3cb413fe4600ee088dc44f2ddac0e281a
|
||||
Subproject commit 2d930457e203b2f4deee12c7aad8ca864766a941
|
||||
@ -4,16 +4,17 @@ import { OB11Constructor } from '../../constructor';
|
||||
import BaseAction from '../BaseAction';
|
||||
import { ActionName } from '../types';
|
||||
import { NTQQMsgApi } from '@/core/apis/msg';
|
||||
import { WebApi } from '@/core/apis/webapi';
|
||||
|
||||
interface PayloadType {
|
||||
group_id: number
|
||||
group_id: number;
|
||||
pages: number;
|
||||
}
|
||||
|
||||
export class GetGroupEssence extends BaseAction<PayloadType, null> {
|
||||
actionName = ActionName.GoCQHTTP_GetEssenceMsg;
|
||||
export class GetGroupEssence extends BaseAction<PayloadType, any> {
|
||||
actionName = ActionName.GoCQHTTP_GetEssenceMsg;
|
||||
|
||||
protected async _handle(payload: PayloadType) {
|
||||
//await NTQQMsgApi.GetEssenceMsg()
|
||||
return null;
|
||||
}
|
||||
protected async _handle(payload: PayloadType) {
|
||||
return await WebApi.getGroupEssenceMsg(payload.group_id.toString(), payload.pages.toString());
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user