This commit is contained in:
2024-10-12 20:41:55 +08:00
parent 8c09120db6
commit 597e4f1b89
75 changed files with 5009 additions and 823 deletions

8
aes.go
View File

@@ -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 字符串