区分环境

This commit is contained in:
2024-10-02 11:27:51 +08:00
parent ab842d8694
commit b8d9a72dac
30 changed files with 626 additions and 181 deletions

8
aes.go
View File

@@ -48,15 +48,13 @@ type Data struct {
func main() {
// 定义 AES 密钥
key, _ := hex.DecodeString("c58e5aa2f91ddd5e0947ffc119b029c4")
key, _ := hex.DecodeString("958de6826370b57d9ae93b88e5009e26")
var data interface{}
data = map[string]interface{}{
"id_card": "45212220000827423X",
"mobile_no": "18276151590",
"name": "张荣宏",
"time_range": "5",
"id_card": "45212220000827423X",
"name": "张荣宏",
}
// 将结构体转为 JSON 字符串