Exemplo n.º 1
0
def ccp_send_sms_code(moble, sme_code):
    # 功能:发送短信
    # 参数:手机号,验证码信息
    ccp = CCP()
    ret = ccp.send_template_sms(moble, [sme_code, 5], 1)
    # 返回值:发送成功与否
    return ret
Exemplo n.º 2
0
def ccp_send_sms_code(mobile, sms_code):
    """
    功能:使用yuntongxun发送短信
    参数:mobile手机号,sms_code验证码
    :return: 云通讯发送短信接口的返回值返回
    """
    ccp = CCP()
    result = ccp.send_template_sms(mobile, [sms_code, 5], 1)
    return result
Exemplo n.º 3
0
def ccp_send_sms_code(mobile, sms_code):

    ccp = CCP()
    #该函数就是一个任务,用于发送短信
    result = ccp.send_template_sms(mobile, [sms_code, 5], 1)
    return result