有赞新零售社区

发帖
API使用问题»youzan.mei.order.create4.0.0创建订单报错

[API调用-美业] youzan.mei.order.create4.0.0创建订单报错

三把刷子 2022-11-01 893 浏览 0 评论 | 只看楼主 [打印]
curl -X POST -H 'content-type: application/json'  -d '{"type":"8","order_buyer_info":{"yz_open_id":"11HCse7C1036963462049206272","gender":"1","remark":"保湿","customer_name":"用户名称","mobile":"15698788922"},"order_promotions":[{"stage":"1"}],"order_items":[{"salesmen":[null],"item_technicians":[null],"custom_card_info":{"scope_node_kdtIds":[null,null]},"num":"10","item_origin_price":"498000","sku_id":"11457946192","item_id":"2150628466","item_type":"2","stage":"1"}],"order_gift_items":[null]}'  "https://open.youzanyun.com/api/youzan.mei.order.create/4.0.0?access_token=efbbf52f526e399627a093111e67403"
{
  "trace_id": "yz7-0ae859b2-1667273231818-694132",
  "code": 230100000,
  "success": false,
  "message": "抱歉, 服务器开了个小差: null\t\n\tat com.youzan.mei.open.service.implv4.order.OrderParamTransUtil.transPromotionInfo(OrderParamTransUtil.java:287)\n\tat java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)\n\tat java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382)\n\tat java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)\n\tat java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)\n\tat java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)\n\tat java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)\n\tat java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)\n\tat com.youzan.mei.open.service.implv4.order.OrderParamTransUtil.transOrderCtReq2CtOrderParam(OrderParamTransUtil.java:95)\n\tat com.youzan.mei.open.service.implv4.order.OrderServiceV4Impl.createOrder(OrderServiceV4Impl.java:263)\n\tat com.youzan.mei.open.service.implv4.order.OrderServiceV4Impl$$FastClassBySpringCGLIB$$6be9b26e.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.mei.common.aspect.MeiValidAspect.handle(MeiValidAspect.java:112)\n\tat sun.reflect.GeneratedMethodAccessor388.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:186)\n\tat org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:88)\n\tat com.youzan.mei.open.aspect.MeiOpenExceptionAspect.handle(MeiOpenExceptionAspect.java:33)\n\tat sun.reflect.GeneratedMethodAccessor387.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:186)\n\tat org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:88)\n\tat com.youzan.mei.common.aspect.MeiLogAspect.handle(MeiLogAspect.java:49)\n\tat sun.reflect.GeneratedMethodAccessor386.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:186)\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.mei.open.service.implv4.order.OrderServiceV4Impl$$EnhancerBySpringCGLIB$$70a2f1bf.createOrder(<generated>)\n\tat com.alibaba.dubbo.common.bytecode.Wrapper138.invokeMethod(Wrapper138.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$N2F2tzCo(MonitorFilter.java:84)\n\tat com.alibaba.dubbo.monitor.support.MonitorFilter.invoke$original$N2F2tzCo$accessor$l2BCbd0H(MonitorFilter.java)\n\tat com.alibaba.dubbo.monitor.support.MonitorFilter$auxiliary$J4iaZExU.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:84)\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.youzan.mei.open.filter.AuthFilter.invoke(AuthFilter.java:113)\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.youzan.mei.open.filter.MeiExceptionFilter.invoke(MeiExceptionFilter.java:32)\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"
}









用手机打开
收藏 ··· 回复
    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    复制链接
    新浪微博
    QQ空间
    微信扫码
    • 回复

    • 评分

    客服工作时间是9:00-18:00,客服妹子当前不在线,若不能及时回复请谅解。试试右上角的搜索吧,论坛有丰富的经验贴、公告贴,相信一定能够帮到您~

    复制成功