前端接口文档范例

个人笔记 专栏收录该内容
21 篇文章 0 订阅

主要功能接口汇总

0. 全局说明:

0.1 接口 1-7 后端需做鉴权处理,若用户未登录则返回:

{
  error: 'Authentication Error'
}

0.2 接口 8-12,16 为公司基本信息接口,13-15 为公司详情页面-产品接口

1. 获取个人页 feed 流

1.1 method: GET

1.2 path: /api/feed-messages/:feedType/:tagId/:page

1.3 options:

1.3.1 feedType-> feed 流的类型(导航栏的分类名的拼音),枚举范围:[‘quanbuzixun’, ‘hangyebaogao’, ‘meiritourongzi’, ‘tianshixiangmubaodao’, ‘xinchuangxiangmu’, ‘gaoguanbiandong’, ‘chuangyezhezhuizong’, ‘touhouzhuizong’, ‘touzijigoudongxiang’, ‘touzirendongxiang’, ‘hangyedongxiang’]

1.3.2 tagId-> 分类下的标签 id,默认值:0(表示不进行过滤),用户点击具体标签时切换取值

1.3.3 page-> 当前 feed流 的分页页码,默认值:1或不填,用户点击 加载更多按钮时切换取值

1.4 response:

type: json
example:

[
  {
    template: 'news',
    content: {
      type: '天使项目报道',
      cover: 'http://img3.cyzone.cn/uploadfile/2017/0417/20170417104548317.jpg',
      target: 'http://www.cyzone.cn/a/20170417/309946.html',
      title: 'OFO高颜值新车,骑上秒变台湾偶像剧画风,配套“丢一台赔一台”',
      summary: '自创立以来,牛电科技引入了众多汽车级的配置。从U1系列开始,小牛全面使用自主设计的机,搭配汽车级无钥匙启动功能,用户使用遥控器便可远程解锁……',
      tags: ['共享', '腾讯系', '资源重整'],
      date: '5月20日 17:22',
      source: '36Kr',
      concerned: false
    }
  },
  {
    template: 'startup',
    content: {
      type: '新创产品',
      cover: 'http://img2.ctoutiao.com/uploads/2017/03/02/06ef4c5b36ea6cf933864416aa8abee2.jpg@!160x100',
      target: 'http://www.ishumei.com/',
      title: '数美科技',
      related_issues: ['张一鸣'],
      summary: '阅后即焚,为了让你的每一条消息都显得珍贵。独特的短视频交流,同样的时间,你可以表达更多信息。在 Ubi,你可以和更多的外国友人进行互动。',
      category: '文化娱乐 > 媒体及阅读',
      date: '12月13日',
      praised: false,
      praised_by: [
        {
          id: 15623,
          name: '张一博',
          avatar: null
        },
        {
          id: 26345,
          name: '李至婷',
          avatar: 'http://p1.qqyou.com/touxiang/UploadPic/2015-6/19/2015061914565050137.jpeg'
        },
        {
          id: 33254,
          name: '王彦武',
          avatar: 'https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcQbHJFnSXFf2QhmqGDviRygpHUSmZIvRZpU2Kvp3WK1W9MheWLD'
        }
      ]
    }
  },
  {
    template: 'report',
    content: {
      type: '行业报告',
      cover: 'http://img.mp.itc.cn/upload/20170310/2c9d1d62ed3b4ded837432c53f9e8300_th.jpg',
      target: 'http://mt.sohu.com/20170310/n482906790.shtml',
      title: '极光大数据:app风云榜2月app榜单',
      summary: '新年伊始,2月的app风云榜依然是风起云涌。共享单车领域方兴未艾,短视频平台作为下一个风口已经蓄势待发。摩拜与ofo谁能领跑共享单车?快手、美拍、小咖秀谁是短视频平台的未来?国内领先的移动大数据服务商极光大数据推出《app风云榜——2月app榜单》,从市场渗透率、日活跃用户、新增用户数、7天留存率等关键指标为您解读国内app的现状。',
      tags: ['app', '大数据'],
      date: '4月8日 14:20',
      concerned: true
    }
  },
  {
    template: 'moment',
    content: {
      type: '创业者追踪',
      user: {
        id: 45869,
        name: '范赵尹',
        avatar: 'https://encrypted-tbn3.gstatic.com/images?q=tbn:ANd9GcRfaU8Wz8rdPWqd881rKCg6te3KEP8Ym3sPlU8Fo8EH-WjpFsAIvA',
      },
      content: {
        html_cotent: '<div class="WB_text W_f14" node-type="feed_list_content" action-type="feed_list_ad" style="display: none;">《这是莫迪的时代,这是一个好时代吗? | 毛克疾》 国大党通过配额优惠、财政补贴等扶持包括贱民在内的“列表种姓”、包括部落民在内的“列表部落”和包括大量中低种姓的“其他落后种姓”。这导致印度中产阶级和中上层种姓在考学、招工中遭遇了严重的逆向歧视,他们大规模转投主张取消优惠、平等竞争的 ​​​​...</div>',
        date: '4月23日 22:03',
        source: '微博',
        status: {
          read: 5200,
          loved: 136,
          shared: 36
        }
      },
      concerned: true
    }
  },
  {
    template: 'activity',
    content: {
      type: '投资人动向',
      cover: 'http://www.huodongshu.com/template/0011406030900/images/head_pic.png',
      target: 'http://www.huodongshu.com/event/10042760/?is_easy=2',
      title: '【创业导引课】唐大牛丨创业是追逐机会还是创造价值,了解创业者是技术也是艺术',
      related_issues: ['唐大牛', '华创资本'],
      date: {
        start: '2017.03.15 19:10',
        end: '2017.03.15 20:55'
      },
      address: '北京市海淀区清华大学第六教学楼A区316',
      host: '水木清华校友基金',
      source: '活动树',
      concerned: false
    }
  },
  {
    template: 'recruitment',
    content: {
      type: '投后追踪',
      cover: '',
      target: 'https://www.lagou.com/',
      title: '产品经理',
      company: '西安数美软件科技有限公司',
      category: '文化娱乐 > 媒体及阅读',
      salary: '10-24K',
      area: '西安',
      degree: '本科',
      seniority: '3-5年经验',
      date: '4月8日 17:22',
      concerned: true
    }
  }
]

1.5 其他说明

1.5.1 feedType 与 template 对照关系

行业报告 - report
每日投融资 - news
天使醒目报道 - news
新创项目 - startup
高管变动 - news/moment
创业者追踪 - news/moment/activity
投后追踪 - news/activity/recruitment
投资机构动向 - news
投资人动向 - news/moment/activity
行业动向 - news/report

2. 获取个人页左边栏导航菜单

2.1 method: GET

2.2 path: /api/personal-menu/

