1
0
mirror of https://github.com/fumiama/paper-manager.git synced 2026-06-12 20:40:33 +08:00

implement genfile

This commit is contained in:
源文雨
2023-04-22 21:31:12 +08:00
parent 9d9e04ebd2
commit 2e44127672
16 changed files with 898 additions and 404 deletions

View File

@@ -80,6 +80,7 @@ func (f *FileDatabase) DelQuestion(id int64, istemp bool) error {
type Question struct {
ID int64 // ID is the first 8 bytes of the Plain's md5
FileID int64 // FileID is fk to File(ID)
Path string // Path is the question's docx position
Plain string // Plain is the plain text of the question (like markdown format)
Images []byte // Images is json of the image dhash in XML, ex. ['rId1': '1234567890abcdef', ...]