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

Last edited by 金小龙 Aug 26, 2016
Page history

api

登陆

地址:/login

参数列表:

  • action: String 定值 login

  • username : String 对应用户名

  • password : String 对应密码

返回值说明:

返回带有两个参数的josn字符串

如:{"code":"101","message":"\u7528\u6237\u540d\u6216\u5bc6\u7801\u9519\u8bef"}

  • code:0 代表登录成功

  • code:100 用户名或密码有空值

  • code:101 登录用户名格式不正确

  • code:102 用户名或密码有误

注册

地址:

参数列表:

返回值说明:

修改密码

地址:/user/password/

参数列表:

  • action: String 定值 update_password

  • password : String 对应原始密码

  • update_password : String 对应要更改密码

返回值说明:

返回带有两个参数的josn字符串

如:{"code":"0","message":"\u7528\u6237\u540d\u6216\u5bc6\u7801\u9519\u8bef"}

  • code:0 代表密码修改成功

  • code:201 原始密码与要修改密码相同

  • code:202 原始密码错误

公司列表

地址:/company

参数列表:

  • fword: String A-Z --代表公司的首字母

  • reg_money : int 1--小于500万 2--500-900万 3--1000-3000万 4--3000万以上

  • street : String 填写街道名称即可

  • other_type : int 1--重点关注 2--有网站

  • order_type : int 1--注册资金 2--网站浏览次数 3--网站访问次数 4--企业预警次数

获取新闻列表

地址:/maindata/

参数列表:

  • action: String 定值 get_news_list

  • page : int 页数

返回值说明:

返回带有两个参数的josn字符串

如:{"page_count":"0","list":[{"title":"测试","url":"http://www.baidu.com","date":"2016-09-08"}]}

获取商标

地址:/companydata-8.html/

参数列表:

  • action: String 定值 trademark

  • page : int 页数

  • mark_states : 0-全部 ,1-有效 ,2-无效 ,3-代审 ,4其他

返回值说明:

返回带有两个参数的josn字符串

如:

    (
     [0] => Array
     (
      [info_id] => 199
      [company_name_digest] => 57cf8faa95a6107725c5177d6ee7ef8d
      [TM_ID] => 199
      [reg_no] => 10071788
      [int_cls] => 25
      [tm_name] => 意中行
      [app_date] => 2011-10-17
      [STATUS] => 1
      [lastupdatetime] => 2016-06-24 14:35:37
      [company_id] => 0
      [flow_id] => 18886558
      [LC_DATE] => 2013-01-25 00:00:00
      [cat_name] => 商标已注册
      [type] => 服装鞋帽
      [img_url] => http://images.shuidixy.com/tml2/G0/G0071788.jpg
      )    
     ) 
    [page_count] => 1
)'''



#### 申请人工报告

地址:/companydata-8.html

参数列表: 

* action: String 定值 apply_report

返回值说明:

   返回带有两个参数的josn字符串
 
   如:{"code":"1","message":"申请成功"}
 
* code:1 代表申请成功

* code:0 代表申请失败,失败原因在message

#### 查询企业详情

地址:changning.dev.pingansec.com

参数列表: 

* action: String 定值 company_detil
* company_name 对应公司名称

返回值说明:

   返回带有两个参数的josn字符串
 
   如:```Array
(
    [partners] => Array
        (
            [0] => Array
                (
                    [stock_name] => 天津埃克森阀门有限公司
                    [stock_proportion] => 28.00
                )

            [1] => Array
                (
                    [stock_name] => 天津市津南区车天下汽车装具经营部
                    [stock_proportion] => 25.00
                )

        )

    [invest] => Array
        (
        )

    [employees] => Array
        (
            [0] => Array
                (
                    [name] => 小陈
                    [position] => 董事
                )

        )

    [legal_person] => 王会昌
    [capital] => 
    [establish_date] => 
    [company_status] => 存续
)
 
* partners 股东

* invest 对外投资

* employees 主要成员

* legal_person 法定代表

* capital 注册资本

* establish_date 成立日期

* company_status 公司状态

#### 重置密码

地址:/login

参数列表: 

* action: String 定值 reset_password

* email : String  邮箱

返回值说明:

   返回带有两个参数的josn字符串,若成功返回三个
 
* code:0 代表登录成功
{"code":"0","message":"\u5bc6\u7801\u66f4\u6539\u6210\u529f","reset_password":"ae6bf3e23389"}
* code:301 邮箱格式错误
{"code":"301","message":"\u90ae\u7bb1\u683c\u5f0f\u4e0d\u6b63\u786e"}
* code:302 邮箱不存在
{"code":"302","message":"\u90ae\u7bb1\u683c\u5f0f\u4e0d\u6b63\u786e"}


#### 查询新增失信数量

地址:/

参数列表: 

* action: String 定值 get_new_lost_warning_num

返回值说明:

   返回带有三个参数的josn字符串
 
   如:{"code":"1","message":"申请成功", "data":"5"}
 
* code:1 代表申请成功
* code:0 代表申请失败,失败原因在message
* data 为查询出得新增失信数量


#### 获取公司新闻

地址:/companydata-8.html/

参数列表: 

* action: String 定值 news

* 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:提示信息
* list 为查询到得新闻
* page_count 总页数


#### 失信被执行详情

地址:/companydata-8.html/

参数列表: 

* action: String 定值 uncredits

* anno : String 案号


返回值说明:
如:{
code: "0",
message: "查询正常",
list: {
actioner_mark: "违反财产报告制度,其他有履行能力而拒不履行生效法律文书确定义务",
duty: "齐齐哈尔农垦顺达运输服务有限责任公司给付周玉芳,刘大东387347.43元。",
unperform_part: null,
execute_unit: "北京市顺义区人民法院 ",
legal_person: "范志刚",
is_sync: null,
execute_status: "全部未履行",
expired: 1,
execute_no: "(2014)顺民初字第11796号",
execute_gov: "北京市顺义区人民法院",
sync_time: null,
uncredit_no: 1,
follows: 0,
age: null,
anno: "(2015)顺执字第00851号",
filing_date: 1419552000,
publish_date: [ ],
performed_part: null,
gender: null,
source_id: "1196766",
is_person: null,
org_no: "728976321"
}
}
   返回带有四个参数的josn字符串
* code:0-代表查询成功,201-未查询到数据
* message:提示信息
* list 为查询到得数据


#### 找回密码

地址:/login

参数列表: 

* action: String 定值 password_recovery

* username : String 对应用户名

返回值说明:

   返回带有两个参数的josn字符串
 
   如:{"code":"0","message":"密码已发送到您的邮箱中:jinxl@pingansec.com"}
 
* code:0 代表成功

* code:302 错误,请稍后尝试
 
Clone repository
  • api
  • baidu_news
  • crontab
  • develop
  • Home
  • urlsetup