platformbiz/wwwroot/agree_productauth.dspy
2025-02-26 11:52:06 +08:00

8 lines
312 B
Plaintext

debug(f'{params_kw=}')
db = DBPools()
dbname = await get_module_dbname('platformbiz')
async with db.sqlorContext(dbname) as sor:
await agreedetail_products_clone(params_kw.agreedetailid)
return UiMessage(title='clone product', message='OK')
return UiError(title='Product clone', message='Product clone error')