async def cpc_add(ns={}): db = DBPools() async with db.sqlorContext('kboss') as sor: ns['id'] = uuid() try: await sor.C('cpc_list', ns) return { 'status': True, 'msg': '算力中心添加成功' } except Exception as e: return { 'status': False, 'msg': '算力中心添加错误, %s' % str(e) } ret = await cpc_add(params_kw) return ret