update
This commit is contained in:
parent
33b48be461
commit
a1f2d2d2ad
@ -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
|
||||
Loading…
x
Reference in New Issue
Block a user