发送签署短信验证码

更新时间:2025-04-22 11:08:11

接口描述

发送签署验证短信,调用此接口后,签署时需要调用相应的短信验证签署接口。

接口名称

MobileService.sendSignMobileCode(String accountId)

请求参数

参数名称

类型

必选

长度

参数说明

accountId

String

40

签署者账号标识,以此获取账户的手机号发送短信。

注意仅可以向中国大陆境内手机号发送短信。

响应参数

展开全部参数参数名称

类型

必选

参数说明

Result

Result



errCode

int

错误码,0标识成功,其他均标识失败

msg

String

错误信息,错误码对应的说明信息

errorShow

boolean

错误信息是否建议显示

请求示例  

		// 获取正式生成服务
		// 获取客户端的代码:ServiceClient getKHD = ServiceClientManager.get("您的pojectId");
		MobileService mobileService=getKHD.mobileService();
		
		Result  result =mobileService.sendSignMobileCode ("B261DE0A7EA145EFA753636D03E0120A");
		if (result.getErrCode() != 0)

			System.out.println("签署短信验证码失败:" + JSONObject.fromObject(result));
		else
			System.out.println("签署短信验证码成功" + JSONObject.fromObject(result));

响应示例

{
    "errCode":0,
    "errShow":false,
    "msg":""
}

错误码

错误码

错误描述

解决方案


我要纠错