Compare commits

..

No commits in common. "88693d7196c1021535071edc3023a84f417a582b" and "129612605a3c98e106a0946bb6a6203d794f57cf" have entirely different histories.

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,8 +27,7 @@ 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