chore: 修正注释若干

This commit is contained in:
Mmx233
2022-08-16 00:00:23 +08:00
parent 4de55dcbb8
commit e90d58a506
4 changed files with 5 additions and 4 deletions

3
.gitignore vendored
View File

@@ -1,5 +1,6 @@
/.idea/
/Config*
/GoBuilder.bat
/*.bat
/*.log
/autoLogin*
/BitSrunLoginGo*

View File

@@ -15,7 +15,6 @@ func main() {
//进入守护模式流程
controllers.EnterGuardian()
} else {
//单次登录模式
if global.Config.Settings.Basic.Interfaces == "" { //单网卡
if err := controllers.Login(nil); err != nil {
log.Fatalln("运行出错,状态异常: ", err)

View File

@@ -5,6 +5,7 @@ import "net/http"
type LoginForm struct {
Domain string `json:"domain"`
UserName string `json:"username"`
//运营商类型
UserType string `json:"user_type"`
PassWord string `json:"password"`
}