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 { type LoginMeta struct {
N string `json:"n"` N string `json:"n"`
VType string `json:"v_type"` Type string `json:"type"`
Acid string `json:"acid"` Acid string `json:"acid"`
Enc string `json:"enc"` Enc string `json:"enc"`
} }
type LoginInfo struct { type LoginInfo struct {

View File

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