From 007e21c082bed34938c9cce7025ce3e3f10ad608 Mon Sep 17 00:00:00 2001 From: Mmx233 Date: Fri, 1 Dec 2023 16:27:51 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20user=5Ftype=20=E7=A4=BA=E4=BE=8B?= =?UTF-8?q?=E4=B8=8E=E5=AE=9E=E9=99=85=E4=B8=8D=E4=B8=80=E8=87=B4=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98=20#28?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- pkg/srun/models.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7c14b30..2b5320f 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ Config.yaml 说明: form: domain: www.msftconnecttest.com #登录地址 ip 或域名 username: "" #账号 - usertype: cmcc #运营商类型,详情看下方文字说明 + user_type: cmcc #运营商类型,详情看下方文字说明 password: "" #密码 meta: #登录参数 "n": "200" diff --git a/pkg/srun/models.go b/pkg/srun/models.go index 1c7e4b4..40ec1d0 100644 --- a/pkg/srun/models.go +++ b/pkg/srun/models.go @@ -4,7 +4,7 @@ type LoginForm struct { Domain string `json:"domain" yaml:"domain"` 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"` }