🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
# 检查订单是否可以下单 >[danger]接口认证:**需要认证** ##### 响应说明 ## 示例 ~~~[api] get:/order/check *string:sku_info=[{"goods_sku_ref_id":"19","num":"2"},{"goods_sku_ref_id":"34","num":"3"}]#下单的商品规格数量json串 <<< success { "code": 200, "msg": "成功", "data": {} } ~~~ ## 可能出现的错误码 > 不包含常见的请求方式错误,参数丢失,用户权限验证失败 ~~~ const GOODS_NOT_FOUND = [ 'code' => 111001, 'msg' => '商品不存在' ]; ~~~ ~~~ const GOODS_NOT_PUBLISHED = [ 'code' => 111003, 'msg' => '商品已下架' ]; ~~~ ~~~ const GOODS_STOCK_NUMBER_NOT_ENOUGH = [ 'code' => 111004, 'msg' => '商品库存不足' ]; ~~~ ~~~ const USER_WHOLESALE_SCORE_NOT_ENOUGH = [ 'code' => 101005, 'msg' => '批发配额积分不足' ]; ~~~ ~~~ const USER_SPECIAL_SCORE_NOT_ENOUGH = [ 'code' => 101006, 'msg' => '养老积分不足' ]; ~~~ ~~~ // 非新人购买幸运抢批中的新人专场 const USER_NOT_WHOLESALE_NEW_USER = [ 'code' => 101007, 'msg' => '你已购买过抢批商品' ]; ~~~ ~~~ const ORDER_LIMIT_EXCEED = [ 'code' => 121001, 'msg' => '商品超过限购' ]; ~~~