async def price_guanli_gai(ns={}): """ 修改售价管理 :return: """ db = DBPools() async with db.sqlorContext('kboss') as sor: try: await sor.U('product_salemode', {'id': ns.get('gai_jia_id'), 'price': ns.get('price')}) return { 'status': True, 'msg': '修改售价成功' } except Exception as e: raise e return { 'status': False, 'msg': '修改售价失败' } ret = await price_guanli_gai(params_kw) return ret