fix: use uuid() instead of getID() in dspy files

This commit is contained in:
Hermes Agent 2026-06-24 12:46:34 +08:00
parent 8a2d8b39aa
commit f8c2347292
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ try:
dbname = get_module_dbname('discount')
data = dict(params_kw)
data['id'] = getID()
data['id'] = uuid()
data['resellerid'] = user_orgid
async with DBPools().sqlorContext(dbname) as sor:

View File

@ -5,7 +5,7 @@ try:
dbname = get_module_dbname('discount')
data = dict(params_kw)
data['id'] = getID()
data['id'] = uuid()
data['resellerid'] = user_orgid
async with DBPools().sqlorContext(dbname) as sor: