def test_02_api_78dk_platform_cm_base_legal_saveLegalPerson(self): """ 添加法人代表 :return: """ res1 = PlatformAction.test_api_78dk_platform_cm_base_legal_saveLegalPerson( cardnumber=cardnumber, channelormerchantuuid=channelid, legalpersonuuid='', mobile=mobile, name=name, city=0, province=0, region=0) Assertion.verity(json.loads(res1)['code'], '10000') Assertion.verity(json.loads(res1)['msg'], '成功')
def test_02_api_78dk_platform_cm_base_legal_saveLegalPerson(self): # 添加法人代表 global channelid channelid = global_dict.get('channelid') res1 = PlatformAction.test_api_78dk_platform_cm_base_legal_saveLegalPerson( cardnumber=cardnumber, channelormerchantuuid=channelid, legalpersonuuid='', mobile=mobile, name=name) Assertion.verity(json.loads(res1)['code'], '10000') Assertion.verity(json.loads(res1)['msg'], '成功')