main #72

Merged
charles merged 3 commits from main into prod 2026-03-27 10:36:00 +08:00
Showing only changes of commit 81e405c3b8 - Show all commits

View File

@ -0,0 +1,21 @@
async def get_ncmatch_publish_product_to_model(ns={}):
db = DBPools()
async with db.sqlorContext('kboss') as sor:
try:
sql = """SELECT * FROM user_publish_product WHERE listing_status = 'listing' AND del_flg = '0';"""
result = await sor.sqlExe(sql, {})
return {
'status': True,
'msg': 'successfully retrieved published products',
'data': result
}
except Exception as e:
return {
'status': False,
'msg': 'failed to retrieve published products',
'data': e
}
ret = await get_ncmatch_publish_product_to_model(params_kw)
return ret