temp
This commit is contained in:
8
aes.go
8
aes.go
@@ -48,13 +48,15 @@ type Data struct {
|
||||
|
||||
func main() {
|
||||
// 定义 AES 密钥
|
||||
key, _ := hex.DecodeString("85af347e771bd631bf734068ad5798cc")
|
||||
key, _ := hex.DecodeString("0ebf6481d213c846070c8f2964617d42")
|
||||
|
||||
var data interface{}
|
||||
|
||||
data = map[string]interface{}{
|
||||
"id_card": "45212220000827423X",
|
||||
"name": "张荣宏",
|
||||
"id_card": "45212220000827423X",
|
||||
"name": "张荣宏",
|
||||
"mobile_no": "18276151590",
|
||||
"time_range": "5",
|
||||
}
|
||||
|
||||
// 将结构体转为 JSON 字符串
|
||||
|
||||
Reference in New Issue
Block a user