This repository has been archived by the owner on Sep 22, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
BiliAccount.Core.BySMS
Leo Chen edited this page Mar 23, 2020
·
2 revisions
属性名 | 类型 | 描述 |
---|---|---|
TimeStamp | long | Unix时间戳 |
方法名 | 返回类型 | 描述 |
---|---|---|
Login | Account | 登录 |
SMS_Send | string | 发送验证码 |
方法名 | 返回类型 | 描述 |
---|---|---|
GetMD5 | string | 获取字符串md5 |
GetSign | string | 获取参数签名 |
类名 | 描述 |
---|---|
SMS_Login_Exception | 登录错误 |
类名 | 描述 |
---|---|
Login_DataTemplete | 登录数据模板 |
SMS_Send_DataTemplete | 发送短信返回数据模板 |
public static Account Login(string captcha_key, string code, string tel)
参数名 | 类型 | 描述 |
---|---|---|
captcha_key | string | captcha_key |
code | string | 验证码 |
tel | string | 手机号 |
类名 | 描述 |
---|---|
SMS_Login_Exception | 登录错误 |
BiliAccount.Account 账号实例
public static string SMS_Send(string tel)
参数名 | 类型 | 描述 |
---|---|---|
tel | string | 手机号 |
类名 | 描述 |
---|---|
Exceptions.SMS_Send_Exception | 发送短信错误 |
string captcha_key
private static string GetMD5(string str)
参数名 | 类型 | 描述 |
---|---|---|
str | string | 要获取MD5的字符串 |
string MD5字符串
private static string GetSign(string strReq)
参数名 | 类型 | 描述 |
---|---|---|
strReq | string | 请求字符串 |
string 签名字符串
Copyright © 2020 zhangbudademao.com. All rights reserved.