Compare commits

...

2 Commits

Author SHA1 Message Date
ed50690920 bugfix 2025-08-27 14:15:06 +08:00
ebc7327c65 bugfix 2025-08-27 14:14:38 +08:00
2 changed files with 3 additions and 3 deletions

View File

@ -2,9 +2,9 @@
db = DBPools() db = DBPools()
dbname = get_module_dbname('rag') dbname = get_module_dbname('rag')
async with db.sqlorContext(dbname) as sor: async with db.sqlorContext(dbname) as sor:
u = await get_session_userinfo(request) orgid = await get_userorgid()
sql="select * from ragquote where orgid = ${orgid}$ order by enabled_date" sql="select * from ragquote where orgid = ${orgid}$ order by enabled_date"
qs = await sor.sqlExe(sql, {'orgid': u.userorgid}) qs = await sor.sqlExe(sql, {'orgid': orgid})
today = curDateString() today = curDateString()
if len(qs) == 0: if len(qs) == 0:
if params_kw.program_type == 'free': if params_kw.program_type == 'free':

View File

@ -43,7 +43,7 @@
{ {
"widgettype":"Text", "widgettype":"Text",
"options":{ "options":{
"otext":"可用磁盘容量", "otext":"容量",
"i18n":true "i18n":true
} }
}, },