加密解密
This commit is contained in:
parent
4d28483087
commit
8ead5e11e2
|
@ -29,30 +29,25 @@ const (
|
||||||
MerchantNotFound = 1100
|
MerchantNotFound = 1100
|
||||||
|
|
||||||
// app
|
// app
|
||||||
<<<<<<< HEAD
|
|
||||||
AppNotFound = 1200
|
AppNotFound = 1200
|
||||||
AppDisabled = 1201
|
AppDisabled = 1201
|
||||||
AppIpNotAllow = 1202
|
AppIpNotAllow = 1202
|
||||||
AppRsaDecryptKeyNotFound = 1300
|
AppRsaDecryptKeyNotFound = 1203
|
||||||
AppRsaDecryptFail = 1301
|
AppRsaDecryptFail = 1210
|
||||||
AppRsaEncryptKeyNotFound = 1302
|
AppRsaEncryptKeyNotFound = 1211
|
||||||
AppRsaEncryptFail = 1303
|
AppRsaEncryptFail = 1212
|
||||||
AppSM2DecryptKeyNotFound = 1310
|
AppSM2DecryptKeyNotFound = 1220
|
||||||
AppSM2DecryptFail = 1311
|
AppSM2DecryptFail = 1221
|
||||||
AppSM2EncryptKeyNotFound = 1312
|
AppSM2EncryptKeyNotFound = 1222
|
||||||
AppSM2EncryptFail = 1313
|
AppSM2EncryptFail = 1223
|
||||||
AppSM4DecryptKeyNotFound = 1320
|
AppSM4DecryptKeyNotFound = 1230
|
||||||
AppSM4DecryptFail = 1321
|
AppSM4DecryptFail = 1231
|
||||||
AppSM4EncryptKeyNotFound = 1322
|
AppSM4EncryptKeyNotFound = 1232
|
||||||
AppSM4EncryptFail = 1323
|
AppSM4EncryptFail = 1233
|
||||||
=======
|
|
||||||
AppNotFound = 1200
|
|
||||||
AppDisabled = 1201
|
|
||||||
AppIpNotAllow = 1202
|
|
||||||
|
|
||||||
//渠道
|
//渠道
|
||||||
PayChannelNotFound = 1300
|
PayChannelNotFound = 1300
|
||||||
>>>>>>> dev/dev1.0
|
|
||||||
)
|
)
|
||||||
|
|
||||||
var MsgEN = map[int]string{
|
var MsgEN = map[int]string{
|
||||||
|
@ -75,7 +70,6 @@ var MsgZH = map[int]string{
|
||||||
AppNotFound: "app_id未找到",
|
AppNotFound: "app_id未找到",
|
||||||
AppDisabled: "app通道关闭",
|
AppDisabled: "app通道关闭",
|
||||||
AppIpNotAllow: "ip不在白名单内",
|
AppIpNotAllow: "ip不在白名单内",
|
||||||
<<<<<<< HEAD
|
|
||||||
|
|
||||||
AppRsaDecryptKeyNotFound: "密匙缺失,无法进行Rsa解密",
|
AppRsaDecryptKeyNotFound: "密匙缺失,无法进行Rsa解密",
|
||||||
AppRsaDecryptFail: "Rsa解密失败",
|
AppRsaDecryptFail: "Rsa解密失败",
|
||||||
|
@ -91,9 +85,8 @@ var MsgZH = map[int]string{
|
||||||
AppSM4DecryptFail: "sm4解密失败",
|
AppSM4DecryptFail: "sm4解密失败",
|
||||||
AppSM4EncryptKeyNotFound: "密匙缺失,无法进行sm4加密",
|
AppSM4EncryptKeyNotFound: "密匙缺失,无法进行sm4加密",
|
||||||
AppSM4EncryptFail: "sm4加密失败",
|
AppSM4EncryptFail: "sm4加密失败",
|
||||||
=======
|
|
||||||
PayChannelNotFound: "支付方式不存在",
|
PayChannelNotFound: "支付方式不存在",
|
||||||
>>>>>>> dev/dev1.0
|
|
||||||
}
|
}
|
||||||
var MsgMap map[string]map[int]string = map[string]map[int]string{"en": MsgZH}
|
var MsgMap map[string]map[int]string = map[string]map[int]string{"en": MsgZH}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue