mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-27 01:32:03 +08:00
测试 chat message(list 和 delete)
This commit is contained in:
parent
6b8174a5a6
commit
3556e460e7
@ -34,7 +34,7 @@ public class ChatMessageController {
|
|||||||
return chatMessageService.list(req);
|
return chatMessageService.list(req);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Operation(summary = "聊天记录", description = "查询个人的聊天记录")
|
@Operation(summary = "聊天记录 - 删除", description = "删除记录")
|
||||||
@DeleteMapping("/{chatConversationId}/{id}")
|
@DeleteMapping("/{chatConversationId}/{id}")
|
||||||
public CommonResult delete(@PathVariable("chatConversationId") Long chatConversationId,
|
public CommonResult delete(@PathVariable("chatConversationId") Long chatConversationId,
|
||||||
@PathVariable("id") Long id) {
|
@PathVariable("id") Long id) {
|
||||||
|
@ -0,0 +1,10 @@
|
|||||||
|
|
||||||
|
|
||||||
|
### message list
|
||||||
|
GET {{baseUrl}}/ai/chat/message/list?chatConversationId=1781604279872581644
|
||||||
|
Authorization: {{token}}
|
||||||
|
|
||||||
|
|
||||||
|
### message delete
|
||||||
|
DELETE {{baseUrl}}/ai/chat/message/1781604279872581644/8
|
||||||
|
Authorization: {{token}}
|
Loading…
Reference in New Issue
Block a user