Compare commits

..

No commits in common. "ed506909209fd1c78829150c7d7a8f1e660041bc" and "b0dbc74a32d5787daab17921ee57fe50ae90dabf" have entirely different histories.

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:
orgid = await get_userorgid() u = await get_session_userinfo(request)
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': orgid}) qs = await sor.sqlExe(sql, {'orgid': u.userorgid})
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
} }
}, },