fix:修正参数配置文件显示

This commit is contained in:
Mmx
2021-07-11 11:03:47 +08:00
parent 49fdaf11c8
commit fa3cf9396b
2 changed files with 6 additions and 6 deletions

View File

@@ -8,10 +8,10 @@ type LoginForm struct {
}
type LoginMeta struct {
N string `json:"n"`
VType string `json:"v_type"`
Acid string `json:"acid"`
Enc string `json:"enc"`
N string `json:"n"`
Type string `json:"type"`
Acid string `json:"acid"`
Enc string `json:"enc"`
}
type LoginInfo struct {

View File

@@ -62,7 +62,7 @@ func main() {
var chkstr = G.Token + G.Form.UserName + G.Token + G.Md5
chkstr += G.Token + G.Meta.Acid + G.Token + G.Ip
chkstr += G.Token + G.Meta.N + G.Token + G.Meta.VType
chkstr += G.Token + G.Meta.N + G.Token + G.Meta.Type
chkstr += G.Token + G.EncryptedInfo
G.EncryptedChkstr = Util.Sha1(chkstr)
@@ -76,7 +76,7 @@ func main() {
"info": G.EncryptedInfo,
"chksum": G.EncryptedChkstr,
"n": G.Meta.N,
"type": G.Meta.VType,
"type": G.Meta.Type,
"os": "Windows 10",
"name": "windows",
"double_stack": "0",