Compare commits

..

2 Commits

Author SHA1 Message Date
ping
88693d7196 Merge branch 'main' of https://git.opencomputing.cn/yumoqing/kboss 2025-10-20 17:06:18 +08:00
ping
a1f2d2d2ad update 2025-10-20 17:06:04 +08:00

View File

@ -2,7 +2,7 @@ async def getpromoting(ns):
"""促销展示"""
db = DBPools()
async with db.sqlorContext('kboss') as sor:
if ns:
# if ns:
# 生成邀请码展示促销活动
users_id = await get_user()
if ns.get('type'):
@ -27,7 +27,8 @@ async def getpromoting(ns):
ns['orgid'] = orgid[0]['orgid']
reacs = await sor.R('promoting', ns)
return {'status': True, 'data': reacs}
return {'status': False, 'msg': '参数不正确'}
# return {'status': False, 'msg': '参数不正确'}
ret = await getpromoting(params_kw)
return ret