相应消息顺序
This commit is contained in:
@@ -108,7 +108,7 @@ func Pack(name string, data map[string]string) []byte {
|
||||
multi = append(multi, name)
|
||||
// 允许的拓展字段 "seqNo", "fileName"
|
||||
// 固定值顺序 "result", "reqId", "resDesc"
|
||||
keys := []string{"seqNo", "fileName", "result", "reqId", "resDesc"}
|
||||
keys := []string{"seqNo", "reqId", "result", "fileName", "resDesc"}
|
||||
for _, key := range keys {
|
||||
if v, ok := data[key]; ok {
|
||||
// 长度小于32个字符,不允许带分号“;”
|
||||
|
||||
Reference in New Issue
Block a user