3 TestCase
Xuxin Wang edited this page 2022-12-08 09:14:26 +00:00
This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

042环境

code = 0 验证成功

{"doid": "shanxi.taiyuan.xiaodian/tt1/f39cefeb-1e40-40af-9d1e-46b31a6d051b", "data": "abc"}

code = 2 标识解析系统里查无此标识

{"doid": "shanxi.taiyuan.xiaodian/tt1/error", "data": "abc"}

code = 4 标识解析系统里的originalHash和dataHash不一致

{"doid": "shanxi.taiyuan.xiaodian/tt1/f39cefeb-1e40-40af-9d1e-46b31a6d051b", "data": "abcdefg"}

code = 5 没有找到dataHash对应的ledgerHash(还未上链)

{"doid":"shanxi.taiyuan.xiaodian/tt1/fe369076-15e9-48aa-ad56-eff0aec3cfa9","data":"abc"}

code = 6 找到了dataHash对应的ledgerHash但是账本返回 not enough response

{"doid": "shanxi.taiyuan.xiaodian/tt2/2497cf0a-03b6-425e-96d8-a3e3c81c13e7", "data": "abc"}