fix: user_type 示例与实际不一致的问题 #28
This commit is contained in:
@@ -38,7 +38,7 @@ Config.yaml 说明:
|
|||||||
form:
|
form:
|
||||||
domain: www.msftconnecttest.com #登录地址 ip 或域名
|
domain: www.msftconnecttest.com #登录地址 ip 或域名
|
||||||
username: "" #账号
|
username: "" #账号
|
||||||
usertype: cmcc #运营商类型,详情看下方文字说明
|
user_type: cmcc #运营商类型,详情看下方文字说明
|
||||||
password: "" #密码
|
password: "" #密码
|
||||||
meta: #登录参数
|
meta: #登录参数
|
||||||
"n": "200"
|
"n": "200"
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ type LoginForm struct {
|
|||||||
Domain string `json:"domain" yaml:"domain"`
|
Domain string `json:"domain" yaml:"domain"`
|
||||||
Username string `json:"username" yaml:"username"`
|
Username string `json:"username" yaml:"username"`
|
||||||
//运营商类型
|
//运营商类型
|
||||||
UserType string `json:"user_type" yaml:"userType"`
|
UserType string `json:"user_type" yaml:"user_type"`
|
||||||
Password string `json:"password" yaml:"password"`
|
Password string `json:"password" yaml:"password"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user