mirror of
https://github.com/langgenius/dify.git
synced 2026-01-31 08:01:46 +08:00
add: return id for banner list
This commit is contained in:
parent
7ba9d30775
commit
b5fb55069b
@ -28,6 +28,7 @@ class BannerApi(Resource):
|
||||
result = []
|
||||
for banner in banners:
|
||||
banner_data = {
|
||||
"id": banner.id,
|
||||
"content": banner.content, # Already parsed as JSON by SQLAlchemy
|
||||
"link": banner.link,
|
||||
"sort": banner.sort,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user