}
This commit is contained in:
@@ -63,7 +63,8 @@ func TestImDecpryt(t *testing.T) {
|
||||
//key, _ := base64.StdEncoding.DecodeString("a81eb3df418d83d6a1a4b7c572156d2f")
|
||||
//data, err := utils.AESCBC16Decrypt([]byte(msg), []byte("a81eb3df418d83d6"), []byte("a81eb3df418d83d6"))
|
||||
//data, err := utils.AESCBCDecpryt([]byte(msg), key, key)
|
||||
res, _ := utils.AESCBCDecpryt(data, []byte(key1), []byte(key1))
|
||||
res, err := utils.AESCBCDecpryt(data, []byte(key1), []byte(key1))
|
||||
fmt.Println(err)
|
||||
fmt.Println(reflect.TypeOf(res))
|
||||
fmt.Println(string(res))
|
||||
}
|
||||
|
||||
@@ -15,8 +15,8 @@ const (
|
||||
SuccessMsg = "success" //成功 msg
|
||||
FailCode = -1
|
||||
FailMsg = "fail"
|
||||
//SFShopStoreID = "3243279847393" //默认以一个店铺发单
|
||||
SFShopStoreID = "3263670062849" //默认以一个店铺发单
|
||||
//SFShopStoreID = "3263670062849" //测试店铺ID
|
||||
SFShopStoreID = "3270246375697" //正式店铺ID
|
||||
DefaultVersion = 19 //参照文档主版本号填写 如:文档版本号1.9,version=19,推荐使用版本19
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user