chore: 修正注释若干
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -1,5 +1,6 @@
|
|||||||
/.idea/
|
/.idea/
|
||||||
/Config*
|
/Config*
|
||||||
/GoBuilder.bat
|
/*.bat
|
||||||
|
/*.log
|
||||||
/autoLogin*
|
/autoLogin*
|
||||||
/BitSrunLoginGo*
|
/BitSrunLoginGo*
|
||||||
1
main.go
1
main.go
@@ -15,7 +15,6 @@ func main() {
|
|||||||
//进入守护模式流程
|
//进入守护模式流程
|
||||||
controllers.EnterGuardian()
|
controllers.EnterGuardian()
|
||||||
} else {
|
} else {
|
||||||
//单次登录模式
|
|
||||||
if global.Config.Settings.Basic.Interfaces == "" { //单网卡
|
if global.Config.Settings.Basic.Interfaces == "" { //单网卡
|
||||||
if err := controllers.Login(nil); err != nil {
|
if err := controllers.Login(nil); err != nil {
|
||||||
log.Fatalln("运行出错,状态异常: ", err)
|
log.Fatalln("运行出错,状态异常: ", err)
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ import "net/http"
|
|||||||
type LoginForm struct {
|
type LoginForm struct {
|
||||||
Domain string `json:"domain"`
|
Domain string `json:"domain"`
|
||||||
UserName string `json:"username"`
|
UserName string `json:"username"`
|
||||||
|
//运营商类型
|
||||||
UserType string `json:"user_type"`
|
UserType string `json:"user_type"`
|
||||||
PassWord string `json:"password"`
|
PassWord string `json:"password"`
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user