mirror of
https://github.com/langgenius/dify.git
synced 2026-04-13 22:57:26 +08:00
add: return id for banner list
This commit is contained in:
parent
b6d9360f72
commit
7fc822379d
@ -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