简要描述:

-合同首页

请求域名:

  • http://xx.com

请求URL:

plugin.shop-esign-v2.frontend.controllers.index.index

请求参数说明:

参数名 类型 是否必需 说明
scene_type int 场景类型1订单2提现3任务包
cid int 企业平台id
order_id int 订单id

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "ok",
    "data": {
        "person_status": 1,
        "person_name": "孙新建",
        "company_status": 1,
        "company_name": "广州市芸签信息科技有限公司",
        "company_list": [
            {
                "id": 7,
                "uniacid": 1,
                "uid": 0,
                "name": "广州市芸签信息科技有限公司",
                "logo_img": "https://dev8.yunzmall.com/static/logo.png",
                "status": 1,
                "created_at": "2021-12-06 13:41:43",
                "updated_at": "2022-12-12 09:17:39",
                "deleted_at": null,
                "member_uid": 164783,
                "auth_plugins": "a:14:{i:0;s:7:\"YunSign\";i:1;s:7:\"YunChat\";i:2;s:10:\"YunChatSub\";i:3;s:16:\"GroupDevelopUser\";i:4;s:15:\"WechatCustomers\";i:5;s:19:\"DiscountHarvestFans\";i:6;s:7:\"ShopPos\";i:7;s:14:\"CustomerManage\";i:8;s:21:\"OpportunityManagement\";i:9;s:12:\"WelcomeWords\";i:10;s:13:\"WorkWechatTag\";i:11;s:16:\"CustomerIncrease\";i:12;s:18:\"SpeechcraftLibrary\";i:13;s:7:\"SopTask\";}"
            },
            {
                "id": 20,
                "uniacid": 1,
                "uid": 0,
                "name": "萨法法师",
                "logo_img": "http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/images/1/2022/09/f56776ee8af5342bfec8fead9cbe1158.jpg",
                "status": 1,
                "created_at": "2022-11-17 17:24:42",
                "updated_at": "2022-12-12 09:17:39",
                "deleted_at": null,
                "member_uid": 164783,
                "auth_plugins": "a:14:{i:0;s:7:\"YunSign\";i:1;s:7:\"YunChat\";i:2;s:10:\"YunChatSub\";i:3;s:16:\"GroupDevelopUser\";i:4;s:15:\"WechatCustomers\";i:5;s:19:\"DiscountHarvestFans\";i:6;s:7:\"ShopPos\";i:7;s:14:\"CustomerManage\";i:8;s:21:\"OpportunityManagement\";i:9;s:12:\"WelcomeWords\";i:10;s:13:\"WorkWechatTag\";i:11;s:16:\"CustomerIncrease\";i:12;s:18:\"SpeechcraftLibrary\";i:13;s:7:\"SopTask\";}"
            }
        ],
        "scene_list": [
            {
                "id": 1,
                "uniacid": 1,
                "name": "崔胜澈",
                "scene_type": 1,
                "template_id": 49,
                "role_id": 106,
                "sign_condition": 1,
                "appoint_uid": null,
                "form_data": [
                    {
                        "id": 215,
                        "uniacid": 1,
                        "template_id": 49,
                        "form_type": 1,
                        "form_name": "文本名称",
                        "form_value": "文本",
                        "is_require": 1,
                        "doc_page": 1,
                        "pos_x": 100,
                        "pos_y": 252.67,
                        "pdf_pos_x": 37.63,
                        "pdf_pos_y": 90.55,
                        "width": 98,
                        "height": 28,
                        "role_id": 0,
                        "show_time": null,
                        "sign_seal_type": null,
                        "number_type": null,
                        "date_type": null,
                        "fill_type": 0,
                        "fill_type_change": 0,
                        "form_type_name": "文本",
                        "variable": 4
                    },
                    {
                        "id": 218,
                        "uniacid": 1,
                        "template_id": 49,
                        "form_type": 4,
                        "form_name": "身份证号",
                        "form_value": "身份证号",
                        "is_require": 1,
                        "doc_page": 1,
                        "pos_x": 99.33,
                        "pos_y": 295.33,
                        "pdf_pos_x": 37.39,
                        "pdf_pos_y": 105.6,
                        "width": 98,
                        "height": 28,
                        "role_id": 0,
                        "show_time": null,
                        "sign_seal_type": null,
                        "number_type": null,
                        "date_type": null,
                        "fill_type": 0,
                        "fill_type_change": 0,
                        "form_type_name": "身份证",
                        "variable": 5
                    }
                ],
                "created_at": "2022-12-26 14:30:21",
                "updated_at": "2022-12-26 14:30:21",
                "sign_type": 1,
                "sign_role_name": "签署方2",
                "signed": false,
                "scene_type_name": "下单签署"
            }
        ]
    }
}

返回参数说明:

返回参数说明:

参数名 类型 说明
person_status int 个人认证状态
person_name string 个人名称
company_status int 企业认证状态
company_name string 企业名称
company_list array 企业列表
scene_list array 合同场景列表
scene_list[name] string 名称
scene_list[sign_type] int 签署方类型
scene_list[sign_role_name] string 签署方角色名称
scene_list[signed] fload 是否已经签署