费用详情

请求URL:

  • user/pay/detail

请求方式:

  • POST

参数:

字段 类型 默认 注释
cost_id int(11) 费用id

返回示例

{
    "code": 0,
    "msg": "成功",
    "data": {
        "list": {
            "cost_id": "1",
            "type": "1",
            "contract_id": "1",
            "user_id": "1",
            "house_id": "1",
            "landlord_id": "1",
            "money": "20.00",
            "content": [
                {
                    "title": "水费",
                    "money": 10
                }
            ],
            "time": "1650000000",
            "order_no": "30022233333",
            "status": "1",
            "addtime": "2022-05-12 10:42",
            "paytime": "1652323332",
            "name": "1",
            "community_name": "1",
            "house_type": "1"
        },
        "pay": {
            "status": 200,
            "message": "操作成功!",
            "count": 0,
            "totalCount": 0,
            "empty": true,
            "data": {
                "onlinePayTempDocCode": null,
                "docCode": "PAY-20211025225600012721",
                "payCode": null,
                "payNo": null,
                "status": null,
                "weChatPayInfo": {
                    "appId": "wx6920d3d4f9a46e97",
                    "timeStamp": "1635173761",
                    "nonceStr": "2f38d45ff9db4732b20d4277c9320b73",
                    "packages": "prepay_id=wx252256009744286ed75b3036b091320000",
                    "signType": "RSA",
                    "paySign": "rADFFAMegc7ZCMzIfMTtWWD4uycy45Eg6fT4zcYgXk+AfFXZ/BX8MzzGTbLBW/BtLmonaInABDGax0YWqmVjDbOhvBD5ATlvS9badWbm95R1w38PxAtQfL3+zMnKURYXfiMQ7wF9VoyCTRiNSnj/RXCuQ3wvT3jmCoGEECQVSM2PW2/HYgzD3awy9iNuiJxwRaZX3DNN3mM5GBVZQTyBHhwdgy5H/RSTN6SKshaCZz8vzK4wvKYvXXYB9ytc3aGzl13YuKUlV2cPQDyfHTL5GP+R/8A9+gRzqMV2PSwVOtLeEUleIG/fUHmNyG8JhSV3wI8GKfoYAHHNXmYq/NSbfA=="
                },
                "weChatPayInfoStr": "{\"appId\":\"wx6920d3d4f9a46e97\",\"nonceStr\":\"2f38d45ff9db4732b20d4277c9320b73\",\"package\":\"prepay_id=wx252256009744286ed75b3036b091320000\",\"paySign\":\"rADFFAMegc7ZCMzIfMTtWWD4uycy45Eg6fT4zcYgXk+AfFXZ/BX8MzzGTbLBW/BtLmonaInABDGax0YWqmVjDbOhvBD5ATlvS9badWbm95R1w38PxAtQfL3+zMnKURYXfiMQ7wF9VoyCTRiNSnj/RXCuQ3wvT3jmCoGEECQVSM2PW2/HYgzD3awy9iNuiJxwRaZX3DNN3mM5GBVZQTyBHhwdgy5H/RSTN6SKshaCZz8vzK4wvKYvXXYB9ytc3aGzl13YuKUlV2cPQDyfHTL5GP+R/8A9+gRzqMV2PSwVOtLeEUleIG/fUHmNyG8JhSV3wI8GKfoYAHHNXmYq/NSbfA==\",\"signType\":\"RSA\",\"timeStamp\":\"1635173761\"}"
            },
            "success": true
        },
        "alipay_url": "http://ysj.carryba.com/addons/zjhj_mall/core/web/index.php?r=code/code&code=https://qr.alipay.com/bax06921h4i6zl6cpdiw307d",
        "wx_url": "http://ysj.carryba.com/addons/zjhj_mall/core/web/index.php?r=code/code&code=https://qr.alipay.com/bax02225gelmtowxke5f25c8"
    }
}

返回参数说明

字段 类型 默认 注释
cost_id int(11) 费用id
type int(11) 1增加费用 2房租费用
contract_id int(11) 合同id
user_id int(10) 用户id
house_id int(10) 房子id
landlord_id int(10) 房东id
money int(10) 总费用
content varchar(255) 费用详情:[{“title”:”水费”,”money”:10}]
time int(10) 应付时间
order_no int(10) 订单号
status int(10) 0未支付 1已支付
addtime int(10) 下单时间
paytime int(10) 支付时间
url int(10) 支付二维码
community_name varchar(255) 小区名
name varchar(255) 房源名
house_type varchar(255) 户型
alipay_url varchar(255) 支付宝支付二维码
wx_url varchar(255) 微信支付二维码