2.3 options: 无

2.4 response:

type: json
example:

{
  "touqian": [
    {
      "type": "hangyebaogao",
      "text": "行业报告",
      "child": [
        {
          "id": "15265",
          "text": "真格基金"
        }
      ]
    },
    {
      "type": "meiritourongzi",
      "text": "每日投融资",
      "child": [
        {
          "id": "15265",
          "text": "真格基金"
        }
      ]
    },
    {
      "type": "tianshixiangmubaodao",
      "text": "天使项目报道",
      "child": [
        {
          "id": "15265",
          "text": "真格基金"
        }
      ]
    },
    {
      "type": "xinchuangxiangmu",
      "text": "新创项目",
      "child": [
        {
          "id": "15265",
          "text": "真格基金"
        }
      ]
    },
    {
      "type": "gaoguanbiandong",
      "text": "高管变动",
      "child": [
        {
          "id": "15265",
          "text": "真格基金"
        }
      ]
    }
  ],
  "touhou": [
    {
      "type": "chuangyezhezhuizong",
      "text": "创业者追踪",
      "child": [
        {
          "id": "15265",
          "text": "真格基金"
        },
        {
          "id": "456235",
          "text": "创新工场"
        }
      ]
    },
    {
      "type": "touhouzhuizong",
      "text": "投后追踪",
      "child": [
        {
          "id": "15265",
          "text": "真格基金"
        },
        {
          "id": "456235",
          "text": "创新工场"
        }
      ]
    },
    {
      "type": "touzijigoudongxiang",
      "text": "投资机构动向",
      "child": [
        {
          "id": "15265",
          "text": "真格基金"
        },
        {
          "id": "456235",
          "text": "创新工场"
        }
      ]
    },
    {
      "type": "touzirendongxiang",
      "text": "投资人动向",
      "child": [
        {
          "id": "15265",
          "text": "真格基金"
        },
        {
          "id": "16542",
          "text": "IDG"
        },
        {
          "id": "26345",
          "text": "腾讯创投"
        },
        {
          "id": "21367",
          "text": "创新工场"
        }
      ]
    },
    {
      "type": "hangyedongxiang",
      "text": "行业动向",
      "child": [
        {
          "id": "15265",
          "text": "真格基金"
        },
        {
          "id": "16542",
          "text": "IDG"
        },
        {
          "id": "26345",
          "text": "腾讯创投"
        },
        {
          "id": "21367",
          "text": "创新工场"
        },
        {
          "id": "15265",
          "text": "真格基金"
        },
        {
          "id": "16542",
          "text": "IDG"
        },
        {
          "id": "26345",
          "text": "腾讯创投"
        },
        {
          "id": "21367",
          "text": "创新工场"
        },
        {
          "id": "15265",
          "text": "真格基金"
        },
        {
          "id": "16542",
          "text": "IDG"
        },
        {
          "id": "26345",
          "text": "腾讯创投"
        },
        {
          "id": "21367",
          "text": "创新工场"
        }
      ]
    }
  ]
}

2.5 其他说明

2.5.1 相关名词释义:
touqian - 投前(包括 行业报告、每日投融资、天使项目报道、新创项目、高管变动 5个分类)
touhou - 投后(包括 创业者追踪、投后追踪、投资机构动向、投资人动向、行业动向 5个分类)
type - 与接口 1 中 feedType 对应,若 feedType 为 quanbuzixun(全部资讯),则接口 2 中返回的数据可能包含多种 type
child - 分类下的标签,用户通过点击标签可以过滤该分类feed流的内容(实质上是改变参数重新调用接口 1 加载 feed流)

3. 获取快讯内容列表

3.1 method: GET

3.2 path: /api/humming-flash

3.3 options 无

3.4 response:

type: json
example:

[
  {
    title: '乐视全球投融资主管郑孝明离职或加盟京东',
    pub_time: '5月10日 22:33',
    detail: '4月17日消息,刚刚张琨在自己的微信公众号中宣布就任春雨医生CEO。 业内人士介绍,张琨琨在自己的微信公众号中宣布就任春雨医生CEO。 业内人士介绍,张琨'
  },
  {
    title: '春雨医生空降新CEO,系前华润医疗高管',
    pub_time: '30分钟前',
    detail: '4月17日消息,刚刚张琨在自己的微信公众号中宣布就任春雨医生CEO。 业内人士介绍,张琨做医疗信息化起家,参与“中华医疗网”的创 立,曾任华润医疗集团信管部总经理。此前,春雨医生创始人张锐去世后,CEO由曾柏毅 与李光辉联席担任。'
  },
  {
    title: '新消费50强3月榜:ofo摩拜交替领先单车业',
    pub_time: '2小时前',
    detail: '4月17日消息,刚刚张琨在自己的微信公众号中宣布就任春雨医生CEO。 业内人士介绍,张琨己的微信公众号中宣布就任春雨医生CEO。 业内人士介绍,张琨做医疗信息化起家,参与'
  },
  {
    title: '抄袭小米等国产品牌,山寨机盘踞三四线城市',
    pub_time: '半小时内',
    detail: '4月17日消息,刚刚张琨在自己的微信公众号中宣布就任春雨医生CEO。 业内人士介绍,张琨己的微信公众号中宣布就任春雨医生CEO。 业内人士介绍,张琨做医疗信息化起家,参与'
  }
]

3.5 其他说明

3.5.1 pub_time时间的格式:
timestamp <= 30601000 -> ‘半小时内’
30601000 < timestamp <= 2460601000 -> ‘N小时前’
24
60601000 < timestamp -> ‘MM月DD日 Hour:Min’

4. 获取每日项目推荐内容列表

4.1 method: GET

4.2 path: /api/startup-daily

4.3 options 无

4.4 response:

type: json
example:

[
  {
    name: '随手攒',
    slogan: '让攒钱理财成为一种习惯',
    icon: 'https://media.ifanrusercontent.com/media/user_files/lime/87/e6/87e62c3256f6efc2a1e50b6dc632e6035b1e6256-ae8f0e1ac318d1f0123dcc40d1aedb45d0cc8b0d.jpg',
    link: 'http://mindstore.io/mind/15740/'
  },
  {
    name: '点点技师',
    slogan: '一个汽车行业垂直人才服务平台',
    icon: 'https://media.ifanrusercontent.com/media/user_files/lime/2d/e6/2de6ca7bf0ba8d4b2dcc4d7de1a0a8093f2b24f6-4f19ffda09f727fdc1d21b0d60dc36e91c951de5.jpg',
    link: 'http://mindstore.io/mind/15731/'
  },
  {
    name: 'PPT“一键”美化神器',
    slogan: '智能辅助设计,让PPT更美化',
    icon: 'https://media.ifanrusercontent.com/media/user_files/lime/f0/f4/f0f4105ff3dee0829f6a520265bc3f2dae4a8698-35c549e0061cf7c621719b5819e6a6875bc6e44b.jpg',
    link: 'http://mindstore.io/mind/15730/'
  },
  {
    name: 'ThinkSNS',
    slogan: '为企业提供社交系统、轻博客系统、SNS社交网络平台解决方案、软件产品搭建、社交源代码下载、系统维护服务',
    icon: 'https://media.ifanrusercontent.com/media/user_files/lime/15/d9/15d930bc77d8b25a8c9f7abd091a8019cafabfe7-6f07e9834c48800306ddc78b2a10d69303d3e7b9.jpg',
    link: 'http://mindstore.io/mind/15732/'
  },
  {
    name: '报销吧',
    slogan: '一款基于 Saas 模式的企业级差旅和费用管理移动报销软件',
    icon: null,
    link: 'http://mindstore.io/mind/15719/'
  }
]

4.5 其他说明

5. 监听 feed流 数据更新(socket API)

5.1 method: socket

5.2 path: /api/feed-latest/:feedType

5.3 options:

5.3.1 feedType-> feed流的类型,参见接口 1

5.4 response:

type: json
example:

{
  new_msg: 24
}

5.5 其他说明

5.5.1 接口返回的 new_msg字段表示当前数据流最近新入库了多少条资讯,以提示用户点击加载按钮加载最新的数据(实质上就是页面重新调用接口 1 )

6. 获取引导页列表数据

6.1 method: GET

6.2 path: /api/customization-source

6.3 options:


###6.4 response:
type: json
example:

