简要描述:

  • 活动报名 -域名:www.we7.com.cn

请求URL:

GET/&route=plugin.photo-order.api.create

传输商城参数必带 goods =json格式[{"goods_id":347,"total":1,"option_id":0}]

dispatch_type_id =0 test_uid =180

is_open_photo_order = 1/0

thumbs=json[{"1:1"}]

thumbs多张图片

address 是否必须 类型 说明
thumbs 是 string 图片

is_open_photo_order 判断是否开启商品相册

is_open_photo_order 是否必须 类型 说明
is_open_photo_order 是 int 1

返回示例:

is_open_photo_order 是否必须 类型 说明
photo_order_is_open 是 int 1
photo_order_min_pohot 是 int 1
photo_order_max_pohot 是 int 1

返回示例:

参数名 是否必须 类型 说明
order_ids 否 int 订单ID

正确时返回:

{
    "result": 1,
    "msg": "成功",
    "data": {
        "order_ids": "1065"
    }
}

错误时返回:

  • 缺少访问参数 - 商品ID
{
    "result": 0,
    "msg": "缺少访问参数",
    "data": [ ]
}
  • 未找到数据
{
    "result": 0,
    "msg": "未找到数据",
    "data": [ ]
}