Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
赵增煜
/
ImageAiParser
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
691eca80
authored
Aug 15, 2024
by
赵增煜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
降序排列
parent
513df6d1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
applications/view/system/parser.py
+1
-1
No files found.
applications/view/system/parser.py
View file @
691eca80
...
...
@@ -26,7 +26,7 @@ def ai_index_page():
status_dic
=
{
0
:
"未解析"
,
2
:
"解析成功"
}
@bp.get
(
"/ai_index"
)
def
ai_index
():
query
=
db
.
session
.
query
(
AiFileParser
)
.
filter
()
.
layui_paginate
()
query
=
db
.
session
.
query
(
AiFileParser
)
.
filter
()
.
order_by
(
AiFileParser
.
id
.
desc
())
.
layui_paginate
()
data
=
[]
for
row
in
query
.
items
:
path_parts
=
json
.
loads
(
row
.
file_path
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment