fix:修正参数配置文件显示
This commit is contained in:
@@ -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 {
|
||||
|
||||
4
main.go
4
main.go
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user