app接口

请求URL:

  • http://localhost:8072/mall/unCheck/getVersionControl

请求方式:

  • POST

Header:

Content-Type:application/json

参数:

参数名 必选 类型 说明
string

返回示例

{
  "code": "200",![](https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/e34a35531ab5020f01f39f4de3dd8b4b)
  "status": 1,
  "msg": "",
  "data": "版本一致"
}

商品分类查询

请求URL:

  • http://localhost:8072/mall/unCheck/getGoodsClassList

请求方式:

  • POST

Header:

Content-Type:application/json

参数:

参数名 必选 类型 说明
classId int

返回示例

{
  "code": "200",
  "status": 1,
  "msg": "",
  "data": {
    "isOk": "Y",
    "message": "成功",
    "page": null,
    "data": {
      "GoodsClassList": [
        {
          "idOrg": null,
          "creatorId": null,
          "creatorName": null,
          "idUser": null,
          "createTime": null,
          "modifyTime": null,
          "orgIdList": null,
          "id": 1163,
          "gcName": "适老家具、辅具",
          "gcParentId": 662,
          "gcSort": 2,
          "gcDescription": ""
        },
        {
          "idOrg": null,
          "creatorId": null,
          "creatorName": null,
          "idUser": null,
          "createTime": null,
          "modifyTime": null,
          "orgIdList": null,
          "id": 1111,
          "gcName": "智能设备及配套改造",
          "gcParentId": 662,
          "gcSort": 1,
          "gcDescription": ""
        }
      ]
    }
  }
}

首页导航分类查询

请求URL:

  • http://localhost:8072/mall/unCheck/getIndexGoodsClass

请求方式:

  • POST

Header:

Content-Type:application/x-www-form-urlencoded

返回示例

{
  "code": "200",
  "status": 1,
  "msg": "",
  "data": {
    "isOk": "Y",
    "message": "成功",
    "page": null,
    "data": {
      "goodsClassList": [
        {
          "idOrg": null,
          "creatorId": null,
          "creatorName": null,
          "idUser": null,
          "createTime": null,
          "modifyTime": null,
          "orgIdList": null,
          "id": 47,
          "classId": 1058,
          "gcName": "平台自营",
          "gcParentId": 0,
          "gcSort": 0,
          "gcIcon": null,
          "gcBigPhoto": "",
          "gcSmallPhoto": "",
          "isNavShow": 1,
          "indexNavSort": 0
        },
        {
          "idOrg": null,
          "creatorId": null,
          "creatorName": null,
          "idUser": null,
          "createTime": null,
          "modifyTime": null,
          "orgIdList": null,
          "id": 71,
          "classId": 1167,
          "gcName": "食品类",
          "gcParentId": 0,
          "gcSort": 1,
          "gcIcon": null,
          "gcBigPhoto": "",
          "gcSmallPhoto": "",
          "isNavShow": 1,
          "indexNavSort": 1
        },
        {
          "idOrg": null,
          "creatorId": null,
          "creatorName": null,
          "idUser": null,
          "createTime": null,
          "modifyTime": null,
          "orgIdList": null,
          "id": 39,
          "classId": 1,
          "gcName": "生活照料",
          "gcParentId": 0,
          "gcSort": 2,
          "gcIcon": null,
          "gcBigPhoto": "",
          "gcSmallPhoto": "",
          "isNavShow": 1,
          "indexNavSort": 2
        },
        {
          "idOrg": null,
          "creatorId": null,
          "creatorName": null,
          "idUser": null,
          "createTime": null,
          "modifyTime": null,
          "orgIdList": null,
          "id": 40,
          "classId": 2,
          "gcName": "家政服务",
          "gcParentId": 0,
          "gcSort": 3,
          "gcIcon": null,
          "gcBigPhoto": "",
          "gcSmallPhoto": "",
          "isNavShow": 1,
          "indexNavSort": 3
        },
        {
          "idOrg": null,
          "creatorId": null,
          "creatorName": null,
          "idUser": null,
          "createTime": null,
          "modifyTime": null,
          "orgIdList": null,
          "id": 41,
          "classId": 256,
          "gcName": "陪同服务",
          "gcParentId": 0,
          "gcSort": 4,
          "gcIcon": null,
          "gcBigPhoto": "",
          "gcSmallPhoto": "",
          "isNavShow": 1,
          "indexNavSort": 4
        },
        {
          "idOrg": null,
          "creatorId": null,
          "creatorName": null,
          "idUser": null,
          "createTime": null,
          "modifyTime": null,
          "orgIdList": null,
          "id": 44,
          "classId": 308,
          "gcName": "心理慰藉",
          "gcParentId": 0,
          "gcSort": 5,
          "gcIcon": null,
          "gcBigPhoto": "",
          "gcSmallPhoto": "",
          "isNavShow": 1,
          "indexNavSort": 5
        },
        {
          "idOrg": null,
          "creatorId": null,
          "creatorName": null,
          "idUser": null,
          "createTime": null,
          "modifyTime": null,
          "orgIdList": null,
          "id": 45,
          "classId": 662,
          "gcName": "适老化项目",
          "gcParentId": 0,
          "gcSort": 11,
          "gcIcon": null,
          "gcBigPhoto": "",
          "gcSmallPhoto": "",
          "isNavShow": 1,
          "indexNavSort": 11
        },
        {
          "idOrg": null,
          "creatorId": null,
          "creatorName": null,
          "idUser": null,
          "createTime": null,
          "modifyTime": null,
          "orgIdList": null,
          "id": 46,
          "classId": 730,
          "gcName": "护理保健",
          "gcParentId": 0,
          "gcSort": 12,
          "gcIcon": null,
          "gcBigPhoto": "",
          "gcSmallPhoto": "",
          "isNavShow": 1,
          "indexNavSort": 12
        }
      ]
    }
  }
}

公共列表查询**

请求URL:

  • http://localhost:8072/mall/unCheck/getBaseNewsList

请求方式:

  • POST

Header:

Content-Type:application/json

参数:

参数名 必选 类型 说明

返回示例

{
  "code": "200",
  "status": 1,
  "msg": "",
  "data": {
    "isOk": "Y",
    "message": "成功",
    "page": null,
    "data": {
      "newsList": [
        {
          "idOrg": null,
          "creatorId": null,
          "creatorName": null,
          "idUser": null,
          "createTime": null,
          "modifyTime": null,
          "orgIdList": null,
          "id": 1,
          "newsTypeName": "科技",
          "newsTitle": null,
          "newsContent": null,
          "newsTypeId": null,
          "newsInfo": {
            "idOrg": null,
            "creatorId": null,
            "creatorName": null,
            "idUser": null,
            "createTime": null,
            "modifyTime": null,
            "orgIdList": null,
            "id": 15169,
            "newsTypeName": null,
            "newsTitle": "测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试",
            "newsContent": "<p>测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试</p>",
            "newsTypeId": 1,
            "newsInfo": null
          }
        }
      ]
    }
  }
}

商品列表查询

请求URL:

  • http://localhost:8072/mall/unCheck/getGoodsList

请求方式:

  • POST

Header:

Content-Type:application/json

参数:

参数名 必选 类型 说明
id int
sort String sale-销量/price_desc-价格从高到低/price_asc-价格从低到高
pageSize 否 int 页码
curPage int 当前页
goodsType Array 促销类型 0无促销,1抢购,2限时折扣
isOwnShop int 是否为平台自营 0否,1是
haveGift int 是否为有赠品
gcId int 商品分类ID
isVirtual int 是否虚拟商品
priceLower int 最高价
priceHigher int 最低价
goodsName String 商品名称
areaId int 商品所在地ID
contract_serach int 是否查询店铺服务
contract1 int 7天退货
contract2 int 品质承诺
contract3 int 破损补寄
contract4 int 极速物流
goodsCommend int 是否推荐商品,0-不是,1-推荐
newest int 最近上新

返回示例

