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

简要描述:

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

请求URL:

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

请求方式:

  • POST

请求类型:

  • application/json

加密类型:

  • RSA

请求示例

  {
    "ispInfoId": 10001,
    "data":
"hJOx8SJeNp8Yb2Pn+1EuHJ4QPy0FlwVawCcYtXb8Af+j+3sv8jtYAHebjbqr56wvfATPiF6xSGBWVTNLwMK2MENSSuYnTXaVLJwZQ27r20TrL25Xh5Rvc0kukDJ97sDKMYfuu+mNG+C/fdhW2xgHDyCWz3Jtl+n/3GP8nJtbNZk="
  }

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": "1049400000000000001",
                "code": "001",
                "name": "个",
                "pinyin": "G",
                "isAssiUnit": false,
                "createShopId": "10494",
                "createTime": "2021-02-02 20:41:27",
                "creatorId": "1049400000000000001",
                "modifyTime": "2021-02-02 20:41:27",
                "modifierId": "1049400000000000001",
                "delflg": 0
              },
              {
                "id": "1049400000000000002",
                "code": "002",
                "name": "杯",
                "pinyin": "B",
                "isAssiUnit": false,
                "createShopId": "10494",
                "createTime": "2021-02-02 20:41:27",
                "creatorId": "1049400000000000001",
                "modifyTime": "2021-05-12 13:59:12",
                "modifierId": "1049400000000000001",
                "delflg": 1
              },
              {
                "id": "1049400000000000003",
                "code": "003",
                "name": "例",
                "pinyin": "L",
                "isAssiUnit": false,
                "createShopId": "10494",
                "createTime": "2021-02-02 20:41:27",
                "creatorId": "1049400000000000001",
                "modifyTime": "2021-02-02 20:41:27",
                "modifierId": "1049400000000000001",
                "delflg": 0
              }
            ]"
       }

返回参数说明

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

ThirdItemUnitVo

参数名 类型 说明
id Long 商品单位ID
name String 单位名称
pinyin String 拼音
code String 编码
isAssiUnit Boolean 是否为辅助单位
createShopId Long 创建店铺id
createTime Date 创建时间
creatorId Long 创建人id
delflg Integer 删除标记 0:使用 1:删除

备注

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