3 Star 0 Fork 0

商城项目 / doc.weecot.com

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
crowd_funding-goods.md 2.47 KB
一键复制 编辑 原始数据 按行查看 历史
Jade 提交于 2021-03-01 10:25 . first commit

众筹商品

接口描述:

  • 众筹商品(crowd_funding/goods)

接口版本:

版本号 制定人 制定日期 修订日期
1.0.0 wanganlin 2017-03-20 2017-03-25

请求URL:

请求方式:

  • GET

请求头:

参数名 是否必须 类型 说明
Content-Type String 请求类型: application/json
token String 请求内容签名

请求参数:

参数名 是否必须 默认值 类型 说明
status id String 综合排序  id(活动id)  new(最新上线)  amount(金额最多) join_num(支持最多)
cat_id 0 Number
page 1 Number 页码
size 10 Number 每页数量

返回示例:

正确时返回:

{
    "status": "success",
    "data": [
        {
            "id": 4,
            "title": "想和影子玩拳击么?OCULUS RIFT!",
            "zc_status": "众筹中",
            "star_time": "2016-07-27 08:00:00",
            "end_time": "2021-08-27 08:00:00",
            "amount": "100000",
            "amount_formated": "¥100000.00",
            "join_money": "3000",
            "join_money_formated": "¥3000.00",
            "min_price": "¥3000.00",
            "join_num": 1,
            "shenyu_time": 878,
            "baifen_bi": 3,
            "title_img": "http://domain/storage/data/zc_title_images/1469556026833544722.jpg"
        }
    ],
    "time": 1554188582
}

错误时返回:

{
    "status": 'failed',
    "errors": {
        "code": 404,
        "message": "message"
    },
    "time": 1553515084
}

返回参数说明:

参数名 类型 说明
crowdGoodsList List[] 众筹商品列表
├─ id
├─ title
├─ zc_status
├─ star_time
├─ end_time
├─ amount
├─ amount_formated
├─ join_money
├─ join_money_formated
├─ min_price
├─ join_num
├─ shenyu_time
├─ baifen_bi
├─ title_img

备注:

  • 更多返回错误代码请看首页的错误代码描述
其他
1
https://gitee.com/dscmall_test/doc.weecot.com.git
git@gitee.com:dscmall_test/doc.weecot.com.git
dscmall_test
doc.weecot.com
doc.weecot.com
master

搜索帮助