up
This commit is contained in:
@@ -69,9 +69,10 @@ Ali:
|
||||
SystemConfig:
|
||||
ThreeVerify: false
|
||||
CommissionSafeMode: false # 佣金安全防御模式:true-冻结模式,false-直接结算模式
|
||||
#天远数科 fd92d805d29efec28542197476cf5d40
|
||||
WechatH5:
|
||||
AppID: "wxd391e40295bd9dfb"
|
||||
AppSecret: "f0fa74f7ed8c3c9953677465d44a4c0c"
|
||||
AppID: "wx00f616268b0d0061"
|
||||
AppSecret: "fd92d805d29efec28542197476cf5d40"
|
||||
WechatMini:
|
||||
AppID: "wx781abb66b3368963" # 小程序的AppID
|
||||
AppSecret: "c7d02cdb0fc23c35c93187af9243b00d" # 小程序的AppSecret
|
||||
|
||||
@@ -73,8 +73,8 @@ SystemConfig:
|
||||
ThreeVerify: true
|
||||
CommissionSafeMode: false # 佣金安全防御模式:true-冻结模式,false-直接结算模式
|
||||
WechatH5:
|
||||
AppID: "wxd391e40295bd9dfb"
|
||||
AppSecret: "f0fa74f7ed8c3c9953677465d44a4c0c"
|
||||
AppID: "wx00f616268b0d0061"
|
||||
AppSecret: "fd92d805d29efec28542197476cf5d40"
|
||||
# WechatH5:
|
||||
# AppID: "wxa581992dc74d860e"
|
||||
# AppSecret: "4de1fbf521712247542d49907fcd5dbf"
|
||||
|
||||
@@ -9,7 +9,7 @@ import (
|
||||
|
||||
func TestAesEcbMobileEncryption(t *testing.T) {
|
||||
// 测试手机号加密
|
||||
mobile := "18653052547"
|
||||
mobile := "18794854576"
|
||||
key := []byte("ff83609b2b24fc73196aac3d3dfb874f") // 16字节AES-128密钥
|
||||
|
||||
keyStr := hex.EncodeToString(key)
|
||||
@@ -19,7 +19,7 @@ func TestAesEcbMobileEncryption(t *testing.T) {
|
||||
t.Fatalf("手机号加密失败: %v", err)
|
||||
}
|
||||
fmt.Printf("encrypted: %s\n", encrypted)
|
||||
jmStr := "m9EEeW9ZBBJmi1hx1k1uIQ=="
|
||||
jmStr := "hkRaxL8UeMfTveu12i0paQ=="
|
||||
// 测试解密
|
||||
decrypted, err := DecryptMobile(jmStr, keyStr)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user