LogLibraryCreate 记录知识库创建日志
(c *gin.Context, spaceName, libraryName string)
| 107 | |
| 108 | // LogLibraryCreate 记录知识库创建日志 |
| 109 | func LogLibraryCreate(c *gin.Context, spaceName, libraryName string) { |
| 110 | content := fmt.Sprintf("在空间【%s】中创建知识库【%s】", spaceName, libraryName) |
| 111 | LogLibraryOperation(c, model.SystemLogActionCreate, libraryName, content) |
| 112 | } |
| 113 | |
| 114 | // LogLibraryDelete 记录知识库删除日志 |
| 115 | func LogLibraryDelete(c *gin.Context, spaceName, libraryName string) { |
no test coverage detected