Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

缺少消费者投诉回调解密方法 #323

Open
zhuCheer opened this issue May 31, 2023 · 4 comments
Open

缺少消费者投诉回调解密方法 #323

zhuCheer opened this issue May 31, 2023 · 4 comments
Labels
enhancement New feature or request

Comments

@zhuCheer
Copy link
Contributor

确认下,貌似缺少投诉回调接口解密方法

@iGoogle-ink
Copy link
Member

iGoogle-ink commented Jun 1, 2023

确认下,貌似缺少投诉回调接口解密方法

好的,有时间我找找,后续补充
另外,您方便提供一份回调通知的完整参数吗?我需要测试数据

@zhuCheer
Copy link
Contributor Author

zhuCheer commented Jun 9, 2023

结构是这样,加密数据需要有真实的商户号密钥啥的才能解析,我直接提个PR你来审下呢,哈哈~

{
	"id": "1f5b9cd1-7205-58fe-827e-ee8b12bc8169",
	"create_time": "2023-06-01T14:19:56+08:00",
	"resource_type": "encrypt-resource",
	"event_type": "COMPLAINT.STATE_CHANGE",
	"summary": "投诉状态变更",
	"resource": {
		"original_type": "complaint",
		"algorithm": "AEAD_AES_256_GCM",
		"ciphertext": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
		"associated_data": "complaint",
		"nonce": "lgSUQQVhgMrq"
	}
}

@iGoogle-ink
Copy link
Member

结构是这样,加密数据需要有真实的商户号密钥啥的才能解析,我直接提个PR你来审下呢,哈哈~

{
	"id": "1f5b9cd1-7205-58fe-827e-ee8b12bc8169",
	"create_time": "2023-06-01T14:19:56+08:00",
	"resource_type": "encrypt-resource",
	"event_type": "COMPLAINT.STATE_CHANGE",
	"summary": "投诉状态变更",
	"resource": {
		"original_type": "complaint",
		"algorithm": "AEAD_AES_256_GCM",
		"ciphertext": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
		"associated_data": "complaint",
		"nonce": "lgSUQQVhgMrq"
	}
}

好啊,你能提PR最好了

@iGoogle-ink iGoogle-ink added the enhancement New feature or request label Jun 14, 2023
@huangzhilin
Copy link

我现在也需要这个消费者投诉回调解密方法,不知道如何解决,老大有处理好吗,谢谢?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants