用户全量获取支付列表接口

简要描述:

  • 用户全量获取商品信息接口

请求URL:

  • http://192.168.12.67/s1/openapi/openapi/base/arch/completepullarchinfo

请求方式:

  • POST

请求类型:

  • application/json

加密类型:

  • RSA

请求示例

  {
    "ispInfoId": 10001,
    "data":
"MffHgjor2AWc0Hh/zZnj2+WdJS/cifz0FIcGyRacdCEQZWM+/QIN5tBYYweRVkE1gSo/dkrNgwilipJcxHf8LvNKS3L6wRFV04Szmc3G9+r+ueZ3SX7L/9Cp1N/oIqwhRTMZkRWjVE3xLTj6b0QdgjWEn1pzDXRK5DPahH+BjGY="
  }

data请求参数说明:

参数名 必选 类型 说明
centerId Integer 集团ID
type Integer 1:商品 2:商品类别 3:单位 4:套餐 5:券 6:支付方式 7:营销活动

返回示例

  {
    "result": 0,
    "msg": "请求成功",
    "code": "0",
    "errorMsg": "",
    "data":
"hJOx8SJeNp8Yb2Pn+1EuHJ4QPy0FlwVawCcYtXb8Af+j+3sv8jtYAHebjbqr56wvfATPiF6xSGBWVTNLwMK2MENSSuYnTXaVLJwZQ27r20TrL25Xh5Rvc0kukDJ97sDKMYfuu+mNG+C/fdhW2xgHDyCWz3Jtl+n/3GP8nJtbNZk="
  }
  {
    "result": 0,
    "msg": "请求成功",
    "code": "0",
    "errorMsg": "",
    "data":
            "[
              {
                "id": "1",
                "isEnable": true,
                "code": "01",
                "name": "现金",
                "paywayTypeId": "501",
                "paywayTypeName": "基础",
                "isSystem": true,
                "isAllShop": true,
                "state": 4,
                "isO2O": false,
                "url": "pay_cash.png",
                "isHidden": false,
                "isMeiTuan": false,
                "note": "",
                "pk": "1"
              },
              {
                "id": "2",
                "isEnable": true,
                "code": "02",
                "name": "银行卡",
                "paywayTypeId": "501",
                "paywayTypeName": "基础",
                "shopIds": [
                  {
                    "id": 10495,
                    "name": "分店二号"
                  }
                ],
                "isSystem": true,
                "isAllShop": false,
                "state": 4,
                "isO2O": false,
                "url": "pay_card.png",
                "isHidden": false,
                "isMeiTuan": false,
                "note": "",
                "pk": "2"
              },
              {
                "id": "3",
                "isEnable": true,
                "code": "03",
                "name": "会员卡",
                "paywayTypeId": "502",
                "paywayTypeName": "会员卡",
                "isSystem": true,
                "isAllShop": true,
                "state": 4,
                "isO2O": false,
                "url": "pay_vip.png",
                "isHidden": false,
                "isMeiTuan": false,
                "note": "",
                "pk": "3"
              },
              {
                "id": "4",
                "isEnable": true,
                "code": "04",
                "name": "微信",
                "paywayTypeId": "503",
                "paywayTypeName": "移动支付",
                "isSystem": true,
                "isAllShop": true,
                "state": 4,
                "isO2O": true,
                "url": "pay_wechat.png",
                "isHidden": false,
                "isMeiTuan": false,
                "note": "",
                "pk": "4"
              },
              {
                "id": "5",
                "isEnable": true,
                "code": "05",
                "name": "支付宝",
                "paywayTypeId": "503",
                "paywayTypeName": "移动支付",
                "isSystem": true,
                "isAllShop": true,
                "state": 4,
                "isO2O": true,
                "url": "pay_alipay.png",
                "isHidden": false,
                "isMeiTuan": false,
                "note": "",
                "pk": "5"
              }
            ]"
          }

返回参数说明

参数名 类型 说明
result int 状态(0-成功,-1-失败)
msg String 调用成功返回信息)
code String 调用结果Code
errorMsg String 错误信息
data List<PaywayExtend> 返回数据(加密后)

PaywayExtend

参数名 类型 说明
id Long 支付方式ID
isEnable Boolean 是否有效
code String 代码
name String 支付名称
paywayTypeId String 支付类型ID
paywayTypeName String 支付类型名称
isSystem Boolean 是否是系统预设的支付方式
isAllShop Boolean 是否应用全部门店
state Integer 审核状态
isO2O Boolean 是否是移动支付
isHidden Boolean 是否隐藏
shopIds List 可用店铺列表

shopIds

参数名 类型 说明
id Integer 门店id
name String 门店名称

备注

  • 更多返回错误代码请看首页的错误代码描述