有赞新零售社区

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

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

三把刷子 2022-11-02 1117 浏览 2 评论 | 只看楼主 [打印]
{
  "trace_id": "yz7-0ae859b2-1667371939800-990021",
  "code": 230100000,
  "success": false,
  "message": "抱歉, 服务器开了个小差: null\t\n\tat com.youzan.mei.open.service.implv4.order.OrderParamTransUtil.transOrderCtReq2CtOrderParam(OrderParamTransUtil.java:75)\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"
}

youzanMeiOrderCreateParamsOrderItems.setNum(9);
    youzanMeiOrderCreateParamsOrderItems.setItemOriginPrice(10L);
    youzanMeiOrderCreateParamsOrderItems.setSkuId(11445245125L);
    youzanMeiOrderCreateParamsOrderItems.setItemNo("A0000005226586");
    youzanMeiOrderCreateParamsOrderItems.setItemSumPrice(90);
    youzanMeiOrderCreateParamsOrderItems.setItemId(2149744103L);
    youzanMeiOrderCreateParamsOrderItems.setItemType(2);
    youzanMeiOrderCreateParamsOrderItems.setStage(1);
    youzanMeiOrderCreateParamsOrderItems.setOperateType(0);
        orderItemsList.add(youzanMeiOrderCreateParamsOrderItems);


curl -X POST -H 'content-type: application/json'  -d '{"type":"8","order_promotions":[null],"order_items":[{"salesmen":[{"yz_open_id":"kSCk1jLT1037378494096510976"}],"item_technicians":[null],"custom_card_info":{"scope_node_kdtIds":[null,null]},"num":"9","item_origin_price":"10","sku_id":"11445245125","item_no":"A0000005226586","item_sum_price":"90","item_id":"2149744103","item_type":"2","stage":"1","operate_type":"0"}],"order_gift_items":[null]}'  "https://open.youzanyun.com/api/youzan.mei.order.create/4.0.0?access_token=fba7df395444df31f5444838979b696"




用手机打开
收藏 ··· 回复
    三把刷子 白银   2022-11-05 | 只看该作者
    收到请回复。。。

      三把刷子 白银   2022-11-05 | 只看该作者
      收到请回复。。。

        1跳至
        您需要登录后才可以回帖 登录 | 立即注册

        本版积分规则

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

        • 评分

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

        复制成功