{
  "code": "200",
  "status": 1,
  "msg": "",
  "data": {
    "isOk": "Y",
    "message": "成功",
    "page": null,
    "data": {
        "prePage": 1,
                "nextPage": 3,
                "isFirstPage": false,
                "isLastPage": false,
                "hasPreviousPage": true,
                "hasNextPage": true,
                "navigatePages": 10,
                "navigatepageNums": [
                    1,
                    2,
                    3,
                    4,
                    5,
                    6,
                    7,
                    8,
                    9,
                    10
                ],
                "navigateFirstPage": 1,
                "navigateLastPage": 10,
                "firstPage": 1,
                "lastPage": 10,
      "goodsList": [
        {
          "idOrg": null,
          "creatorId": null,
          "creatorName": null,
          "idUser": null,
          "createTime": null,
          "modifyTime": null,
          "orgIdList": null,
          "id": 100320,
          "goodsName": "乌苏里江稻花香大米5kg/70元,编织袋装",  // 商品名称
          "mobileBody": "乌苏里江稻花香大米5kg/70元,绿色编织袋装,\r\n十斤起包邮,大米由当地农户直发。", // 商品描述
          "storeName": "饶河县赫津谷物种植专业合作社",  // 店铺名称
          "goodsStorage": 999977,  // 库存
          "goodsPromotionPrice": 70,  //售价
          "evaluationCount": 0,
          "evaluationGoodStar": 5, // 评价星级
          "gcId": null, 
          "goodsSalenum": 22 // 销量
        },
      ]
    }
  }
}

单个商品信息查询

请求URL:

  • http://localhost:8072/mall/unCheck/getGoodsInfo?id=100003

请求方式:

  • GET

Header:

Content-Type:application/json

返回示例

{
  "code": "200",
  "status": 1,
  "msg": "",
  "data": {
    "isOk": "Y",
    "message": "成功",
    "page": null,
    "data": {
      "goodsList": {
        "idOrg": 1,
        "creatorId": null,
        "creatorName": null,
        "idUser": null,
        "createTime": null,
        "modifyTime": null,
        "orgIdList": null,
        "id": 100003,
        "goodsName": "欧姆龙(OMRON)电子血压计HEM-8713【7200升级款】全自动上臂式",
        "goodsJingle": "智能加压",
        "storeName": "ceshi",
        "goodsStorage": 99,
        "goodsPrice": 1,
        "evaluationCount": 0,
        "evaluationGoodStar": 5,
        "gcId": 1063,
        "goodsSalenum": 1,
        "goodsPromotionType": 0,
        "isOwnShop": 1,
        "isVirtual": 0,
        "areaid1": 0,
        "contract1": 1,
        "contract2": 1,
        "contract3": 1,
        "contract4": 1,
        "goodsImage": "1_06556380152966543.jpg",
        "goodsNum": null,
        "goodsClick": null,
        "goodsCollect": null,
        "goodsSpecStorage": null,
        "goodsId": null,
        "specName": null,
        "goodsBody": null,
        "goodsSpecData": [
          {
            "idOrg": null,
            "creatorId": null,
            "creatorName": null,
            "idUser": null,
            "createTime": null,
            "modifyTime": null,
            "orgIdList": null,
            "id": 1,
            "goodsId": 100003,
            "specName": "2017新款",
            "goodsStorage": 10,
            "goodsPrice": 99.9,
            "goodsImage": "xxz.png"
          },
          {
            "idOrg": null,
            "creatorId": null,
            "creatorName": null,
            "idUser": null,
            "createTime": null,
            "modifyTime": null,
            "orgIdList": null,
            "id": 3,
            "goodsId": 100003,
            "specName": "2018新款",
            "goodsStorage": 10,
            "goodsPrice": 100,
            "goodsImage": "xxz.png"
          }
        ]
      }
    }
  }
}

查询商家评价
请求URL:

  • http://localhost:8072/mall/unCheck/getStoreEvaluteInfo

请求方式:

  • POST

Header:

Content-Type:application/json

参数:

参数名 必选 类型 说明
idOrg int 商家id

返回示例

{
  "code": "200",
  "status": 1,
  "msg": "",
  "data": {
    "isOk": "Y",
    "message": "成功",
    "page": null,
    "data": {
      "evaluateInfo": {
        "idOrg": 9,
        "creatorId": null,
        "creatorName": null,
        "idUser": null,
        "createTime": null,
        "modifyTime": null,
        "orgIdList": null,
        "id": null,
        "sevalDesccredit": "5.0", // 描述评分
        "sevalServicecredit": "5.0", // 态度评分
        "sevalDeliverycredit": "5.0", //发货速度评分
        "sevalStorename": "广东谷丰健康管理有限公司"
      }
    }
  }
}

查询顶级行政区划
请求URL:

  • http://localhost:8072/mall/unCheck/getTopAddressList

请求方式:

  • POST

Header:

Content-Type:application/json

参数:

参数名 必选 类型 说明
divisionParentId int 0

返回示例

{
  "code": "200",
  "status": 1,
  "msg": "",
  "data": {
    "isOk": "Y",
    "message": "成功",
    "page": null,
    "data": {
      "addressList": [
        {
          "idOrg": null,
          "creatorId": null,
          "creatorName": null,
          "idUser": null,
          "createTime": null,
          "modifyTime": null,
          "orgIdList": null,
          "id": 2954,
          "divisionName": "西藏自治区",
          "divisionFullName": null,
          "divisionParentId": 0,
          "divisionParentFullName": null,
          "divisionParentName": null
        }
      ]
    }
  }
}

查询树形行政区划
请求URL:

  • http://localhost:8072/mall/unCheck/getTreeAddressList

请求方式:

  • POST

Header:

Content-Type:application/json

参数:

参数名 必选 类型 说明

返回示例

{
  "code": "200",
  "status": 1,
  "msg": "",
  "data": {
    "isOk": "Y",
    "message": "成功",
    "page": null,
    "data": {
      "addressList": "xxx"
    }
  }
}

添加商品评价

请求URL:

  • http://localhost:8072/mall/addGoodsEvaluate

请求方式:

  • POST

Header:

Content-Type:application/json

参数:

参数名 必选 类型 说明
string

参数示例

{
    "gevalOrderid":416, //订单ID
    "gevalScores":5, // 评价分数
    "gevalIsanonymous":1 //是否匿名评论
    "gevalImage":"", // 图片
}

返回示例

{
    "code": "200",
    "status": 1,
    "msg": "",
    "data": {
        "isOk": "Y",
        "message": "成功",
        "page": null,
        "data": {}
    }
}

商品追评

请求URL:

  • http://localhost:8072/mall/addGoodsEvaluateAgain

请求方式:

  • POST

Header:

Content-Type:application/json

参数:

参数名 必选 类型 说明
string

参数示例

{
        "gevalOrderid":416, // 订单ID
        "gevalContentAgain":"这是追评内容" // 追评内容
        "gevalImageAgain":""// 追评图片
}

返回示例

{
    "code": "200",
    "status": 1,
    "msg": "",
    "data": {
        "isOk": "Y",
        "message": "成功",
        "page": null,
        "data": {}
    }
}

删除评论

请求URL:

  • http://localhost:8072/mall/delGoodsEvaluate?orderId=416

请求方式:

  • GET

Header:

Content-Type:application/json

返回示例

{
  "code": "200",
  "status": 1,
  "msg": "",
  "data": {
    "isOk": "Y",
    "message": "成功",
    "page": null,
    "data": {}
  }
}

商品评价查询
请求URL:

  • http://localhost:8072/mall/unCheck/getGoodsEvaluteInfoList

请求方式:

  • POST

Header:

Content-Type:application/json

参数:

参数名 必选 类型 说明
gevalGoodsid int 商品ID
evaluate String great-好评 medium-中评 low-差评 image-有图 add_evaluate-追评

返回示例

{
  "code": "200",
  "status": 1,
  "msg": "",
  "data": {
    "isOk": "Y",
    "message": "成功",
    "page": null,
    "data": {
      "goodsEvaluateList": [
        {
          "idOrg": null,
          "creatorId": null,
          "creatorName": null,
          "idUser": null,
          "createTime": null,
          "modifyTime": null,
          "orgIdList": null,
          "id": 2,
          "gevalScores": 5, // 评分
          "gevalContent": "不错哦", // 评价内容
          "gevalIsanonymous": 1, // 是否匿名评价 0-否,1-是
          "gevalAddtime": "2020-11-23 00:00:00", // 评价时间
          "gevalFrommembername": "lunjianqing", // 评价人名称
          "gevalExplain": null,
          "gevalGoodsimage": "11_06578278772234393.jpg", // 评价图片
          "gevalContentAgain": "好", // 追评内容
          "gevalAddtimeAgain": "2020-11-23 00:00:00", // 追评时间
          "gevalImageAgain": "",
          "gevalExplainAgain": "",
          "gevalGoodsid": 100210 // 商品ID
        }
      ]
    }
  }
}

