def dft_dbi_get_three_camera_status(self, inputData): # try: # with transaction.atomic(): DappDbF4icm_view = DappDbF4icm.dct_classDbiL3apF4icm() result = DappDbF4icm_view.dft_dbi_get_three_camera_status(inputData) # except Exception: # result={"body":{"status":"true","auth":"false","admin":"false"},"msg":"数据库发生错误,请重试"} return result
def dft_dbi_adjust_camera_zoom(self, inputData): try: with transaction.atomic(): DappDbF4icm_view = DappDbF4icm.dct_classDbiL3apF4icm() result = DappDbF4icm_view.dft_dbi_adjust_camera_zoom(inputData) except Exception: result = { "body": { "status": "true", "auth": "false", "admin": "false" }, "msg": "数据库发生错误,请重试" } return result