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

search()不能使用. #7

Open
xingkoo opened this issue Apr 10, 2020 · 4 comments
Open

search()不能使用. #7

xingkoo opened this issue Apr 10, 2020 · 4 comments
Labels
help wanted Extra attention is needed

Comments

@xingkoo
Copy link

xingkoo commented Apr 10, 2020

请问 seach() 方法 地址规范查询 使用时报错,

Exception 'ChinaDivisions\Exceptions\ResponseException' with message 'HSF 服务地址未找到:ReceiveServiceInvoker~serviceName=CNDZK.ADDRESS.QUERY.123,appName=cndzk_address_query,version=1.0.0,异常信息=HSF 服务地址未找到 traceId:0b521c8b15864945343516403e2d21'

我在 https://global.link.cainiao.com/ 注册了账号,新增了应用,
尝试修改 search的参数为:

$request = $this->client->build(
            'CNDZK_ADDRESS_QUERY',
            '********key************',
            [
                'address' => $fullAddress,
                'limit'   => intval($limit),
            ],
            '*************cp code******'
        );

后,直接报错

Exception 'ChinaDivisions\Exceptions\ResponseException' with message '非法的XML/JSON:request content from invoker is not invalid json. traceId:0b51153b15864938084385919e0587'

是我哪个地方操作错误了吗?

@wi1dcard
Copy link
Owner

不好意思,可能是由于项目依赖的 API 有所变动。

@xingkoo
Copy link
Author

xingkoo commented Apr 26, 2020

这个有什么解决方式吗?
菜鸟官网查询了很久没有找到相关资料。尝试着使用后台普通用户的身份,也没有任何地方可以获取到数据的。
作者辛苦了!

@wi1dcard
Copy link
Owner

目前我已经脱离相关工作蛮久了,很抱歉暂时提供不了什么帮助哈。

@xingkoo
Copy link
Author

xingkoo commented Apr 26, 2020 via email

@wi1dcard wi1dcard added the help wanted Extra attention is needed label May 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants