Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
web-php
web-php
  • 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 94
    • Merge requests 94
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • 互联网应用开发
  • web-phpweb-php
  • Wiki
    • Server
    • Apis
  • personal_card

Last edited by 王常春 Oct 11, 2019
Page history
This is an old version of this page. You can view the most recent version or browse the history.

personal_card

Wiki个人名片

目录

  • 名片检查必填参数
  • 名片批量提交
  • 名片置顶操作

添加编辑个人名片

描述

添加或者编辑个人名片信息

URL

http://baike.shuidi.dev.pingansec.com/my-company/pbc?action=save

Method

POST

参数

参数名称 是否必须 类型 说明
action 是 string 固定为save
position_id 是 int 职位ID
photo 是 string 头像
phone 是 string 电话
wechat 否 string 微信号
email 否 string 邮箱
intro 否 string 简介
id 否 integer 名片ID,更新必须,不传为新建

返回

{
    "status":0,
    "message":"请求成功!",
    "data":[

    ]
}

提交名片人员更换

描述

提交名片人员更换申请

URL

http://baike.shuidi.dev.pingansec.com/my-company/pbc?action=submit_change_person

Method

POST

参数

参数名称 是否必须 类型 说明
action 是 string 固定为submit_change_person
position_id 是 int 职位ID
name 是 string 名称
position 是 string 职务
id_card 是 string 身份证号码
deadline 是 string 在职截止日期
proof 是 string 更换人员在职证明,json字符串数组,如"["upload/images/55/a7/0f/56/55a70f56208c4816299a83764b98fdaa.jpg"]"

返回

{
    "status":0,
    "message":"请求成功!",
    "data":[

    ]
}

名片检查必填参数

描述

名片检查必填参数,姓名,手机号和身份证合法性

URL

http://baike.shuidi.dev.pingansec.com/my-company/pbc?action=check_pc_required_info

Method

POST

参数

参数名称 是否必须 类型 说明
action 是 string 固定为check_pc_required_info
name 是 int 名片姓名
mobile 是 string 手机号
id_card 是 string 身份证号码

返回

{
    "status":0,
    "message":"请求成功!",
    "data":[

    ]
}

名片批量提交

描述

名片批量提交提交接口,会向第三方接口校验名片身份证、姓名、手机号正确性

URL

http://baike.shuidi.dev.pingansec.com/my-company/pbc?action=batch_submit_pc

Method

POST

参数

参数名称 是否必须 类型 说明
action 是 string 固定为batch_submit_pc
content 是 string 批量提交名片数组
proof 是 string 证明数组

返回

{
    "status":0,
    "message":"请求成功!",
    "data":[

    ]
}

名片置顶操作

描述

名片置顶操作

URL

http://baike.shuidi.dev.pingansec.com/my-company/pbc

Method

POST

参数

参数名称 是否必须 类型 说明
action 是 string 固定为set_top
pc_id 是 string 置顶名片id

返回

{
    "status":0,
    "message":"请求成功!",
    "data":[

    ]
}

名片列表分页

描述

名片列表分页

URL

http://baike.shuidi.dev.pingansec.com/my-company/pbc?action=get_list

Method

POST | GET

参数

参数名称 是否必须 类型 说明
action 是 string 固定为get_list
page 是 string 分页页数

返回

{
    "status":0,
    "message":"请求成功!",
    "data":{
        "total":"11",
        "list":[
            {
                "id":"221",
                "company_name_digest":"cfd7e6ab71b1700f694ac4e6e9b94623",
                "content":{
                    "name":"罗文",
                    "position":"测试一二",
                    "photo":"upload/images/6f/c0/2b/de/6fc02bde952baeb245d2d3751a6bd5ff.jpg",
                    "phone":"17316306707",
                    "id_card":"141111111111222222",
                    "deadline":"2019-09-28",
                    "proof":"upload/images/9f/dd/22/cd/9fdd22cdb56a755f9a542e5b4075f151.jpg",
                    "wechat":"",
                    "email":"",
                    "intro":"5465464",
                    "audit_time":"2019-10-09 16:09:17"
                },
                "content_tmp":"",
                "phone":"17316306707",
                "id_card":"141111111111222222",
                "source":"1",
                "qrcode":"upload/images/8b/80/d6/d5/8b80d6d5ea9be67251fc63357424c835.png",
                "mark":"",
                "status":"2",
                "is_pause":"2",
                "created_at":"2019-09-12 17:25:12",
                "edited_at":"2019-09-27 22:25:26",
                "updated_at":"2019-10-11 14:19:43",
                "first_audit_time_1":null,
                "first_audit_time":"2019-09-12 17:26:03",
                "end_at":"2019-09-28 23:59:59",
                "sort":"61",
                "is_show":"2",
                "pv":"0",
                "uv":"1",
                "like_num":"0",
                "share_num":"0",
                "once_share_num":"0",
                "once_like_num":"0",
                "once_uv":"0",
                "once_pv":"0",
                "t_status":"2",
                "audit_time":"2019-09-12 17:26:03",
                "is_first_audit_pass":true
            },
        
            ......
        ]
    }
}

名片置顶操作

描述

名片置顶操作

URL

http://baike.shuidi.dev.pingansec.com/my-company/pbc

Method

POST

参数

参数名称 是否必须 类型 说明
action 是 string 固定为set_top
pc_id 是 string 置顶名片id

返回

{
    "status":0,
    "message":"请求成功!",
    "data":[

    ]
}
Clone repository
  • code
  • conference_records
  • crontab_list
  • Home
  • server
    • apis
      • 360_order
      • comment
      • medical
      • personal_card
      • test
  • server_apis
  • tools_php_usage