购物车查询

请求URL:

  • http://localhost:8072/mall/getGoodsCartList

请求方式:

  • POST

Header:

Content-Type:application/json

参数:

参数名 必选 类型 说明
string

返回示例

{
  "code": "200",
  "status": 1,
  "msg": "",
  "data": {
    "isOk": "Y",
    "message": "成功",
    "page": null,
    "data": {
      "cartStoreList": [  // 购物车门店列表
        {
          "cartList": [ // 同个门店下的购物车列表
            {
              "idOrg": 1,
              "creatorId": null,
              "creatorName": null,
              "idUser": null,
              "createTime": "2021-09-06 16:40:32",
              "modifyTime": "2021-09-06 16:40:32",
              "orgIdList": null,
              "id": 185,
              "buyerId": 30,
              "goodsId": 100001,
              "storeName": "壹佰健",
              "goodsName": "NIKE耐克短袖女装2020夏季新款运动服健身休闲透气跑步T恤CU3235",
              "goodsPrice": 100,
              "goodsNum": 2,
              "goodsImage": "28_06584918698427297.png",
              "goodsSpecId": 6,
              "goodsSpecName": "NIKE耐克短袖女装2020夏季新款运动服健身休闲透气跑步T恤CU3235",
              "goodsSpec": [
                {
                  "idOrg": null,
                  "creatorId": null,
                  "creatorName": null,
                  "idUser": null,
                  "createTime": null,
                  "modifyTime": null,
                  "orgIdList": null,
                  "id": 6,
                  "goodsId": 100001,
                  "specName": "NIKE耐克短袖女装2020夏季新款运动服健身休闲透气跑步T恤CU3235",
                  "goodsStorage": 98,
                  "goodsPrice": 1,
                  "goodsImage": null
                }
              ]
            }
          ],
          "idOrg": 1,  //门店ID
          "storeName": "壹佰健" // 门店名称
        },
        {
          "cartList": [
            {
              "idOrg": 28,
              "creatorId": null,
              "creatorName": null,
              "idUser": null,
              "createTime": "2021-09-06 15:35:30",
              "modifyTime": "2021-09-06 15:35:30",
              "orgIdList": null,
              "id": 184,
              "buyerId": 30,
              "goodsId": 100258,
              "storeName": "中山市福佑康复器材有限公司",
              "goodsName": "铝制折叠洗澡椅带4"塑胶轮子FBL654201",
              "goodsPrice": 500,
              "goodsNum": 4,
              "goodsImage": "28_06584918698427297.png",
              "goodsSpecId": 237,
              "goodsSpecName": "铝制折叠洗澡椅带4"塑胶轮子FBL654201",
              "goodsSpec": [
                {
                  "idOrg": null,
                  "creatorId": null,
                  "creatorName": null,
                  "idUser": null,
                  "createTime": null,
                  "modifyTime": null,
                  "orgIdList": null,
                  "id": 237,
                  "goodsId": 100258,
                  "specName": "铝制折叠洗澡椅带4"塑胶轮子FBL654201",
                  "goodsStorage": 999999,
                  "goodsPrice": 520,
                  "goodsImage": null
                },
                {
                  "idOrg": null,
                  "creatorId": null,
                  "creatorName": null,
                  "idUser": null,
                  "createTime": null,
                  "modifyTime": null,
                  "orgIdList": null,
                  "id": 441,
                  "goodsId": 100258,
                  "specName": "2021年新款",
                  "goodsStorage": 999999,
                  "goodsPrice": 600,
                  "goodsImage": null
                }
              ]
            }
          ],
          "idOrg": 28
        }
      ]
    }
  }
}

删除购物车

请求URL:

  • http://localhost:8072/mall/batchDeleteGoodsCart

请求方式:

  • POST

Header:

Content-Type:application/json

参数:

参数名 必选 类型 说明
ids list [90]

返回示例

{
  "code": "200",
  "status": 1,
  "msg": "",
  "data": {
    "isOk": "Y",
    "message": "成功",
    "page": null,
    "data": {}
  }
}

编辑购物车

请求URL:

  • http://localhost:8072/mall/updateGoodsCart

请求方式:

  • POST

Header:

Content-Type:application/json

参数:

参数名 必选 类型 说明
id int

返回示例

{
  "code": "200",
  "status": 1,
  "msg": "",
  "data": {
    "isOk": "Y",
    "message": "成功",
    "page": null,
    "data": {}
  }
}

添加购物车

请求URL:

  • http://localhost:8072/mall/addGoodsCart

请求方式:

  • POST

Header:

Content-Type:application/json

参数:

参数名 必选 类型 说明
idOrg int 店铺ID
goodsId int 商品ID
goodsName string 商品名称
storeName string 店铺名称
goodsImage string 商品图片
goodsPrice int 商品价格
goodsId int 商品规格ID
goodsNum int 购买数量

返回示例

{
  "code": "200",
  "status": 1,
  "msg": "",
  "data": {
    "isOk": "Y",
    "message": "成功",
    "page": null,
    "data": {}
  }
}

查询我的商品收藏

请求URL:

  • http://localhost:8072/mall/getGoodsFavoritesList

请求方式:

  • POST

Header:

Content-Type:application/json

参数:

参数名 必选 类型 说明
curPage int 页码
pageSize int 条数

返回示例

{
  "code": "200",
  "status": 1,
  "msg": "",
  "data": {
    "isOk": "Y",
    "message": "成功",
    "page": null,
    "data": {
      "GoodsFavoritesList": {
        "pageNum": 1,
        "pageSize": 10,
        "size": 2,
        "startRow": 1,
        "endRow": 2,
        "total": 2,
        "pages": 1,
        "list": [
          {
            "idOrg": 11,
            "creatorId": null,
            "creatorName": null,
            "idUser": null,
            "createTime": "2021-08-27 14:40:50",
            "modifyTime": "2021-08-27 12:47:37",
            "orgIdList": null,
            "id": 17,
            "idAppUser": 30,
            "memberName": null,
            "favId": 11,
            "favType": "store",
            "storeName": "广东壹佰健大健康科技有限公司",
            "goodsName": "居室清洁",
            "goodsImage": "7_06567855150552326.jpg",
            "logPrice": 420,
            "logMsg": null,
            "favNum": null,
            "goodsNum": null
          }
        ],
        "prePage": 0,
        "nextPage": 0,
        "isFirstPage": true,
        "isLastPage": true,
        "hasPreviousPage": false,
        "hasNextPage": false,
        "navigatePages": 10,
        "navigatepageNums": [
          1
        ],
        "navigateFirstPage": 1,
        "navigateLastPage": 1,
        "firstPage": 1,
        "lastPage": 1
      }
    }
  }
}

查询我的商店收藏

请求URL:

  • http://localhost:8072/mall/getStoreFavoritesList

请求方式:

  • POST

Header:

Content-Type:application/json

参数:

参数名 必选 类型 说明
curPage int 页码
pageSize int 条数

返回示例

{
  "code": "200",
  "status": 1,
  "msg": "",
  "data": {
    "isOk": "Y",
    "message": "成功",
    "page": null,
    "data": {
      "StoreFavoritesList": {
        "pageNum": 1,
        "pageSize": 10,
        "size": 2,
        "startRow": 1,
        "endRow": 2,
        "total": 2,
        "pages": 1,
        "list": [
          {
            "idOrg": 11,
            "creatorId": null,
            "creatorName": null,
            "idUser": null,
            "createTime": "2021-08-27 14:40:50",
            "modifyTime": "2021-08-27 12:47:37",
            "orgIdList": null,
            "id": 17,
            "idAppUser": 30,
            "memberName": null,
            "favId": 11,
            "favType": "store",
            "storeName": "广东壹佰健大健康科技有限公司",
            "goodsName": "居室清洁",
            "goodsImage": "7_06567855150552326.jpg",
            "logPrice": 420,
            "logMsg": null,
            "favNum": 2,
            "goodsNum": 53
          }
        ],
        "prePage": 0,
        "nextPage": 0,
        "isFirstPage": true,
        "isLastPage": true,
        "hasPreviousPage": false,
        "hasNextPage": false,
        "navigatePages": 10,
        "navigatepageNums": [
          1
        ],
        "navigateFirstPage": 1,
        "navigateLastPage": 1,
        "firstPage": 1,
        "lastPage": 1
      }
    }
  }
}

添加收藏

请求URL:

  • http://localhost:8072/mall/addFavorites

请求方式:

  • POST

Header:

Content-Type:application/json

参数:

参数名 必选 类型 说明
favId string 商品/店铺ID
favType string goods-商品,store-店铺
storeName string 店铺名称
goodsName string 商品名称
idOrg string 店铺ID
logPrice string 商品价格
goodsImage string 商品图片

返回示例

{
  "code": "200",
  "status": 1,
  "msg": "",
  "data": {
    "isOk": "Y",
    "message": "成功",
    "page": null,
    "data": {"id":1} // 收藏ID
  }
}

删除收藏

请求URL:

  • http://localhost:8072/mall/deleteFavorites?id=21

请求方式:

  • GET

Header:

Content-Type:application/json

参数:

参数名 必选 类型 说明
id int

返回示例

{
  "code": "200",
  "status": 1,
  "msg": "",
  "data": {
    "isOk": "Y",
    "message": "成功",
    "page": null,
    "data": {}
  }
}

商家粉丝数(收藏数)&我的商品/门店收藏总数 查询

请求URL:

  • http://localhost:8072/mall/getStoreFavoritesCount

请求方式:

  • POST

Header:

Content-Type:application/json

参数:

参数名 必选 类型 说明
favId int 商家ID
favType String store-商家,goods-商品
idAppUser int 1-查询当前账号的收藏总数

返回示例

{
  "code": "200",
  "status": 1,
  "msg": "",
  "data": {
    "isOk": "Y",
    "message": "成功",
    "page": null,
    "data": {
      "favCount": 2 
    }
  }
}

查询是否收藏门店/商品(收藏信息)

请求URL:

  • http://localhost:8072/mall/getFavoritesInfo

请求方式:

  • POST

Header:

Content-Type:application/json

参数:

参数名 必选 类型 说明
favId int 门店/商品ID
favType string store/goods

返回示例

{
    "code": "200",
    "status": 1,
    "msg": "",
    "data": {
        "isOk": "Y",
        "message": "成功",
        "page": null,
        "data": {
            "favoritesInfo": {
                "idOrg": 11,
                "creatorId": null,
                "creatorName": null,
                "idUser": null,
                "createTime": "2021-09-10 12:50:27",
                "modifyTime": "2021-09-10 12:50:27",
                "orgIdList": null,
                "id": 36,
                "idAppUser": 2067,
                "memberName": null,
                "favId": 100002,
                "favType": "store",
                "storeName": "壹佰健",
                "goodsName": "360套餐",
                "goodsImage": "xxx.png",
                "logPrice": 300,
                "logMsg": null,
                "favNum": null,
                "goodsNum": null
            }
        }
    }
}

添加我的足迹

请求URL:

  • http://localhost:8072/mall/addGoodsBrowse

请求方式:

  • POST

Header:

Content-Type:application/json

参数:

参数名 必选 类型 说明
goodsId int 商品ID
goodsName string 商品名称
goodsImage string 商品图片
goodsPrice int 商品价格
idOrg int 店铺ID

返回示例

{
  "code": "200",
  "status": 1,
  "msg": "",
  "data": {
    "isOk": "Y",
    "message": "成功",
    "page": null,
    "data": {}
  }
}

查询我的足迹

请求URL:

  • http://localhost:8072/mall/getGoodsBrowseList

请求方式:

  • POST

Header:

Content-Type:application/json

参数:

参数名 必选 类型 说明
curPage int 页码
pageSize int 条数

返回示例

{
  "code": "200",
  "status": 1,
  "msg": "",
  "data": {
    "isOk": "Y",
    "message": "成功",
    "page": null,
    "data": {
      "goodsCartList": {
        "pageNum": 1,
        "pageSize": 10,
        "size": 10,
        "startRow": 1,
        "endRow": 10,
        "total": 111,
        "pages": 12,
        "list": [
          {
            "idOrg": 1,
            "creatorId": null,
            "creatorName": null,
            "idUser": null,
            "createTime": "2021-08-27 15:28:46",
            "modifyTime": "2021-08-27 15:28:46",
            "orgIdList": null,
            "id": 646,
            "goodsId": 100002,
            "idAppUser": 30,
            "goodsImage": "1_06556367201776046.jpg",
            "goodsPrice": 100,
            "goodsName": "单鞋2020年春款新款软皮粗跟小低跟瓢鞋豆豆女平底复古奶奶鞋仙气"
          }
        ],
        "prePage": 0,
        "nextPage": 2,
        "isFirstPage": true,
        "isLastPage": false,
        "hasPreviousPage": false,
        "hasNextPage": true,
        "navigatePages": 10,
        "navigatepageNums": [
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10
        ],
        "navigateFirstPage": 1,
        "navigateLastPage": 10,
        "lastPage": 10,
        "firstPage": 1
      }
    }
  }
}

删除我的足迹

请求URL:

  • http://localhost:8072/mall/batchDeleteBrowse

请求方式:

  • POST

Header:

Content-Type:application/json

参数:

参数名 必选 类型 说明
ids list 足迹id

返回示例

{
  "code": "200",
  "status": 1,
  "msg": "",
  "data": {
    "isOk": "Y",
    "message": "成功",
    "page": null,
    "data": {}
  }
}

清空我的足迹

请求URL:

  • http://localhost:8072/mall/deleteAllBrowse

请求方式:

  • POST

Header:

Content-Type:application/json

返回示例

{
  "code": "200",
  "status": 1,
  "msg": "",
  "data": {
    "isOk": "Y",
    "message": "成功",
    "page": null,
    "data": {}
  }
}

添加收货地址

请求URL:

  • http://localhost:8072/mall/addReceiveAddress

请求方式:

  • POST

Header:

Content-Type:application/json

参数:

参数名 必选 类型 说明
trueName String 收货人姓名
areaId int 区地址ID
cityId int 市地址ID
areaInfo String 地区选择名称
address String 详细地址
mobPhone String 手机号码
isDefault int 是否默认地址

返回示例

{
  "code": "200",
  "status": 1,
  "msg": "",
  "data": {
    "isOk": "Y",
    "message": "成功",
    "page": null,
    "data": {}
  }
}

修改收货地址

请求URL:

  • http://localhost:8072/mall/updateReceiveAddress

请求方式:

  • POST

Header:

Content-Type:application/json

参数:

参数名 必选 类型 说明
id int

返回示例

{
  "code": "200",
  "status": 1,
  "msg": "",
  "data": {
    "isOk": "Y",
    "message": "成功",
    "page": null,
    "data": {}
  }
}

查询我的收货地址

请求URL:

  • http://localhost:8072/mall/getReceiveAddressList

请求方式:

  • POST

Header:

Content-Type:application/json

参数:

参数名 必选 类型 说明
string

返回示例

{
  "code": "200",
  "status": 1,
  "msg": "",
  "data": {
    "isOk": "Y",
    "message": "成功",
    "page": null,
    "data": {
      "goodsCartList": {
        "pageNum": 1,
        "pageSize": 10,
        "size": 10,
        "startRow": 1,
        "endRow": 10,
        "total": 13,
        "pages": 2,
        "list": [
          {
            "idOrg": null,
            "creatorId": null,
            "creatorName": null,
            "idUser": null,
            "createTime": "2021-08-30 16:21:00",
            "modifyTime": "2021-08-30 16:22:46",
            "orgIdList": null,
            "id": 127,
            "idAppUser": 30,
            "trueName": "林小刀3",
            "areaId": 3075,
            "cityId": "294",
            "areaInfo": "广东 佛山市 南海区",
            "address": "中控大厦",
            "mobPhone": "13250245215",
            "isDefault": 1
          }
        ],
        "prePage": 0,
        "nextPage": 2,
        "isFirstPage": true,
        "isLastPage": false,
        "hasPreviousPage": false,
        "hasNextPage": true,
        "navigatePages": 10,
        "navigatepageNums": [
          1,
          2
        ],
        "navigateFirstPage": 1,
        "navigateLastPage": 2,
        "lastPage": 2,
        "firstPage": 1
      }
    }
  }
}

