def _ver(): real_res = Common.send_msg(uid, cid) if type: exp_res = exps['yz'] else: exp_res = {'code': 200} try: cmp_dict(exp_res, real_res) return True except: return False
def _ver(): real_res = Common.send_msg(uid, cid) if type: exp_res = {'code': 200, 'data': {'extend': {'is_fg': '1'}}} else: exp_res = {'code': 200, 'data': {'extend': {'is_fg': '0'}}} try: cmp_dict(exp_res, real_res) return True except Exception as e: print(e) return False