...
|
...
|
@@ -131,3 +131,23 @@ type ResponseAddUser struct { |
|
|
// AdminName string `json:"admin_name"` //主管名称
|
|
|
// } `json:"data"`
|
|
|
// }
|
|
|
|
|
|
//发送验证码短信
|
|
|
type RequestSmsCodeSend struct {
|
|
|
Phone string `json:"phone"`
|
|
|
}
|
|
|
|
|
|
func (r *RequestSmsCodeSend) Format() []byte {
|
|
|
var bt []byte
|
|
|
bt, _ = json.Marshal(r)
|
|
|
return bt
|
|
|
}
|
|
|
|
|
|
//GetPath 实现IUCenterParam接口
|
|
|
func (r *RequestSmsCodeSend) GetPath() (string, string) {
|
|
|
return "/sendSms", "POST"
|
|
|
}
|
|
|
|
|
|
//短信验正码 登录
|
|
|
type RequestLoginSms struct {
|
|
|
} |
...
|
...
|
|