查询单个收货地址信息

请求URL:

  • http://localhost:8072/mall/getReceiveAddressInfo?id=130

请求方式:

  • GET

返回示例

{
  "code": "200",
  "status": 1,
  "msg": "",
  "data": {
    "isOk": "Y",
    "message": "成功",
    "page": null,
    "data": {
      "receiveAddress": {
        "idOrg": null,
        "creatorId": null,
        "creatorName": null,
        "idUser": null,
        "createTime": "2021-09-09 19:17:19",
        "modifyTime": "2021-09-09 19:17:19",
        "orgIdList": null,
        "id": 130,
        "idAppUser": 2067,
        "trueName": "林小刀",
        "areaId": 3075,
        "cityId": "294",
        "areaInfo": "广东 佛山市 南海区",
        "address": "中控大厦",
        "mobPhone": "13250245215",
        "isDefault": 1
      }
    }
  }
}

删除收货地址

请求URL:

  • http://localhost:8072/mall/batchDeleteReceiveAddress

请求方式:

  • POST

Header:

Content-Type:application/json

参数:

参数名 必选 类型 说明
ids Array

返回示例

{
  "code": "200",
  "status": 1,
  "msg": "",
  "data": {
    "isOk": "Y",
    "message": "成功",
    "page": null,
    "data": {}
  }
}

购物车结算(订单预览)

请求URL:

  • http://localhost:8072/mall/OrderPurchaseSettlement

请求方式:

  • POST

Header:

Content-Type:application/json

参数:

参数名 必选 类型 说明

参数示例

[{
    "goodsId":100003, // 商品ID
    "goodsNum":1, // 购买数量
    "goodsSpecId":3, // 规格ID
    "receiveAddressId":1 // 收货人ID
}]

返回示例

{
  "code": "200",
  "status": 1,
  "msg": "",
  "data": {
    "isOk": "Y",
    "message": "成功",
    "page": null,
    "data": {
      "orderList": [
        {
          "idOrg": 1,
          "creatorId": 30,
          "creatorName": "林小刀",
          "idUser": 30,
          "createTime": "2021-09-09 15:09:07",
          "modifyTime": "2021-09-09 15:09:07",
          "orgIdList": null,
          "id": null,
          "orderSn": "G16311713473100000000008",
          "paySn": null,
          "storeName": "ceshi",
          "buyerId": 30,
          "buyerName": "林小刀",
          "buyerEmail": null,
          "buyerPhone": "13250245216",
          "addTime": "2021-09-09 15:09:07",
          "paymentCode": null,
          "paymentTime": null,
          "finnshedTime": null,
          "goodsAmount": 10,
          "orderAmount": 10,
          "shippingFee": 8,
          "evaluationState": null,
          "evaluationAgainState": null,
          "orderState": 10,
          "refundState": null,
          "deleteState": 0,
          "refundAmount": null,
          "shippingCode": null,
          "orderType": 1,
          "shippingRemark": null,
          "logisticsCompanyId": null,
          "logisticsCompanyName": null,
          "goodsId": 100003,
          "goodsSpecId": 8,
          "goodsNum": 2,
          "receiveAddressId": 1,
          "receivingAddress": "广东 广州市 天河区xxxx",
          "trueName": "陈先生",
          "mobPhone": "15521021161",
          "appOrderGoodsList": null,
          "appOrderGoods": [
            {
              "idOrg": 1,
              "creatorId": 30,
              "creatorName": "林小刀",
              "idUser": 30,
              "createTime": "2021-09-09 15:09:07",
              "modifyTime": "2021-09-09 15:09:07",
              "orgIdList": null,
              "id": null,
              "orderId": null,
              "goodsId": 100003,
              "goodsName": "欧姆龙(OMRON)电子血压计HEM-8713【7200升级款】全自动上臂式",
              "goodsPrice": 1,
              "goodsNum": 2,
              "goodsPayPrice": 10,
              "buyerId": 30,
              "goodsSpec": "欧姆龙(OMRON)电子血压计HEM-8713【7200升级款】全自动上臂式",
              "goodsImage": null,
              "gcId": 1063,
              "storeName": "ceshi",
              "buyerName": "林小刀",
              "orderSn": null,
              "goodsSpecId": 8
            },
            {
              "idOrg": 9,
              "creatorId": 30,
              "creatorName": "林小刀",
              "idUser": 30,
              "createTime": "2021-09-09 15:09:07",
              "modifyTime": "2021-09-09 15:09:07",
              "orgIdList": null,
              "id": null,
              "orderId": null,
              "goodsId": 100011,
              "goodsName": "居家保洁基础套餐",
              "goodsPrice": 200,
              "goodsNum": 2,
              "goodsPayPrice": 410,
              "buyerId": 30,
              "goodsSpec": "居家保洁基础套餐",
              "goodsImage": null,
              "gcId": 1074,
              "storeName": "广东谷丰健康管理有限公司",
              "buyerName": "林小刀",
              "orderSn": null,
              "goodsSpecId": 13
            }
          ]
        },
        {
          "idOrg": 9,
          "creatorId": 30,
          "creatorName": "林小刀",
          "idUser": 30,
          "createTime": "2021-09-09 15:09:07",
          "modifyTime": "2021-09-09 15:09:07",
          "orgIdList": null,
          "id": null,
          "orderSn": "G16311713473100000000013",
          "paySn": null,
          "storeName": "广东谷丰健康管理有限公司",
          "buyerId": 30,
          "buyerName": "林小刀",
          "buyerEmail": null,
          "buyerPhone": "13250245216",
          "addTime": "2021-09-09 15:09:07",
          "paymentCode": null,
          "paymentTime": null,
          "finnshedTime": null,
          "goodsAmount": 410,
          "orderAmount": 410,
          "shippingFee": 10,
          "evaluationState": null,
          "evaluationAgainState": null,
          "orderState": 10,
          "refundState": null,
          "deleteState": 0,
          "refundAmount": null,
          "shippingCode": null,
          "orderType": 1,
          "shippingRemark": null,
          "logisticsCompanyId": null,
          "logisticsCompanyName": null,
          "goodsId": 100004,
          "goodsSpecId": 13,
          "goodsNum": 2,
          "receiveAddressId": 1,
          "receivingAddress": "广东 广州市 天河区xxxx",
          "trueName": "陈先生",
          "mobPhone": "15521021161",
          "appOrderGoodsList": null,
          "appOrderGoods": [
            {
              "idOrg": 1,
              "creatorId": 30,
              "creatorName": "林小刀",
              "idUser": 30,
              "createTime": "2021-09-09 15:09:07",
              "modifyTime": "2021-09-09 15:09:07",
              "orgIdList": null,
              "id": null,
              "orderId": null,
              "goodsId": 100003,
              "goodsName": "欧姆龙(OMRON)电子血压计HEM-8713【7200升级款】全自动上臂式",
              "goodsPrice": 1,
              "goodsNum": 2,
              "goodsPayPrice": 10,
              "buyerId": 30,
              "goodsSpec": "欧姆龙(OMRON)电子血压计HEM-8713【7200升级款】全自动上臂式",
              "goodsImage": null,
              "gcId": 1063,
              "storeName": "ceshi",
              "buyerName": "林小刀",
              "orderSn": null,
              "goodsSpecId": 8
            },
            {
              "idOrg": 9,
              "creatorId": 30,
              "creatorName": "林小刀",
              "idUser": 30,
              "createTime": "2021-09-09 15:09:07",
              "modifyTime": "2021-09-09 15:09:07",
              "orgIdList": null,
              "id": null,
              "orderId": null,
              "goodsId": 100011,
              "goodsName": "居家保洁基础套餐",
              "goodsPrice": 200,
              "goodsNum": 2,
              "goodsPayPrice": 410,
              "buyerId": 30,
              "goodsSpec": "居家保洁基础套餐",
              "goodsImage": null,
              "gcId": 1074,
              "storeName": "广东谷丰健康管理有限公司",
              "buyerName": "林小刀",
              "orderSn": null,
              "goodsSpecId": 13
            }
          ]
        }
      ],
      "feeTotal": 420,
      "shippingFeeTotal": 18
    }
  }
}

