|
@@ -246,7 +246,7 @@ func (m *Front) WxKeysetAjaxReq() {
|
|
}
|
|
}
|
|
if ojy["a_key"] != nil {
|
|
if ojy["a_key"] != nil {
|
|
ak, _ := ojy["a_key"].([]interface{})
|
|
ak, _ := ojy["a_key"].([]interface{})
|
|
- if len(ak) >= indexInt {
|
|
|
|
|
|
+ if len(ak) > indexInt {
|
|
if akmap, _ := ak[indexInt].(map[string]interface{}); akmap["from"] != nil {
|
|
if akmap, _ := ak[indexInt].(map[string]interface{}); akmap["from"] != nil {
|
|
saveKey["from"] = akmap["from"]
|
|
saveKey["from"] = akmap["from"]
|
|
}
|
|
}
|