项目间交互

请求报文格式:

{
    "head":{
        "transDate":交易日期, 
        "transTime":交易时间戳, 
        "serinalNo":交易流水号, 
        "transCode":交易码,长度为8位
    },
    "body":{


}

请求报文示例:

{
    "body":{
        "applyId":"APP20180514100190",
        "ghId":"C056623",
        "contractIsPush":"-1",
        "ghOrg":"320323919",
        "errMsg":"通信异常",
        "contractNo":"BC2018051400008511",
        "isPush":"-1",
        "creditId":"C1000137",
        "limitStatus":"0",
        "applyStatus":"6"
    },
    "head":{
        "transDate":"2018051",
        "transTime":"193314961",
        "serinalNo":"20180517193314952444066",
        "transCode":"GJJ00001"
    }
}

返回报文格式:

{
    "head":{
        "transDate":交易日期, 
        "transTime":交易时间戳, 
        "serinalNo":交易流水号, 
        "transCode":交易码,长度为8位
    },
    "body":{

    },
    "errCode":错误码,规定"000000"为请求成功的错误码,
    "errMsg":错误信息
}

返回报文示例

{
    "body":{

    },
    "errMsg":"",
    "errCode":"000000",
    "head":{
        "transDate":"20180517",
        "transTime":"193314974",
        "serinalNo":"20180517193314952444066",
        "transCode":"GJJ00001"
    }
}

前端交互

请求报文格式:

{
    业务报文
}

报文示例

{
    "userId":71179,
    "channelId":"APP",
    "proId":"LP0001",
    "phone":"18305178983"
}

返回报文格式

{
    "body":{
        业务报文
    },
    "errCode":错误码,规定"000000"为请求成功的错误码,
    "errMsg":错误信息
}

报文示例

{
    "body":{
        "userLoanStatus":"1"
    },
    "errMsg":"",
    "errCode":"000000"
}
文档更新时间: 2018-11-09 05:37   作者:mayun12