下单购买

请求URL:

  • http://localhost:8072/mall/OrderPurchase

请求方式:

  • POST

Header:

Content-Type:application/json

参数:

参数名 必选 类型 说明
string

参数示例

[{
    "goodsId":100003, // 商品ID
    "goodsNum":1, // 购买数量
    "goodsSpecId":3, // 规格ID
    "receiveAddressId":1 // 收货人ID
}]

返回示例

{
  "code": "200",
  "status": 1,
  "msg": "",
  "data": {
    "isOk": "Y",
    "message": "成功",
    "page": null,
    "data": {}
  }
}

查询我的订单

请求URL:

  • http://localhost:8072/mall/getOrderList

请求方式:

  • POST

Header:

Content-Type:application/json

参数

参数名 必选 类型 说明
curPage int
pageSize int
evaluationState int 评价状态 0未评价,1已评价,2已过期未评价
orderState int 订单状态:0-已取消 10-未付款; 20-已付款;30-已发货; 40-已收货; 备注:10-未付款状态下可取消,0和40状态下可删除订单
refundState int 1-退款退货

返回示例

{
  "code": "200",
  "status": 1,
  "msg": "",
  "data": {
    "isOk": "Y",
    "message": "成功",
    "page": null,
    "data": {
      "goodsCartList": {
        "pageNum": 1,
        "pageSize": 10,
        "size": 1,
        "startRow": 1,
        "endRow": 1,
        "total": 1,
        "pages": 1,
        "list": [
          {
            "idOrg": 1,
            "creatorId": 30,
            "creatorName": "林小刀",
            "idUser": 30,
            "createTime": "2021-09-01 19:25:57",
            "modifyTime": "2021-09-01 19:25:57",
            "orgIdList": null,
            "id": 371,
            "orderSn": "G2021910000000003",
            "paySn": null,
            "storeName": "ceshi",
            "buyerId": 30,
            "buyerName": "林小刀",
            "buyerEmail": null,
            "buyerPhone": "13250245216",
            "addTime": "2021-09-01 00:00:00",
            "paymentCode": null,
            "paymentTime": null,
            "finnshedTime": null,
            "goodsAmount": 100,
            "orderAmount": 100,
            "shippingFee": null,
            "evaluationState": null,
            "evaluationAgainState": null,
            "orderState": null,
            "refundState": null,
            "deleteState": null,
            "refundAmount": null,
            "shippingCode": null,
            "orderType": null,
            "shippingRemark": null,
            "logisticsCompanyId": null,
            "logisticsCompanyName": null,
            "goodsId": null,
            "goodsSpecId": null,
            "goodsNum": null,
            "receiveAddressId": null,
            "receivingAddress": "广东 广州市 天河区xxxx",
            "trueName": "陈先生",
            "mobPhone": "15521021161"
          }
        ],
        "prePage": 0,
        "nextPage": 0,
        "isFirstPage": true,
        "isLastPage": true,
        "hasPreviousPage": false,
        "hasNextPage": false,
        "navigatePages": 10,
        "navigatepageNums": [
          1
        ],
        "navigateFirstPage": 1,
        "navigateLastPage": 1,
        "firstPage": 1,
        "lastPage": 1
      }
    }
  }
}

取消订单

请求URL:

  • http://localhost:8072/mall/cancelOrder?paySn=xxxxxx

请求方式:

  • GET

Header:

Content-Type:application/json

返回示例

{
  "code": "100",
  "status": 0,
  "msg": "该订单无法取消",
  "data": ""
}

确认收货

请求URL:

  • http://localhost:8072/mall/completeOrder?id=416

请求方式:

  • GET

Header:

Content-Type:application/json

返回示例

{
    "code": "200",
    "status": 1,
    "msg": "",
    "data": {
        "isOk": "Y",
        "message": "成功",
        "page": null,
        "data": {}
    }
}

删除订单

请求URL:

  • http://localhost:8072/mall/deleteOrder?id=384

请求方式:

  • GET

Header:

Content-Type:application/json

订单退款申请

请求URL:

  • http://localhost:8072/mall/refundOrder?orderId=422

请求方式:

  • POST

Header:

Content-Type:application/json

返回示例

{
    "code": "200",
    "status": 1,
    "msg": "",
    "data": {
        "isOk": "Y",
        "message": "退款申请成功,待商家审核",
        "page": null,
        "data": {}
    }
}

返回示例

{
  "code": "200",
  "status": 1,
  "msg": "",
  "data": {
    "isOk": "Y",
    "message": "成功",
    "page": null,
    "data": {}
  }
}

查询订单详情

请求URL:

  • http://localhost:8072/mall/getOrderDetailInfo?orderId=422

请求方式:

  • POST

Header:

Content-Type:application/json

返回示例

{
    "code": "200",
    "status": 1,
    "msg": "",
    "data": {
        "isOk": "Y",
        "message": "成功",
        "page": null,
        "data": {
            "orderDetail": {
                "idOrg": 1,
                "creatorId": 2067,
                "creatorName": "林小刀",
                "idUser": 2067,
                "createTime": "2021-09-15 11:00:04",
                "modifyTime": "2021-09-15 11:00:04",
                "orgIdList": null,
                "id": 422,
                "orderSn": "G16316748165580000000422",
                "paySn": "G16316748037570000000000",
                "storeName": "ceshi",
                "buyerId": 2067,
                "buyerName": "林小刀",
                "buyerEmail": null,
                "buyerPhone": null,
                "addTime": "2021-09-15 00:00:00",
                "paymentCode": null,
                "paymentTime": null,
                "finnshedTime": null,
                "goodsAmount": 10,
                "orderAmount": 10,
                "shippingFee": 8,
                "evaluationState": null,
                "evaluationAgainState": null,
                "orderState": 40,
                "refundState": 4,
                "deleteState": 0,
                "refundAmount": null,
                "shippingCode": null,
                "orderType": null,
                "shippingRemark": null,
                "logisticsCompanyId": null,
                "logisticsCompanyName": null,
                "goodsId": null,
                "goodsSpecId": null,
                "goodsNum": null,
                "receiveAddressId": null,
                "receivingAddress": "广东 佛山市 南海区中控大厦",
                "trueName": "林小刀2",
                "mobPhone": "13250245215",
                "payValidTime": "2021-09-15 23:00:04",
                "appOrderGoodsList": null,
                "appOrderGoods": [
                    {
                        "idOrg": 1,
                        "creatorId": 2067,
                        "creatorName": "林小刀",
                        "idUser": 2067,
                        "createTime": "2021-09-15 11:00:04",
                        "modifyTime": "2021-09-15 11:00:04",
                        "orgIdList": null,
                        "id": 434,
                        "orderId": 422,
                        "goodsId": 100003,
                        "goodsName": "欧姆龙(OMRON)电子血压计HEM-8713【7200升级款】全自动上臂式",
                        "goodsPrice": 1,
                        "goodsNum": 2,
                        "goodsPayPrice": 10,
                        "buyerId": 2067,
                        "goodsSpec": "欧姆龙(OMRON)电子血压计HEM-8713【7200升级款】全自动上臂式",
                        "goodsImage": null,
                        "gcId": 1063,
                        "storeName": null,
                        "buyerName": null,
                        "orderSn": null,
                        "goodsSpecId": 8
                    }
                ]
            }
        }
    }
}

查询热门搜索

请求URL:

  • http://localhost:8072/mall/unCheck/getHotSearch

请求方式:

  • POST

Header:

Content-Type:application/x-www-form-urlencoded

返回示例

{
  "code": "200",
  "status": 1,
  "msg": "",
  "data": {
    "isOk": "Y",
    "message": "成功",
    "page": null,
    "data": {
      "hotSearchList": [
        {
          "idOrg": null,
          "creatorId": null,
          "creatorName": null,
          "idUser": null,
          "createTime": null,
          "modifyTime": null,
          "orgIdList": null,
          "id": null,
          "searchName": "居家服务",
          "idAppUser": null,
          "ipUrl": null,
          "searchNum": 3
        },
        {
          "idOrg": null,
          "creatorId": null,
          "creatorName": null,
          "idUser": null,
          "createTime": null,
          "modifyTime": null,
          "orgIdList": null,
          "id": null,
          "searchName": "360",
          "idAppUser": null,
          "ipUrl": null,
          "searchNum": 1
        }
      ]
    }
  }
}

