Compare commits
2 Commits
0f90ce4c6c
...
c586a2239e
Author | SHA1 | Date | |
---|---|---|---|
c586a2239e | |||
5fdafbf23c |
@ -7,7 +7,7 @@ import org.springframework.context.annotation.EnableAspectJAutoProxy;
|
||||
|
||||
@SpringBootApplication
|
||||
@EnableAspectJAutoProxy
|
||||
@EnableCaching
|
||||
//@EnableCaching
|
||||
public class DifyBackendApplication {
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
@ -130,7 +130,7 @@ public class V1ChatController {
|
||||
*/
|
||||
@DeleteMapping("/conversation")
|
||||
@PreAuthorize("hasAuthority('dify:chat:delete')")
|
||||
@OperationLogAnnotation(content = "'dify对话", operationType = "删除")
|
||||
@OperationLogAnnotation(content = "'dify对话'", operationType = "删除")
|
||||
public void deleteConversation(@RequestParam String conversationId, @RequestParam String appId) {
|
||||
String apiKey = appEntityService.getApikey(appId);
|
||||
String userId = SecurityUtil.getUserInfo().id.toString();
|
||||
|
Loading…
Reference in New Issue
Block a user