接口信息:
https://doc.youzanyun.com/detail/API/0/820
API名称:获取有赞客订单详情
youzan.yzk.independent.order.detail.get.1.0.0
应用名称:开团有货
App Id: 81269
背景:
确认订单E20220411112811031906169为本app下店铺订单确认订单E20220411112811031906169属于2285148168 这个有赞客pid的订单
确认本appid拥有“youzan.yzk.independent.order.detail.get.1.0.0”接口权限
请求传参:
operator:2285148168
order_no :E20220411112811031906169
返回:
"gw_err_resp": { "trace_id": "yz7-0ae846a8-1649727850452-447758", "err_msg": "业务异常,message: com.youzan.ad.cps.order.api.common.exception.CpsOrderSysException: CPS流量主不存在\ncom.youzan.ad.cps.order.api.common.exception.CpsOrderSysException: CPS流量主不存在\n\tat com.youzan.ad.cps.order.biz.yun.YunYzkOrderBiz.getYzkOrderDetail(YunYzkOrderBiz.java:74)\n\tat com.youzan.ad.cps.order.service.yun.YunYzkOrderServiceImpl.getYzkOrderDetail(YunYzkOrderServiceImpl.java:27)\n\tat com.youzan.ad.cps.order.service.yun.YunYzkOrderServiceImpl$$FastClassBySpringCGLIB$$a579f5ce.invoke(<generated>)\n\tat org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)\n\tat org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:746)\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)\n\tat org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:88)\n\tat com.youzan.ad.cps.order.config.globalaop.aspect.InvokeLogAspect.doLog(InvokeLogAspect.java:87)\n\tat sun.reflect.GeneratedMethodAccessor511.invoke(Unknown Source)\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.lang.reflect.Method.invoke(Method.java:498)\n\tat org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644)\n\tat org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633)\n\tat org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70)\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)\n\tat org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93)\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)\n\tat org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)\n\tat com.youzan.ad.cps.order.service.yun.YunYzkOrderServiceImpl$$EnhancerBySpringCGLIB$$34053c85.getYzkOrderDetail(<generated>)\n\tat com.alibaba.dubbo.common.bytecode.Wrapper47.invokeMethod(Wrapper47.java)\n\tat com.alibaba.dubbo.rpc.proxy.javassist.JavassistProxyFactory$1.doInvoke(JavassistProxyFactory.java:46)\n\tat com.alibaba.dubbo.rpc.proxy.AbstractProxyInvoker.invoke(AbstractProxyInvoker.java:72)\n\tat com.alibaba.dubbo.config.invoker.DelegateProviderMetaDataInvoker.invoke(DelegateProviderMetaDataInvoker.java:52)\n\tat com.alibaba.dubbo.rpc.protocol.InvokerWrapper.invoke(InvokerWrapper.java:53)\n\tat com.youzan.dubbo.rpc.protocol.nova.filter.NovaThriftCheckFilter.invoke(NovaThriftCheckFilter.java:31)\n\tat com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:96)\n\tat com.alibaba.dubbo.rpc.filter.ExceptionFilter.invoke(ExceptionFilter.java:52)\n\tat com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:96)\n\tat com.youzan.dubbo.rpc.filter.ExceptionClassifyFilter.invoke(ExceptionClassifyFilter.java:19)\n\tat com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:96)\n\tat com.alibaba.dubbo.rpc.filter.TimeoutFilter.invoke(TimeoutFilter.java:53)\n\tat com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:96)\n\tat com.alibaba.dubbo.rpc.protocol.dubbo.filter.TraceFilter.invoke(TraceFilter.java:78)\n\tat com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:96)\n\tat com.youzan.cloud.cloud.guider.map.RpcContextThreadLocalFilter.invoke(RpcContextThreadLocalFilter.java:30)\n\tat com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:96)\n\tat com.alibaba.dubbo.monitor.support.MonitorFilter.invoke$original$PPcUohV2(MonitorFilter.java:84)\n\tat com.alibaba.dubbo.monitor.support.MonitorFilter.invoke$original$PPcUohV2$accessor$2NekrRBh(MonitorFilter.java)\n\tat com.alibaba.dubbo.monitor.support.MonitorFilter$auxiliary$rW7DJDQ4.call(Unknown Source)\n\tat com.youzan.rontgen.sdk.extension.dubbo.DubboConsumer$MonitorFilterMethodHandler.wrap(DubboConsumer.java:110)\n\tat com.youzan.interceptor.bytebuddy.ByteBuddyInterceptor.lambda$null$10(ByteBuddyInterceptor.java:692)\n\tat com.youzan.interceptor.bytebuddy.ByteBuddyInterceptor.callMethodHandlers(ByteBuddyInterceptor.java:700)\n\tat com.youzan.interceptor.bytebuddy.ByteBuddyInterceptor$MethodTracePointDelegation.intercept(ByteBuddyInterceptor.java:734)\n\tat com.alibaba.dubbo.monitor.support.MonitorFilter.invoke(MonitorFilter.java)\n\tat com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:96)\n\tat com.youzan.cloud.cloud.guider.label.CloudLabelFilter.invoke(CloudLabelFilter.java:31)\n\tat com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:96)\n\tat com.youzan.dubbo.rpc.filter.AsyncAttachmentResetFilter.invoke(AsyncAttachmentResetFilter.java:17)\n\tat com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:96)\n\tat com.youzan.dubbo.rpc.filter.DynamicTimeoutProviderFilter.invoke(DynamicTimeoutProviderFilter.java:31)\n\tat com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:96)\n\tat com.alibaba.dubbo.rpc.filter.ContextFilter.invoke(ContextFilter.java:78)\n\tat com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:96)\n\tat com.youzan.dubbo.rpc.cluster.router.service.chain.ServiceChainProviderFilter.invoke(ServiceChainProviderFilter.java:28)\n\tat com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:96)\n\tat com.alibaba.dubbo.rpc.filter.GenericFilter.invoke(GenericFilter.java:113)\n\tat com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:96)\n\tat com.youzan.dubbo.rpc.filter.InvokeWithJsonArgsGenericFilter.invoke(InvokeWithJsonArgsGenericFilter.java:206)\n\tat com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:96)\n\tat com.alibaba.dubbo.rpc.filter.ClassLoaderFilter.invoke(ClassLoaderFilter.java:38)\n\tat com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:96)\n\tat com.alibaba.dubbo.rpc.filter.EchoFilter.invoke(EchoFilter.java:38)\n\tat com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:96)\n\tat com.alibaba.dubbo.remoting.exchange.support.ServerExchangeHandler.reply(ServerExchangeHandler.java:56)\n\tat com.alibaba.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.handleRequest(HeaderExchangeHandler.java:94)\n\tat com.alibaba.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.received(HeaderExchangeHandler.java:189)\n\tat com.alibaba.dubbo.remoting.transport.DecodeHandler.received(DecodeHandler.java:52)\n\tat com.alibaba.dubbo.remoting.transport.dispatcher.ChannelEventRunnable.run(ChannelEventRunnable.java:94)\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\n\tat java.lang.Thread.run(Thread.java:748)\n", "err_code": 5002 } }
官方答复说使用 https://doc.youzanyun.com/detail/API/0/3400接口。但3400接口返回结果没有提供我们所需的 pid字段信息、commission字段信息。 https://doc.youzanyun.com/detail/API/0/820 这个接口可以修复下吗?
本帖最后由 猫tou鹰鹰鹰 于 2022-4-21 16:53 编辑
|