{
  "touqian": [
    {
      "type": "hangyebaogao",
      "text": "行业报告",
      "child": [
        {
          "id": 2365,
          "text": "消费升级"
        },
        {
          "id": 3624,
          "text": "大数据技术"
        },
        {
          "id": 2641,
          "text": "电商"
        },
        {
          "id": 1326,
          "text": "互联网+"
        },
        {
          "id": 1841,
          "text": "农业金融"
        },
        {
          "id": 5201,
          "text": "农业旅游"
        },
        {
          "id": 4768,
          "text": "旅游B2B"
        },
        {
          "id": 3254,
          "text": "体育俱乐部"
        },
        {
          "id": 5788,
          "text": "出海"
        },
        {
          "id": 4362,
          "text": "平行进口车"
        },
        {
          "id": 2365,
          "text": "消费升级"
        },
        {
          "id": 3624,
          "text": "大数据技术"
        },
        {
          "id": 2641,
          "text": "电商"
        },
        {
          "id": 1326,
          "text": "互联网+"
        },
        {
          "id": 1841,
          "text": "农业金融"
        },
        {
          "id": 5201,
          "text": "农业旅游"
        },
        {
          "id": 4768,
          "text": "旅游B2B"
        },
        {
          "id": 3254,
          "text": "体育俱乐部"
        },
        {
          "id": 5788,
          "text": "出海"
        },
        {
          "id": 4362,
          "text": "平行进口车"
        },
        {
          "id": 2365,
          "text": "消费升级"
        },
        {
          "id": 3624,
          "text": "大数据技术"
        },
        {
          "id": 2641,
          "text": "电商"
        },
        {
          "id": 1326,
          "text": "互联网+"
        },
        {
          "id": 1841,
          "text": "农业金融"
        },
        {
          "id": 5201,
          "text": "农业旅游"
        }
      ]
    },
    {
      "type": "meiritourongzi",
      "text": "每日投融资",
      "child": [
        {
          "id": 2365,
          "text": "消费升级"
        },
        {
          "id": 3624,
          "text": "大数据技术"
        },
        {
          "id": 2641,
          "text": "电商"
        },
        {
          "id": 1326,
          "text": "互联网+"
        },
        {
          "id": 1841,
          "text": "农业金融"
        },
        {
          "id": 5201,
          "text": "农业旅游"
        },
        {
          "id": 4768,
          "text": "旅游B2B"
        },
        {
          "id": 3254,
          "text": "体育俱乐部"
        },
        {
          "id": 5788,
          "text": "出海"
        },
        {
          "id": 4362,
          "text": "平行进口车"
        },
        {
          "id": 2365,
          "text": "消费升级"
        },
        {
          "id": 3624,
          "text": "大数据技术"
        },
        {
          "id": 2641,
          "text": "电商"
        },
        {
          "id": 1326,
          "text": "互联网+"
        },
        {
          "id": 1841,
          "text": "农业金融"
        },
        {
          "id": 5201,
          "text": "农业旅游"
        },
        {
          "id": 4768,
          "text": "旅游B2B"
        },
        {
          "id": 3254,
          "text": "体育俱乐部"
        },
        {
          "id": 5788,
          "text": "出海"
        },
        {
          "id": 4362,
          "text": "平行进口车"
        },
        {
          "id": 2365,
          "text": "消费升级"
        },
        {
          "id": 3624,
          "text": "大数据技术"
        },
        {
          "id": 2641,
          "text": "电商"
        },
        {
          "id": 1326,
          "text": "互联网+"
        },
        {
          "id": 1841,
          "text": "农业金融"
        },
        {
          "id": 5201,
          "text": "农业旅游"
        }
      ]
    },
    {
      "type": "tianshixiangmubaodao",
      "text": "天使项目报道",
      "child": [
        {
          "id": 2365,
          "text": "消费升级"
        },
        {
          "id": 3624,
          "text": "大数据技术"
        },
        {
          "id": 2641,
          "text": "电商"
        },
        {
          "id": 1326,
          "text": "互联网+"
        },
        {
          "id": 1841,
          "text": "农业金融"
        },
        {
          "id": 5201,
          "text": "农业旅游"
        },
        {
          "id": 4768,
          "text": "旅游B2B"
        },
        {
          "id": 3254,
          "text": "体育俱乐部"
        },
        {
          "id": 5788,
          "text": "出海"
        },
        {
          "id": 4362,
          "text": "平行进口车"
        },
        {
          "id": 2365,
          "text": "消费升级"
        },
        {
          "id": 3624,
          "text": "大数据技术"
        },
        {
          "id": 2641,
          "text": "电商"
        },
        {
          "id": 1326,
          "text": "互联网+"
        },
        {
          "id": 1841,
          "text": "农业金融"
        },
        {
          "id": 5201,
          "text": "农业旅游"
        },
        {
          "id": 4768,
          "text": "旅游B2B"
        },
        {
          "id": 3254,
          "text": "体育俱乐部"
        },
        {
          "id": 5788,
          "text": "出海"
        },
        {
          "id": 4362,
          "text": "平行进口车"
        },
        {
          "id": 2365,
          "text": "消费升级"
        },
        {
          "id": 3624,
          "text": "大数据技术"
        },
        {
          "id": 2641,
          "text": "电商"
        },
        {
          "id": 1326,
          "text": "互联网+"
        },
        {
          "id": 1841,
          "text": "农业金融"
        },
        {
          "id": 5201,
          "text": "农业旅游"
        }
      ]
    },
    {
      "type": "xinchuangxiangmu",
      "text": "新创项目",
      "child": [
        {
          "id": 2365,
          "text": "消费升级"
        },
        {
          "id": 3624,
          "text": "大数据技术"
        },
        {
          "id": 2641,
          "text": "电商"
        },
        {
          "id": 1326,
          "text": "互联网+"
        },
        {
          "id": 1841,
          "text": "农业金融"
        },
        {
          "id": 5201,
          "text": "农业旅游"
        },
        {
          "id": 4768,
          "text": "旅游B2B"
        },
        {
          "id": 3254,
          "text": "体育俱乐部"
        },
        {
          "id": 5788,
          "text": "出海"
        },
        {
          "id": 4362,
          "text": "平行进口车"
        },
        {
          "id": 2365,
          "text": "消费升级"
        },
        {
          "id": 3624,
          "text": "大数据技术"
        },
        {
          "id": 2641,
          "text": "电商"
        },
        {
          "id": 1326,
          "text": "互联网+"
        },
        {
          "id": 1841,
          "text": "农业金融"
        },
        {
          "id": 5201,
          "text": "农业旅游"
        },
        {
          "id": 4768,
          "text": "旅游B2B"
        },
        {
          "id": 3254,
          "text": "体育俱乐部"
        },
        {
          "id": 5788,
          "text": "出海"
        },
        {
          "id": 4362,
          "text": "平行进口车"
        },
        {
          "id": 2365,
          "text": "消费升级"
        },
        {
          "id": 3624,
          "text": "大数据技术"
        },
        {
          "id": 2641,
          "text": "电商"
        },
        {
          "id": 1326,
          "text": "互联网+"
        },
        {
          "id": 1841,
          "text": "农业金融"
        },
        {
          "id": 5201,
          "text": "农业旅游"
        }
      ]
    },
    {
      "type": "gaoguanbiandong",
      "text": "高管变动",
      "child": [
        {
          "id": 10265,
          "text": "阿里巴巴"
        },
        {
          "id": 12645,
          "text": "腾讯"
        },
        {
          "id": 14156,
          "text": "百度"
        },
        {
          "id": 26430,
          "text": "网易"
        },
        {
          "id": 18542,
          "text": "新浪"
        },
        {
          "id": 20641,
          "text": "搜狐"
        }
      ]
    }
  ],
  "touhou": [
    {
      "type": "chuangyezhezhuizong",
      "text": "创业者追踪",
      "child": [
        {
          "id": 26345,
          "name": '张一鸣',
          "avatar": 'https://imgsa.baidu.com/baike/c0%3Dbaike72%2C5%2C5%2C72%2C24/sign=b7df648c6b81800a7ae8815cd05c589f/b21c8701a18b87d641f8361c000828381f30fd7f.jpg'
        },
        {
          "id": 36256,
          "name": '刘楠',
          "avatar": 'https://imgsa.baidu.com/baike/c0%3Dbaike72%2C5%2C5%2C72%2C24/sign=b7df648c6b81800a7ae8815cd05c589f/b21c8701a18b87d641f8361c000828381f30fd7f.jpg'
        },
        {
          "id": 62431,
          "name": '丁磊',
          "avatar": 'http://www.zhengfawang.com/zb_users/upload/2017/02/201702171487303826845051.jpg'
        },
        {
          "id": 52634,
          "name": '张一鸣',
          "avatar": 'http://img3.cyzone.cn/uploadfile/2015/0123/20150123102145561.png'
        },
        {
          "id": 26345,
          "name": '张一鸣',
          "avatar": 'https://imgsa.baidu.com/baike/c0%3Dbaike72%2C5%2C5%2C72%2C24/sign=b7df648c6b81800a7ae8815cd05c589f/b21c8701a18b87d641f8361c000828381f30fd7f.jpg'
        },
        {
          "id": 36256,
          "name": '刘楠',
          "avatar": 'https://imgsa.baidu.com/baike/c0%3Dbaike72%2C5%2C5%2C72%2C24/sign=b7df648c6b81800a7ae8815cd05c589f/b21c8701a18b87d641f8361c000828381f30fd7f.jpg'
        },
        {
          "id": 62431,
          "name": '丁磊',
          "avatar": 'http://www.zhengfawang.com/zb_users/upload/2017/02/201702171487303826845051.jpg'
        },
        {
          "id": 52634,
          "name": '张一鸣',
          "avatar": 'http://img3.cyzone.cn/uploadfile/2015/0123/20150123102145561.png'
        },
        {
          "id": 26345,
          "name": '张一鸣',
          "avatar": 'https://imgsa.baidu.com/baike/c0%3Dbaike72%2C5%2C5%2C72%2C24/sign=b7df648c6b81800a7ae8815cd05c589f/b21c8701a18b87d641f8361c000828381f30fd7f.jpg'
        },
        {
          "id": 36256,
          "name": '刘楠',
          "avatar": 'https://imgsa.baidu.com/baike/c0%3Dbaike72%2C5%2C5%2C72%2C24/sign=b7df648c6b81800a7ae8815cd05c589f/b21c8701a18b87d641f8361c000828381f30fd7f.jpg'
        },
        {
          "id": 62431,
          "name": '丁磊',
          "avatar": 'http://www.zhengfawang.com/zb_users/upload/2017/02/201702171487303826845051.jpg'
        },
        {
          "id": 52634,
          "name": '张一鸣',
          "avatar": 'http://img3.cyzone.cn/uploadfile/2015/0123/20150123102145561.png'
        },
        {
          "id": 26345,
          "name": '张一鸣',
          "avatar": 'https://imgsa.baidu.com/baike/c0%3Dbaike72%2C5%2C5%2C72%2C24/sign=b7df648c6b81800a7ae8815cd05c589f/b21c8701a18b87d641f8361c000828381f30fd7f.jpg'
        },
        {
          "id": 36256,
          "name": '刘楠',
          "avatar": 'https://imgsa.baidu.com/baike/c0%3Dbaike72%2C5%2C5%2C72%2C24/sign=b7df648c6b81800a7ae8815cd05c589f/b21c8701a18b87d641f8361c000828381f30fd7f.jpg'
        },
        {
          "id": 62431,
          "name": '丁磊',
          "avatar": 'http://www.zhengfawang.com/zb_users/upload/2017/02/201702171487303826845051.jpg'
        },
        {
          "id": 52634,
          "name": '张一鸣',
          "avatar": 'http://img3.cyzone.cn/uploadfile/2015/0123/20150123102145561.png'
        },
        {
          "id": 26345,
          "name": '张一鸣',
          "avatar": 'https://imgsa.baidu.com/baike/c0%3Dbaike72%2C5%2C5%2C72%2C24/sign=b7df648c6b81800a7ae8815cd05c589f/b21c8701a18b87d641f8361c000828381f30fd7f.jpg'
        },
        {
          "id": 36256,
          "name": '刘楠',
          "avatar": 'https://imgsa.baidu.com/baike/c0%3Dbaike72%2C5%2C5%2C72%2C24/sign=b7df648c6b81800a7ae8815cd05c589f/b21c8701a18b87d641f8361c000828381f30fd7f.jpg'
        },
        {
          "id": 62431,
          "name": '丁磊',
          "avatar": 'http://www.zhengfawang.com/zb_users/upload/2017/02/201702171487303826845051.jpg'
        },
        {
          "id": 52634,
          "name": '张一鸣',
          "avatar": 'http://img3.cyzone.cn/uploadfile/2015/0123/20150123102145561.png'
        },
        {
          "id": 26345,
          "name": '张一鸣',
          "avatar": 'https://imgsa.baidu.com/baike/c0%3Dbaike72%2C5%2C5%2C72%2C24/sign=b7df648c6b81800a7ae8815cd05c589f/b21c8701a18b87d641f8361c000828381f30fd7f.jpg'
        },
        {
          "id": 36256,
          "name": '刘楠',
          "avatar": 'https://imgsa.baidu.com/baike/c0%3Dbaike72%2C5%2C5%2C72%2C24/sign=b7df648c6b81800a7ae8815cd05c589f/b21c8701a18b87d641f8361c000828381f30fd7f.jpg'
        },
        {
          "id": 62431,
          "name": '丁磊',
          "avatar": 'http://www.zhengfawang.com/zb_users/upload/2017/02/201702171487303826845051.jpg'
        },
        {
          "id": 52634,
          "name": '张一鸣',
          "avatar": 'http://img3.cyzone.cn/uploadfile/2015/0123/20150123102145561.png'
        }
      ]
    },
    {
      "type": "touhouzhuizong",
      "text": "投后追踪",
      "child": [
        {
          "id": 26543,
          "name": "数美科技",
          "logo": "http://img2.ctoutiao.com/uploads/2017/03/02/06ef4c5b36ea6cf933864416aa8abee2.jpg@!160x100"
        },
        {
          "id": 36241,
          "name": "滴滴出行",
          "logo": "http://www.xiaojukeji.com/images/icon02.png"
        },
        {
          "id": 62534,
          "name": "点点技师",
          "logo": "https://media.ifanrusercontent.com/media/user_files/lime/2d/e6/2de6ca7bf0ba8d4b2dcc4d7de1a0a8093f2b24f6-4f19ffda09f727fdc1d21b0d60dc36e91c951de5.jpg"
        },
        {
          "id": 52634,
          "name": "ThinkSNS",
          "logo": "https://media.ifanrusercontent.com/media/user_files/lime/15/d9/15d930bc77d8b25a8c9f7abd091a8019cafabfe7-6f07e9834c48800306ddc78b2a10d69303d3e7b9.jpg"
        },
        {
          "id": 35264,
          "name": "报销吧",
          "logo": null
        }
      ]
    },
    {
      "type": "touzijigoudongxiang",
      "text": "投资机构动向",
      "child": [
        {
          "id": 26543,
          "name": "数美科技",
          "logo": "http://img2.ctoutiao.com/uploads/2017/03/02/06ef4c5b36ea6cf933864416aa8abee2.jpg@!160x100"
        },
        {
          "id": 36241,
          "name": "滴滴出行",
          "logo": "http://www.xiaojukeji.com/images/icon02.png"
        },
        {
          "id": 62534,
          "name": "点点技师",
          "logo": "https://media.ifanrusercontent.com/media/user_files/lime/2d/e6/2de6ca7bf0ba8d4b2dcc4d7de1a0a8093f2b24f6-4f19ffda09f727fdc1d21b0d60dc36e91c951de5.jpg"
        },
        {
          "id": 52634,
          "name": "ThinkSNS",
          "logo": "https://media.ifanrusercontent.com/media/user_files/lime/15/d9/15d930bc77d8b25a8c9f7abd091a8019cafabfe7-6f07e9834c48800306ddc78b2a10d69303d3e7b9.jpg"
        },
        {
          "id": 35264,
          "name": "报销吧",
          "logo": null
        }
      ]
    },
    {
      "type": "touzirendongxiang",
      "text": "投资人动向",
      "child": [
        {
          "id": 26345,
          "name": '张一鸣',
          "avatar": 'https://imgsa.baidu.com/baike/c0%3Dbaike72%2C5%2C5%2C72%2C24/sign=b7df648c6b81800a7ae8815cd05c589f/b21c8701a18b87d641f8361c000828381f30fd7f.jpg'
        },
        {
          "id": 36256,
          "name": '刘楠',
          "avatar": 'https://imgsa.baidu.com/baike/c0%3Dbaike72%2C5%2C5%2C72%2C24/sign=b7df648c6b81800a7ae8815cd05c589f/b21c8701a18b87d641f8361c000828381f30fd7f.jpg'
        },
        {
          "id": 62431,
          "name": '丁磊',
          "avatar": 'http://www.zhengfawang.com/zb_users/upload/2017/02/201702171487303826845051.jpg'
        },
        {
          "id": 52634,
          "name": '张一鸣',
          "avatar": 'http://img3.cyzone.cn/uploadfile/2015/0123/20150123102145561.png'
        },
        {
          "id": 26345,
          "name": '张一鸣',
          "avatar": 'https://imgsa.baidu.com/baike/c0%3Dbaike72%2C5%2C5%2C72%2C24/sign=b7df648c6b81800a7ae8815cd05c589f/b21c8701a18b87d641f8361c000828381f30fd7f.jpg'
        },
        {
          "id": 36256,
          "name": '刘楠',
          "avatar": 'https://imgsa.baidu.com/baike/c0%3Dbaike72%2C5%2C5%2C72%2C24/sign=b7df648c6b81800a7ae8815cd05c589f/b21c8701a18b87d641f8361c000828381f30fd7f.jpg'
        },
        {
          "id": 62431,
          "name": '丁磊',
          "avatar": 'http://www.zhengfawang.com/zb_users/upload/2017/02/201702171487303826845051.jpg'
        }
      ]
    },
    {
      "type": "hangyedongxiang",
      "text": "行业动向",
      "child": [
        {
          "id": 2365,
          "text": "消费升级"
        },
        {
          "id": 3624,
          "text": "大数据技术"
        },
        {
          "id": 2365,
          "text": "消费升级"
        },
        {
          "id": 3624,
          "text": "大数据技术"
        }
      ]
    }
  ]
}

6.5 其他说明

相关名词释义参见接口 1

7. 提交用户的定制结果(参见引导页)

7.1 method: POST

7.2 path: /api/submit-customization

7.3 options:

7.3.1 数据用例:

[
  {
    type: 'hangyebaogao',
    selected_id: [15263, 26354, 21542, 18245, 62341],
    customized: ['VR', 'AR', 'AI', '仓储物流']
  },
  {
    type: 'meiritourongzi',
    selected_id: [15263, 26354, 21542, 18245, 62341],
    customized: ['电子金融', '区块链', '汽车电商']
  },
  {
    type: 'tianshixiangmubaodao',
    selected_id: [15263, 26354, 21542, 18245, 62341],
    customized: ['数据', '版权']
  },
  {
    type: 'xinchuangxiangmu',
    selected_id: [15263, 26354, 21542, 18245, 62341],
    customized: ['企创宝', '更值']
  },
  {
    type: 'gaoguanbiandong',
    selected_id: [15263, 26354, 21542, 18245, 62341],
    customized: ['张一鸣', '吴恩达', '张朝阳', '贾跃亭']
  },
  {
    type: 'chuangyezhezhuizong',
    selected_id: [85236, 26354, 21542, 18245, 62341],
    customized: ['李彤', '张一博', '张阿群']
  },
  {
    type: 'touhouzhuizong',
    selected_id: [26453, 26354, 21542, 18245, 62341],
    customized: ['徐小平', '程维', '马化腾']
  },
  {
    type: 'touzijigoudongxiang',
    selected_id: [52641, 26354, 21542, 18245, 62341],
    customized: ['险峰投资', '红杉资本', '领英创投', '阿里巴巴']
  },
  {
    type: 'touzirendongxiang',
    selected_id: [26378, 26354, 21542, 48564, 62341],
    customized: ['徐小平', '程维', '马化腾']
  },
  {
    type: 'hangyedongxiang',
    selected_id: [63254, 26354, 63245, 18956, 51264],
    customized: ['版权', '产品设计', '智能制造', '电子金融']
  }
]

8. 获取公司主页顶部信息

8.1 method: GET

8.2 path: /api/home-top/:companyId

8.3 options:

8.4 response:

type: json
example:

{
  id : 32967,
  name : '今日头条',
  img : 'http://oc3brgiv8.bkt.clouddn.com/FrYMpicbBOlXCKBA9kYu-bR3ehTg?imageMogr2/thumbnail/150x150',
  title : '今日头条 - 热点新闻资讯、娱乐视频',
  num : 1233,
  website :'https://www.baidu.com/',
  tags : '阅读_媒体_微软_自媒体_商务交易',
  from : '文化娱乐_媒体及阅读_媒体'
}

9. 获取页面内容:基本信息

9.1 method: GET

9.2 path: /api/home-basic/:companyId

9.3 response:

type: json
example:

{
  id : 32967,
  name : '北京跳动字节有限责任公司',
  address : '上海市人民法院对面十字巷',
  time : '2017-3-12',
  legal : '张立冬',
  number : '100-200人',
  Valuation : '1001亿',
  infos : '今日头条是一个基于兴趣的、社交化的手机资讯阅读应用,让用户便捷地看到感兴趣和热门的资讯,并和朋友互动,发表对世界的看法。北京字节跳动科技有限公司旗下产品。'
}

10. 获取页面内容:新闻动态

10.1 method: GET

10.2 path: /api/home-news-messages/:companyId

10.3 options:

companyId-> 公司 id

10.4 response:

type: json
example:

[
  {
    id: 1,
    title: '短视频的商业机会在哪里? —— 专访今日头条头条号总监吴达',
    icon: 'http://www.itjuzi.com/assets/front//images/img/icon-weibo.png',
    time: '2017-12-6',
    href: 'https://www.hao123.com/'
  },
  {
    id:2,
    title: '短视频的商业机会在哪里? —— 专访今日头条头条号总监吴达',
    icon: 'http://www.itjuzi.com/assets/front//images/img/icon-weibo.png',
    time: '2017-12-6',
    href: 'https://www.hao123.com/'
  },
  {
    id:3,
    title: '短视频的商业机会在哪里? —— 专访今日头条头条号总监吴达',
    icon: 'http://www.itjuzi.com/assets/front//images/img/icon-weibo.png',
    time: '2017-12-6',
    href: 'https://www.hao123.com/'
  }
]

11.获取页面内容:基本信息

11.1 method: GET

11.2 path: /api/home-business/:companyId

11.3 response:

type: json
example:


{
  id: 3276,
  creditCode: '91110108717743469K',                     //统一社会信用代码
  comname : '山水集团',                                 //企业名称:
  type : '全名所有制',                                  //类型
  legal : '尚冰',                                       //法人代表
  registerM : '100亿人民币',                            //注册资本
  setTime : '2014-4-1',                                 //成立时间
  termFrom : '2015-1-1',                                //经营期限自
  termTo : '2017-12-2',                                //经营期限至
  organ : '北京市工商行政管理局',                       //登记机关
  approval : '2014-12-1',                               //核准日期
  state : '开业',                                       //登记状态
  residence : '北京市海淀区上地十街10号百度大厦三层',   //住所下面是经营范围
  range : '开发、生产计算机软件;提供相关技术咨询、技术服务、技术培训;承接计算机网络系统工程;销售自产产品;货物进出口、技术进出口、代理进出口;设计、制作、代理、发布广告。(依法须经批准的项目,经相关部门批准后依批准的内容开展经营活动。)',
  shareholder : [                                       //股东信息
    {
      name : '张一鸣',                 //名字
      stake : '50%',                   //持股比例
      investment : '123.12',           //认缴出资额
      time: '2016-12-4',               //认缴出资日期
      type: '自然人股东'               //自然人股东
    },
    {
      name : '小飞',               
      stake : '30%',
      investment : '321',
      time: '1234.12.4',
      type: '合伙人'
    },
    {
      name : '张大仙',
      stake : '20%',
      investment : '123',
      time: '2016-12-4',
      type: '创始人'
    }
  ],
  keyPersonnel : [                                   //主要人员
     {
       name : '马上风',                 //名字
       job : '经理'                     //职位
     },
     {
       name : '胡汉三',
       job : '董事长'
     },
     {
       name : '小马',
       job : '创始人'
     },
     {
       name : '罗瓯',
       job : '监视'
     }
  ],
  changeRecord : [                                   //变更记录  经营范围
    {
      time : '2016-12-4',                //(时间,变更前, 变更后)
      beforeChange : '技术开发、技术推广、技术转让、技术咨询、技术服务、技术培训;计算机系统服务;数据处理;基础软件服务、应用软件服务、设计、制作、代理、发布广告。依法须经批准的项目,经相关部门批准后依批准的内容开展经营活动',
      afterChang : 'E值在1.5以上的云计算数据中心除外);基础软件服务、应用软件服务;设计、制作、代理、发布广告。企业依法自主选择经营项目,开展经营活动;从事互联网文化活动、第二类增值电信业务中的信息服务业务(仅限互联网信息服务)以及依法须经批准的项目,经相关部门批准后依批准的内容开展经营活动;不得从事本市产业政策禁止和限制类项目的经营活动。'
    },
    {
      time : '2016-12-4',
      beforeChange : '技术开发、技术推广、技术转让、技术咨询、技术服务、技术培训;计算机系统服务;数据处理;基础软件服务、应用软件服务、设计、制作、代理、发布广告。依法须经批准的项目,经相关部门批准后依批准的内容开展经营活动',
      afterChang : 'E值在1.5以项目的经营活动。'
    },
    {
      time : '2016-12-4',
      beforeChange : '、技术转让、技术咨询、技术服务、技术培训;计算机系统服务;数据处理;基础软件服务、应用软件服务、设计、制作、代理、发布广告。依法须经批准的项目,经相关部门批准后依批准的内容开展经营活动',
      afterChang : 'E值在1.5以上的云计算数据中心除外);基础、应用软件服务;设计、制作、代理、发布广告。企业依法自主选择经营项目,开展经营活动;从事互联网文化活动、第二类增值电信业务中的信息服务业务(仅限互联网信息服务)以及依法须经批准的项目,经相关部门批准后依批准的内容开展经营活动;不得从事本市产业政策禁止和限制类项目的经营活动。'
    }
  ],
  investor : [                                       //投资人
    {
      time : '2016-12-4',
      beforeChange : '张一鸣,自然人股东; 叶薇薇,自然人股东; 王振东,自然人股东;',
      afterChang : '张一鸣,自然人股东; 叶薇薇,自然人股东;'
    },
    {
      time : '2016-12-4',
      beforeChange : '张一鸣,自然人股东; 叶薇薇,自然人股东; 王振东,自然人股东;',
      afterChang : '张一鸣,自然人股东; 叶薇薇,自然人股东;'
    },
    {
      time : '2016-12-4',
      beforeChange : '张一鸣,自然人股东; 叶薇薇,自然人股东; 王振东,自然人股东;',
      afterChang : '张一鸣,自然人股东; 叶薇薇,自然人股东;'
    }
  ],
  legalP : [                                         //法定代表人
    {
      time : '2016-12-4',             
      beforeChange : '张一鸣',
      afterChang : '叶薇薇'
    },
    {
      time : '2016-12-4',
      beforeChange : '张一鸣',
      afterChang : '叶薇薇'
    },
    {
      time : '2016-12-4',
      beforeChange : '张一鸣',
      afterChang : '叶薇薇'
    }
  ],
  jobChange : [                                      //董事(理事)、经理、监事
    {
      time : '2016-12-4',
      beforeChange : '张一鸣,监视',
      afterChang : '肖金梅,监事;'
    },
    {
      time : '2016-12-4',
      beforeChange : '张一鸣,监视',
      afterChang : '肖金梅,监事;'
    }
  ]
}

12.获取页面内容:融资历程

12.1 method: GET

12.2 path: /api/home-financing/:companyId

12.3 response:

type: json
example:

[
  {
    id:1,
    Investor : '中国资金',
    time : '2016-12-4',
    href : 'https://www.hao123.com/',
    round : 'D轮',
    money : '123亿',
    valuation : '4亿'
  },
  {
    id:2,
    Investor : '小飞资产',
    time : '2016-12-4',
    href : 'https://www.hao123.com/',
    round : 'C轮',
    money : '222亿',
    valuation : '3亿'
  },
  {
    id:3,
    Investor : '中国银行',
    time : '2016-12-4',
    href : 'https://www.hao123.com/',
    round : '天使轮',
    money : '1000亿',
    valuation : '100亿'
  },
  {
    id:4,
    Investor : '小飞资产',
    time : '2016-12-4',
    href : 'https://www.hao123.com/',
    round : 'C轮',
    money : '222亿',
    valuation : '3亿'
  }
]

13.获取页面内容:旗下产品

13.1 method: GET

13.2 path: /api/home-ltsproducts/:companyId

13.3 response:

type: json
example:

[
  {
    id:3276,
    fontduan:'最新动态',
    name: '今日头条',
    img: 'http://oc3brgiv8.bkt.clouddn.com/FrYMpicbBOlXCKBA9kYu-bR3ehTg?imageMogr2/thumbnail/150x150',
    title: '今日头条 - 热点新闻资讯、娱乐视频',
    num: 1233,
    itemlist: [
      'http://a4.mzstatic.com/us/r30/Purple82/v4/7d/47/61/7d476117-a250-4698-85b0-3500f0ec147a/screen696x696.jpeg',
      'http://a4.mzstatic.com/us/r30/Purple82/v4/7d/47/61/7d476117-a250-4698-85b0-3500f0ec147a/screen696x696.jpeg',
      'http://a5.mzstatic.com/us/r30/Purple111/v4/11/dc/f5/11dcf5bb-9934-144b-05ad-1a0b2a58de64/screen696x696.jpeg',
      'http://a5.mzstatic.com/us/r30/Purple111/v4/11/dc/f5/11dcf5bb-9934-144b-05ad-1a0b2a58de64/screen696x696.jpeg',
      'http://a4.mzstatic.com/us/r30/Purple82/v4/7d/47/61/7d476117-a250-4698-85b0-3500f0ec147a/screen696x696.jpeg',
      'http://a4.mzstatic.com/us/r30/Purple82/v4/7d/47/61/7d476117-a250-4698-85b0-3500f0ec147a/screen696x696.jpeg',
      'http://a5.mzstatic.com/us/r30/Purple111/v4/11/dc/f5/11dcf5bb-9934-144b-05ad-1a0b2a58de64/screen696x696.jpeg',
      'http://a5.mzstatic.com/us/r30/Purple111/v4/11/dc/f5/11dcf5bb-9934-144b-05ad-1a0b2a58de64/screen696x696.jpeg'
    ]
  },
  {
    fontduan:'最新动态',
    name: '内涵段子',
    img: 'http://oc3brgiv8.bkt.clouddn.com/Fh3c5R2sDDH1LsH5uqhdF0zfD-T1?imageMogr2/thumbnail/150x150',
    title: '销售自产产品;货物进出口',
    num: 33333,
    itemlist: [
      'http://pp.myapp.com/ma_pic2/0/shot_42265119_1_1493317510/550',
      'http://pp.myapp.com/ma_pic2/0/shot_42265119_2_1493317510/550',
      'http://pp.myapp.com/ma_pic2/0/shot_42265119_3_1493317510/550',
      'http://pp.myapp.com/ma_pic2/0/shot_42265119_4_1493317510/550',
      'http://pp.myapp.com/ma_pic2/0/shot_42265119_5_1493317510/550'
    ]
  },
  {
    fontduan:'最新动态',
    name: '小马过河',
    img: 'http://oc3brgiv8.bkt.clouddn.com/Fgp_PkNwRv-tapAHmEiMiTX96X52?imageMogr2/thumbnail/150x150',
    title: '技术推广、技术转让、技术咨询',
    num: 4543,
    itemlist: [
      'http://pp.myapp.com/ma_pic2/0/shot_1235317_1_1491528327/550',
      'http://pp.myapp.com/ma_pic2/0/shot_1235317_2_1491528327/550',
      'http://pp.myapp.com/ma_pic2/0/shot_1235317_3_1491528327/550',
      'http://pp.myapp.com/ma_pic2/0/shot_1235317_4_1491528327/550',
      'http://pp.myapp.com/ma_pic2/0/shot_1235317_5_1491528327/550',
      'http://pp.myapp.com/ma_pic2/0/shot_1235317_2_1491528327/550',
      'http://pp.myapp.com/ma_pic2/0/shot_1235317_4_1491528327/550'
    ]
  }
]

14. 旗下产品页面实时排名数据

14.1 method: GET

14.2 path: /api/home-rinking/:companyId/:startDate/:endDate

14.3 options:

companyId -> 公司 id
startDate -> 开始时间
endDate -> 结束时间

14.4 response:

type: json
example:


{
  startDate:'2016-12-4',
  endDate:'2016-12-4',
  time: ["2016-1-1", "2016-12-21", "2016-3-12", "2016-4-1", "2016-5-21", "2016-6-12", "2016-7-2", "2016-8-8", "2016-9-12", "2016-10-12", "2016-11-11", "2016-12", "2016-12-21", "2016-3-12", "2016-4-1", "2016-5-21", "2016-6-12", "2016-7-2", "2016-8-8", "2016-9-12", "2016-10-12", "2016-11-11", "2016-12", "2016-12-21", "2016-3-12", "2016-4-1", "2016-5-21", "2016-6-12", "2016-7-2", "2016-8-8", "2016-9-12", "2016-10-12", "2016-11-11", "2016-12", "2016-12-21", "2016-3-12", "2016-4-1", "2016-5-21", "2016-6-12", "2016-7-2", "2016-8-8", "2016-9-12", "2016-10-12", "2016-11-11", "2016-12"],
  ranking: [820, null, 901, 934, 1290, 1330, 1320, 123, 233, 4545, 2123, 133, 932, 901, 934, 1290, 1330, 1320, 123, 233, 4545, 2123, 133, 932, 901, 934, 1290, 1330, 1320, 123, 233, 4545, 2123, 133, 932, 901, 934, null, 1330, 1320, 123, 233, 4545, 2123, 133]
}

14.5 其他说明

time 中每一个日期对应一个 ranking 中的数值,若无数值则置 null

15. 旗下产品页面下载趋势

15.1 method: post

15.2 path: /api/home-download/:companyId/:startDate/:endDate

15.3 接口需求参数

companyId -> 公司 id
startDate -> 开始时间
endDate -> 结束时间

15.4 response:

type: json
example:

{
  startDate: '2013-04-14',
  endDate: '2013-04-21',
  time: ["2016-1-1", "2016-12-21", "2016-3-12", "2016-4-1", "2016-5-21", "2016-6-12", "2016-7-2", "2016-8-8", "2016-9-12", "2016-10-12", "2016-11-11", "2016-12", "2016-12-21", "2016-3-12", "2016-4-1", "2016-5-21", "2016-6-12", "2016-7-2", "2016-8-8", "2016-9-12", "2016-10-12", "2016-11-11", "2016-12", "2016-12-21", "2016-3-12", "2016-4-1", "2016-5-21", "2016-6-12", "2016-7-2", "2016-8-8", "2016-9-12", "2016-10-12", "2016-11-11", "2016-12", "2016-12-21", "2016-3-12", "2016-4-1", "2016-5-21", "2016-6-12", "2016-7-2", "2016-8-8", "2016-9-12", "2016-10-12", "2016-11-11", "2016-12"],
  ranking: [820, 932, 901, 934, 1290, 1330, 1320, 123, 233, 4545, 2123, 133, 932, 901, 934, 1290, 1330, 1320, 123, 233, 4545, 2123, 133, 932, 901, 934, 1290, 1330, 1320, 123, 233, 4545, 2123, 133, 932, 901, 934, 1290, 1330, 1320, 123, 233, 4545, 2123, 133]
}

16. 获取公司主页:竞品分析

16.1 method: GET

16.2 path: /api/home-competitor/:companyId

16.3 options:

companyId-> 公司 id

16.4 response:

type: json
example:

[
  {
    id:1,
    logo : 'http://static.tianyancha.com/logo/product/60f9f0edf9c652b172a13ca2389738d3.png',
    name : '饿了么',
    title : '美好生活,出手可及',
    tags : '媒体_餐饮_娱乐_生活_小清新',
    address : '北京',
    round : 'D轮',
    time : '2017.12.5',
    valuation : '1.42亿人民币'
  },
  {
    id:2,
    logo : 'http://static.tianyancha.com/logo/product/60f9f0edf9c652b172a13ca2389738d3.png',
    name : '饿了么',
    title : '美好生活,出手可及',
    tags : '媒体_餐饮_娱乐_生活_小清新',
    address : '北京',
    round : 'D轮',
    time : '2017.12.5',
    valuation : '1.42亿人民币'
  },
  {
    id:3,
    logo : 'http://static.tianyancha.com/logo/product/60f9f0edf9c652b172a13ca2389738d3.png',
    name : '饿了么',
    title : '美好生活,出手可及',
    tags : '媒体_餐饮_娱乐_生活_小清新',
    address : '北京',
    round : 'D轮',
    time : '2017.12.5',
    valuation : '1.42亿人民币'
  }
]

©️2022 CSDN 皮肤主题:大白 设计师:CSDN官方博客 返回首页

打赏作者

res_min

你的鼓励将是我创作的最大动力

¥2 ¥4 ¥6 ¥10 ¥20
输入1-500的整数
余额支付 (余额:-- )
扫码支付
扫码支付:¥2
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、C币套餐、付费专栏及课程。

余额充值