Commit 167f5125 by Sixong.Zhu

u

parent 8b138a08
Showing with 3 additions and 2 deletions
...@@ -194,13 +194,14 @@ export class Xim { ...@@ -194,13 +194,14 @@ export class Xim {
return chat return chat
.getSdk() .getSdk()
.getAxios() .getAxios()
.get( .get<Message[]>(
`/general/xim/model/${p.model}/${ `/general/xim/model/${p.model}/${
p.obj p.obj
}/msgs?lid=${lid}&rid=${rid}&limit=${limit}&desc=${ }/msgs?lid=${lid}&rid=${rid}&limit=${limit}&desc=${
desc ? 0 : 1 desc ? 0 : 1
}` }`
); )
.then((r) => r.data);
} }
private setMessagesRead(chatId: number, msg: Message[]) { 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