redengineer / redmini

小红书小程序
16 stars 4 forks source link

创建订单接口 有时候会返回:invalid product_infos.sale_price #1271

Open wlyznb opened 1 month ago

wlyznb commented 1 month ago

Issue类型

bug

问题模块

小程序Api

所属的服务商

订单来了

平台

IDE

小红书版本信息

v8.36

基础库版本

v3.92.0

用户ID

发生问题的时间

2024-05-29 10:01:43 至 2024-05-29 13:00:00

问题描述

创建订单的时候 基本上同样的请求参数 有时候可以创建成功,有时候会返回。参数错误:invalid product_infos.sale_price

期望结果

能够解决为什么会有这种情况发生,并且告知原因

重现步骤和复现问题的最小demo Github链接

请求参数: 成功的: (outOrderId=1245335478897561600, openId=58638ca25ec5a7076f0f3292d4f502b789998afde96e65482144019bcb760472, path=pages/orderConfirm/index, bizCreateTime=1716952718, bizUpdateTime=1716952718, orderExpiredTime=1716954518, productInfos=[OrderUpsertRequest.ProductInfosDTO(outProductId=696_-1_1365, outSkuId=1365-ddbafa41-d076-4db9-b30a-678662a00638, num=2, salePrice=76, realPrice=76, image=null, discountInfos=null)], priceInfo=OrderUpsertRequest.PriceInfoDTO(orderPrice=76, freightPrice=null, extraPriceInfos=null))

失败的: (outOrderId=1245344849059729408, openId=58638ca25ec5a7076f0f3292d4f502b789998afde96e65482144019bcb760472, path=pages/orderConfirm/index, bizCreateTime=1716954953, bizUpdateTime=1716954953, orderExpiredTime=1716956753, productInfos=[OrderUpsertRequest.ProductInfosDTO(outProductId=696_-1_1354, outSkuId=1354-ddbafa41-d076-4db9-b30a-678662a00638, num=2, salePrice=283, realPrice=283, image=null, discountInfos=null)], priceInfo=OrderUpsertRequest.PriceInfoDTO(orderPrice=283, freightPrice=null, extraPriceInfos=null))

github-actions[bot] commented 1 month ago

您好开发者, 我们已收到你的问题, 已通知开发团队进行处理! 如您未阅读我们的开发文档,可先参阅开发文档 小红书问题处置流程 :sparkles: 感谢您的提问!:sparkles: