Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
P
project-changning
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • 互联网应用开发
  • project-changning
  • Wiki
  • api

api · Changes

Page history
xiaolong.jin created page: crontab authored Jul 11, 2016 by 陈昌's avatar 陈昌
Hide whitespace changes
Inline Side-by-side
Showing with 50 additions and 0 deletions
+50 -0
  • api.md api.md +50 -0
  • No files found.
api.md
View page @ 5762bdd9
......@@ -248,3 +248,53 @@
* code:1 代表申请成功
* code:0 代表申请失败,失败原因在message
* data 为查询出得新增失信数量
#### 获取公司新闻
地址:/companydata-8.html/
参数列表:
* action: String 定值 get_news_list
* page : int 页数
返回值说明:
如:{
code: 0,
message: "查询正常",
list: [
{
id: "2",
cid: "8",
title: "P2P业务,<b>北京恒昌</b>先做"风控"再求发展",
site_name: "人民网",
url: "http://su.people.com.cn/n/2014/0902/c348717-22182533.html",
url_hash: "ab8995785231596389f11eb1239fca7c",
desc: "",
create_time: "1409618580",
last_update: "2016-07-01 13:04:10"
},
{
id: "1",
cid: "8",
title: "<b>北京恒昌汇财投资管理有限公司</b>河北<b>分公司</b>盛大开业",
site_name: "河北新闻网",
url: "http://finance.hebnews.cn/2014-09/22/content_4191408.htm",
url_hash: "d34d0b712df982d9e9f8e43ee92b8fed",
desc: "",
create_time: "1411355830",
last_update: "2016-07-01 13:04:04"
}
],
page_count: 1
}
返回带有四个参数的josn字符串
* code:0-代表查询成功,201-未查询到数据
* message:提示信息
* data 为查询到得新闻
* page_count 总页数
\ No newline at end of file
Clone repository
  • api
  • baidu_news
  • crontab
  • develop
  • Home
  • urlsetup