查询我的搜索历史

请求URL:

  • http://localhost:8072/mall/unCheck/getMyHotSearchList

请求方式:

  • POST

Header:

Content-Type:application/json

参数:

参数名 必选 类型 说明
string

返回示例

{
  "code": "200",
  "status": 1,
  "msg": "",
  "data": {
    "isOk": "Y",
    "message": "成功",
    "page": null,
    "data": {
      "hotSearchList": [
        {
          "idOrg": null,
          "creatorId": null,
          "creatorName": null,
          "idUser": null,
          "createTime": "2021-09-06 18:08:53",
          "modifyTime": "2021-09-06 18:08:53",
          "orgIdList": null,
          "id": 2,
          "searchName": "居家服务",
          "idAppUser": 30,
          "ipUrl": "192.168.2.81",
          "searchNum": null
        },
        {
          "idOrg": null,
          "creatorId": null,
          "creatorName": null,
          "idUser": null,
          "createTime": "2021-09-06 18:08:35",
          "modifyTime": "2021-09-06 18:08:35",
          "orgIdList": null,
          "id": 1,
          "searchName": "360",
          "idAppUser": 30,
          "ipUrl": "192.168.2.81",
          "searchNum": null
        }
      ]
    }
  }
}

添加热门搜索

请求URL:

  • http://localhost:8072/mall/unCheck/addHotSearch

请求方式:

  • POST

Header:

Content-Type:application/json

参数:

参数名 必选 类型 说明
searchName string 搜索词

返回示例

{
  "code": "200",
  "status": 1,
  "msg": "",
  "data": {
    "isOk": "Y",
    "message": "成功",
    "page": null,
    "data": {}
  }
}

添加智能设备

请求URL:

  • http://localhost:8072/health/addDeviceAppEntity

请求方式:

  • POST

Header:

Content-Type:application/json

参数:

参数名 必选 类型 说明
snNo string 设备ID
deviceType string 设备厂商
deviceModel string 设备型号

返回示例

{
  "code": "200",
  "status": 1,
  "msg": "",
  "data": {
    "isOk": "Y",
    "message": "成功",
    "page": null,
    "data": {}
  }
}

App物流查询

请求URL:

  • http://localhost:8072/mall/logistics/getInfo

请求方式:

  • POST

Header:

Content-Type:application/json

参数:

参数名 必选 类型 说明
no string 物流单号

返回示例

{
    "code": "200",
    "status": 1,
    "msg": "",
    "data": {
        "isOk": "Y",
        "message": "成功",
        "page": null,
        "data": {
            "msg": "{\"status\":\"0\",\"msg\":\"ok\",\"result\":{\"number\":\"4280278576616\",\"type\":\"YUNDA\",\"list\":[{\"time\":\"2021-09-13 20:35:41\",\"status\":\"【代收点】您的快件已签收,签收人在 瑞华街分部(瑞华街20号)领取,投诉电话:020-23393006\"},{\"time\":\"2021-09-13 11:36:04\",\"status\":\"【代收点】您的快件已暂存至 瑞华街分部,地址:瑞华街20号,请及时领取,如有疑问请电联快递员:胡家琦(13719440532),投诉电话:020-23393006\"},{\"time\":\"2021-09-13 09:40:39\",\"status\":\"【广州市】广东广州番禺区洛浦公司[020-22149488] 快递员 胡家琦(13719440532) 正在为您派送。快件已消毒,小哥体温正常,将佩戴口罩为您派送,您也可联系小哥将快件放置指定代收点或快递柜,祝您身体健康【95121为韵达快递员外呼专属号码,请放心接听】\"},{\"time\":\"2021-09-13 07:27:06\",\"status\":\"【广州市】已到达 广东广州番禺区洛浦公司[020-22149488]\"},{\"time\":\"2021-09-12 16:35:09\",\"status\":\"【佛山市】已离开 广东佛山分拨交付中心;发往 广东广州番禺区洛浦公司\"},{\"time\":\"2021-09-12 16:23:00\",\"status\":\"【佛山市】已到达 广东佛山分拨交付中心\"},{\"time\":\"2021-09-11 04:12:51\",\"status\":\"【北京市】已离开 北京分拨交付中心;发往 广东佛山分拨交付中心\"},{\"time\":\"2021-09-11 04:10:00\",\"status\":\"【北京市】已到达 北京分拨交付中心\"},{\"time\":\"2021-09-10 11:49:26\",\"status\":\"【北京市】北京金韵八公司航宇二部-刘胜涛(18511875373) 已揽收\"}],\"deliverystatus\":\"3\",\"issign\":\"1\",\"expName\":\"韵达快递\",\"expSite\":\"www.yundaex.com\",\"expPhone\":\"95546\",\"logo\":\"https:\\/\\/img3.fegine.com\\/express\\/yd.jpg\",\"courier\":\"\",\"courierPhone\":\"020-23393006\",\"updateTime\":\"2021-09-13 20:35:41\",\"takeTime\":\"3天8小时46分\"}}"
        }
    }
}

支付方式列表查询

请求URL:

  • http://localhost:8072/mall/getAppPayTypeList

请求方式:

  • GET

Header:

Content-Type:application/json

返回示例

{
  "code": "200",
  "status": 1,
  "msg": "",
  "data": {
    "isOk": "Y",
    "message": "成功",
    "page": null,
    "data": {
      "appPayTypeList": [
        {
          "idOrg": null,
          "creatorId": null,
          "creatorName": null,
          "idUser": null,
          "createTime": null,
          "modifyTime": null,
          "orgIdList": null,
          "id": 5,
          "paymentCode": "wxpay_minipro_ccb",  // 支付方式编号
          "paymentName": "桃苑支付", // 支付方式名称
          "paymentConfig": null,
          "paymentState": 1,
          "paymentLogo": null
        }
      ]
    }
  }
}

订单支付

请求URL:

  • http://localhost:8072/mall/paymentOrder?paySn=G16316743701400000000000&payType=wxpay_minipro_ccb

备注:支付编号&支付方式编号

请求方式:

  • POST

Header:

Content-Type:application/json

返回示例

{
    "code": "200",
    "status": 1,
    "msg": "",
    "data": {
        "isOk": "Y",
        "message": "成功",
        "page": null,
        "data": {
            "payInfo": {
                "SUCCESS": "true",
                "package": "prepay_id=wx17112036285946b2117c0cf62085770000",
                "mweb_url": "",
                "ERRCODE": "000000",
                "nonceStr": "Pj9EJkW6ch0HQ72rTrdta8pSdkI8TCJz",
                "timeStamp": "1631848836",
                "ERRMSG": "",
                "paySign": "itXH2uLFmC3aK4eyS04xZ9S2oenZQ8/DOgNJ50n72lzuVA1Tnoy8yteQXtGG1d16WSoTAW0u48GgvRwfbIQOM8jnS//xDlu3JPMbCRyyMvPnz/7LYp95xC2ar7y8HJbGjVAAHJfv19fWwSUpGwaABF8CqBBdFyShIgqG1DtcunXsW6kgsu2kNofqHrHlyr7lc88b6kulTDdNqICEQVUtyGYRqs3DtCDxE9ar4Um5jRSSpeJyn90CY+bz+nMMm3uazhDXm56YzEamV8pv/zZKtVuXGjvv32f/cPPTvYdjSvpUm+VhQ15SzdzJmgHoL4ebQLAMVRlU5qwoWxW9KsBf6g==",
                "appId": "wx122f77af34c60e32",
                "signType": "RSA",
                "partnerid": "407170966",
                "prepayid": "",
                "TXCODE": "530590"
            }
        }
    }
}

修改个人信息

请求URL:

  • http://localhost:8072/user/appUserInfo/updateEntity

请求方式:

  • POST

参数:

参数名 必选 类型 说明
id int ID
idCardType string 证件类型
idCard int 证件号码
photo string 头像
fixedLine string 固话
address string 居住地址
gender string 性别
userName string 姓名
cellPhone string 电话号码(电话号码与固话至少填写一项)

