Commit bfff51f8 by Sixong.Zhu

u

parent 167f5125
Showing with 2 additions and 7 deletions
......@@ -194,14 +194,9 @@ export class Xim {
return chat
.getSdk()
.getAxios()
.get<Message[]>(
`/general/xim/model/${p.model}/${
p.obj
}/msgs?lid=${lid}&rid=${rid}&limit=${limit}&desc=${
desc ? 0 : 1
}`
.get<any, Message[]>(
`/general/xim/model/${p.model}/${p.obj}/msgs?lid=${lid}&rid=${rid}&limit=${limit}&desc=${desc ? 0 : 1}`
)
.then((r) => r.data);
}
private setMessagesRead(chatId: number, msg: Message[]) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment