修改群公告的参数名 feed_id 为 notice_id
This commit is contained in:
1 parent
e7f3cd9f84
commit
5d796bb81a
5 files changed
+10
-10
No files matched your search
@@ -6,7 +6,7 @@ import { FromSchema, JSONSchema } from 'json-schema-to-ts';
|
||||
interface GroupNotice {
|
||||
sender_id: number;
|
||||
publish_time: number;
|
||||
feed_id: string;
|
||||
notice_id: string;
|
||||
message: {
|
||||
text: string
|
||||
image: Array<{
|
||||
@@ -46,7 +46,7 @@ export class GetGroupNotice extends BaseAction<Payload, GroupNotice[]> {
|
||||
const retApiNotice: WebApiGroupNoticeFeed = ret.feeds[key];
|
||||
const retNotice: GroupNotice = {
|
||||
//...ret.feeds[key],
|
||||
feed_id: retApiNotice.fid,
|
||||
notice_id: retApiNotice.fid,
|
||||
sender_id: retApiNotice.u,
|
||||
publish_time: retApiNotice.pubt,
|
||||
message: {
|
||||
|
||||
Reference in new issue
Block a user