参数示例

{
    "id":214,
    "idCardType":"身份证",
    "idCard":"12321",
    "photo":"XXX",
    "fixedLine":"0757816736",
    "address":"中控大厦",
    "gender":"女",
    "userName":"林小刀2",
    "cellPhone":"13250245215"
}

返回示例

{
    "code": "200",
    "status": 1,
    "msg": "",
    "data": {
        "isOk": "Y",
        "message": "成功",
        "page": null,
        "data": {}
    }
}

老友券余额查询

请求URL:

  • http://localhost:8072/mall/getOldFriendVoncherAmount

请求方式:

  • GET

返回示例

{
    "code": "200",
    "status": 1,
    "msg": "",
    "data": {
        "isOk": "Y",
        "message": "成功",
        "page": null,
        "data": {
            "amount": 700
        }
    }
}

老友券消费记录

请求URL:

  • http://localhost:8072/mall/getOldFriendVoncherRecord

请求方式:

  • GET

返回示例

{
    "code": "200",
    "status": 1,
    "msg": "",
    "data": {
        "isOk": "Y",
        "message": "成功",
        "page": null,
        "data": {
            "consumeList": {
                "msg": "",
                "code": "200",
                "data": {
                    "startRow": 1,
                    "navigatepageNums": [
                        1,
                        2
                    ],
                    "lastPage": 2,
                    "prePage": 0,
                    "hasNextPage": true,
                    "nextPage": 2,
                    "pageSize": 10,
                    "endRow": 10,
                    "list": [
                        {
                            "summary": "服务购买",
                            "outAmount": null,
                            "creatorId": 350,
                            "creatorName": "ybjzhyl",
                            "pageSize": 10,
                            "orderBy": null,
                            "remark": null,
                            "idUser": 8,
                            "isClean": false,
                            "accountId": 4172,
                            "modifyTime": "2021-07-30 14:55:44",
                            "curPage": 1,
                            "createTime": "2021-07-30 14:55:44",
                            "orgIdList": null,
                            "inputOutDate": "2021-07-30 14:55:44",
                            "id": 133635,
                            "accountBalance": 1000,
                            "accountAmount": -300,
                            "idOrg": 1
                        },
                        {
                            "summary": "补贴账户清零",
                            "outAmount": null,
                            "creatorId": 350,
                            "creatorName": "ybjzhyl",
                            "pageSize": 10,
                            "orderBy": null,
                            "remark": "清零",
                            "idUser": 8,
                            "isClean": true,
                            "accountId": 4172,
                            "modifyTime": "2021-07-30 14:46:27",
                            "curPage": 1,
                            "createTime": "2021-07-30 14:46:27",
                            "orgIdList": null,
                            "inputOutDate": "2021-07-30 14:46:27",
                            "id": 132650,
                            "accountBalance": 0,
                            "accountAmount": 0,
                            "idOrg": 1
                        },
                        {
                            "summary": "补贴金额发放",
                            "outAmount": null,
                            "creatorId": 350,
                            "creatorName": "ybjzhyl",
                            "pageSize": 10,
                            "orderBy": null,
                            "remark": null,
                            "idUser": 8,
                            "isClean": false,
                            "accountId": 4172,
                            "modifyTime": "2021-07-30 14:46:27",
                            "curPage": 1,
                            "createTime": "2021-07-30 14:46:27",
                            "orgIdList": null,
                            "inputOutDate": "2021-07-30 14:46:27",
                            "id": 132651,
                            "accountBalance": 1000,
                            "accountAmount": 1000,
                            "idOrg": 1
                        },
                        {
                            "summary": "服务购买",
                            "outAmount": null,
                            "creatorId": null,
                            "creatorName": null,
                            "pageSize": 10,
                            "orderBy": null,
                            "remark": "",
                            "idUser": null,
                            "isClean": false,
                            "accountId": 4172,
                            "modifyTime": "2021-07-02 14:14:31",
                            "curPage": 1,
                            "createTime": "2021-07-02 14:14:31",
                            "orgIdList": null,
                            "inputOutDate": null,
                            "id": 125710,
                            "accountBalance": null,
                            "accountAmount": null,
                            "idOrg": 1
                        },
                        {
                            "summary": "补贴金额发放",
                            "outAmount": null,
                            "creatorId": null,
                            "creatorName": null,
                            "pageSize": 10,
                            "orderBy": null,
                            "remark": null,
                            "idUser": null,
                            "isClean": false,
                            "accountId": 4172,
                            "modifyTime": "2021-07-02 13:29:20",
                            "curPage": 1,
                            "createTime": "2021-07-02 13:29:20",
                            "orgIdList": null,
                            "inputOutDate": null,
                            "id": 110449,
                            "accountBalance": null,
                            "accountAmount": null,
                            "idOrg": 1
                        },
                        {
                            "summary": "服务购买",
                            "outAmount": null,
                            "creatorId": null,
                            "creatorName": null,
                            "pageSize": 10,
                            "orderBy": null,
                            "remark": "",
                            "idUser": null,
                            "isClean": false,
                            "accountId": 4172,
                            "modifyTime": "2021-05-01 00:06:07",
                            "curPage": 1,
                            "createTime": "2021-05-01 00:06:07",
                            "orgIdList": null,
                            "inputOutDate": null,
                            "id": 109352,
                            "accountBalance": null,
                            "accountAmount": null,
                            "idOrg": 1
                        },
                        {
                            "summary": "服务购买",
                            "outAmount": null,
                            "creatorId": null,
                            "creatorName": null,
                            "pageSize": 10,
                            "orderBy": null,
                            "remark": "",
                            "idUser": null,
                            "isClean": false,
                            "accountId": 4172,
                            "modifyTime": "2021-05-01 00:04:35",
                            "curPage": 1,
                            "createTime": "2021-05-01 00:04:35",
                            "orgIdList": null,
                            "inputOutDate": null,
                            "id": 106581,
                            "accountBalance": null,
                            "accountAmount": null,
                            "idOrg": 1
                        },
                        {
                            "summary": "补贴金额发放",
                            "outAmount": null,
                            "creatorId": null,
                            "creatorName": null,
                            "pageSize": 10,
                            "orderBy": null,
                            "remark": null,
                            "idUser": null,
                            "isClean": false,
                            "accountId": 4172,
                            "modifyTime": "2021-05-01 00:01:46",
                            "curPage": 1,
                            "createTime": "2021-05-01 00:01:46",
                            "orgIdList": null,
                            "inputOutDate": null,
                            "id": 93921,
                            "accountBalance": null,
                            "accountAmount": null,
                            "idOrg": 1
                        },
                        {
                            "summary": "服务购买",
                            "outAmount": null,
                            "creatorId": null,
                            "creatorName": null,
                            "pageSize": 10,
                            "orderBy": null,
                            "remark": "",
                            "idUser": null,
                            "isClean": false,
                            "accountId": 4172,
                            "modifyTime": "2021-04-01 00:14:08",
                            "curPage": 1,
                            "createTime": "2021-04-01 00:14:08",
                            "orgIdList": null,
                            "inputOutDate": null,
                            "id": 97025,
                            "accountBalance": null,
                            "accountAmount": null,
                            "idOrg": 1
                        },
                        {
                            "summary": "补贴金额发放",
                            "outAmount": null,
                            "creatorId": null,
                            "creatorName": null,
                            "pageSize": 10,
                            "orderBy": null,
                            "remark": null,
                            "idUser": null,
                            "isClean": false,
                            "accountId": 4172,
                            "modifyTime": "2021-04-01 00:11:20",
                            "curPage": 1,
                            "createTime": "2021-04-01 00:11:20",
                            "orgIdList": null,
                            "inputOutDate": null,
                            "id": 86686,
                            "accountBalance": null,
                            "accountAmount": null,
                            "idOrg": 1
                        }
                    ],
                    "pageNum": 1,
                    "navigatePages": 10,
                    "total": 12,
                    "navigateFirstPage": 1,
                    "pages": 2,
                    "size": 10,
                    "firstPage": 1,
                    "isLastPage": false,
                    "hasPreviousPage": false,
                    "navigateLastPage": 2,
                    "isFirstPage": true
                },
                "status": 1
            }
        }
    }
}