跳至主要內容

系统数据

Alex大约 23 分钟开发文档API接口文档

系统数据

v1.0.0

Base URLs:

Authentication

用户基本信息表

GET 发送邮件验证码

GET /front/sys/captcha/email

发送邮件验证码

请求参数

名称位置类型必选说明
emailquerystringemail

返回示例

200 Response

{
  "code": 0,
  "data": {},
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

GET 生成图像验证码

GET /front/sys/captcha/index

返回的是图片二进制内容

请求参数

名称位置类型必选说明
verify_keyquerystringverify_key

返回示例

200 Response

{}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

GET 发送手机验证码

GET /front/sys/captcha/mobile

发送手机验证码

请求参数

名称位置类型必选说明
mobilequerystringmobile

返回示例

200 Response

{
  "code": 0,
  "data": {},
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

系统参数设置表

GET 站点帮助

GET /front/sys/config/getPcHelp

站点帮助

返回示例

200 Response

{
  "code": 0,
  "data": {},
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

GET 根据提货码获取二维码

GET /front/sys/config/getQrcode

根据提货码获取二维码

请求参数

名称位置类型必选说明
codequerystringcode
wqueryintegerw
hqueryintegerh

返回示例

200 Response

{}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

GET 加载广告导航

GET /front/sys/config/guide

加载广告导航

返回示例

200 Response

{
  "code": 0,
  "data": {},
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

GET 站点配置信息

GET /front/sys/config/info

站点配置信息

请求参数

名称位置类型必选说明
source_ucc_codequerystringsource_ucc_code

返回示例

200 Response

{
  "code": 0,
  "data": {},
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

GET 读取移动端语言包数据

GET /front/sys/config/listTranslateLang

读取移动端语言包数据

返回示例

200 Response

{
  "code": 0,
  "data": {},
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

GET 获取公钥

GET /front/sys/config/publicKey

站点配置信息

返回示例

200 Response

{
  "code": 0,
  "data": {},
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

地区管理

GET 区域管理

GET /front/sys/district/tree

获得地址区域

请求参数

名称位置类型必选说明
createTimeEndquerystring创建时间结束值
createTimeStartquerystring创建时间起始值
districtCitycodequerystring区号
districtIdqueryinteger地区编号
districtLatquerynumber维度
districtLevelqueryinteger地区等级
districtLngquerynumber经度
districtNamequerystring地区名称
districtParentIdqueryinteger上级编号
districtSortqueryinteger地区排序
districtZipcodequerystring邮编
like[0].columnquerystring搜索字段
like[0].likequerystring搜索字符
order[0].sidxquerystring排序字段
order[0].sortquerystring排序方式
pagequeryinteger分页查询页码
sidxquerystring排序字段
sizequeryinteger分页查询每页数量
sortquerystring排序方式

返回示例

200 Response

{
  "code": 0,
  "data": [
    {
      "children": [
        null
      ],
      "district_citycode": "string",
      "district_id": 0,
      "district_lat": 0,
      "district_level": 0,
      "district_lng": 0,
      "district_name": "string",
      "district_parent_id": 0,
      "district_sort": 0,
      "district_zipcode": "string"
    }
  ],
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

快递表

GET 快递表-获取列表数据

GET /front/sys/express/list

快递表-获取列表数据

返回示例

200 Response

{
  "code": 0,
  "data": {},
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

用户反馈反馈

POST 添加平台反馈-举报

POST /front/sys/feedback/add

添加平台反馈-举报

请求参数

名称位置类型必选说明
adminIdqueryinteger回复人员
feedbackCategoryIdqueryinteger分类编号
feedbackQuestionquerystring反馈问题:在这里描述您遇到的问题
feedbackQuestionAnswerquerystring反馈问题
feedbackQuestionAnswerTimequerystring回复时间
feedbackQuestionResultqueryinteger举报处理结果(ENUM):1-无效举报;2-恶意举报;3-有效举报
feedbackQuestionStatusquerystring举报状态(BOOL):0-未处理;1-已处理
feedbackQuestionTimequerystring反馈时间
feedbackQuestionUrlquerystring页面链接
itemIdqueryinteger产品编号
userIdqueryinteger用户编号
userNicknamequerystring用户昵称

返回示例

200 Response

{
  "code": 0,
  "data": {},
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
201Createdopen in new windowCreatedInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

GET 平台反馈-举报

GET /front/sys/feedback/getCategory

平台反馈-举报

返回示例

200 Response

{
  "code": 0,
  "data": [
    {
      "feedback_type_enable": false,
      "feedback_type_genus": 0,
      "feedback_type_id": 0,
      "feedback_type_name": "string",
      "rows": [
        {
          "feedback_category_enable": false,
          "feedback_category_id": 0,
          "feedback_category_name": "string",
          "feedback_type_id": 0
        }
      ]
    }
  ],
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

GET 平台反馈-反馈列表

GET /front/sys/feedback/list

平台反馈-反馈列表

请求参数

名称位置类型必选说明
pagequeryintegerpage
sizequeryintegersize

返回示例

200 Response

{
  "code": 0,
  "data": {
    "items": [
      {
        "admin_id": 0,
        "feedback_category_id": 0,
        "feedback_id": 0,
        "feedback_question": "string",
        "feedback_question_answer": "string",
        "feedback_question_answer_time": "2019-08-24T14:15:22Z",
        "feedback_question_result": 0,
        "feedback_question_status": false,
        "feedback_question_time": "2019-08-24T14:15:22Z",
        "feedback_question_url": "string",
        "item_id": 0,
        "user_id": 0,
        "user_nickname": "string"
      }
    ],
    "page": 0,
    "records": 0,
    "size": 0,
    "total": 0
  },
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

页面表

GET 页面表-分页列表查询

GET /front/sys/page/getMobileIndexNav

页面表-分页列表查询

请求参数

名称位置类型必选说明
createTimeEndquerystring创建时间结束值
createTimeStartquerystring创建时间起始值
like[0].columnquerystring搜索字段
like[0].likequerystring搜索字符
order[0].sidxquerystring排序字段
order[0].sortquerystring排序方式
pagequeryinteger分页查询页码
pageBuildinquerystring是否内置(BOOL):0-否;1-是
pageNamequerystring页面名称
pageTypequeryinteger类型(ENUM):1-WAP;2-PC;3-APP
sidxquerystring排序字段
sizequeryinteger分页查询每页数量
sortquerystring排序方式
storeIdqueryinteger所属店铺
subsiteIdqueryinteger所属分站:0-总站

返回示例

200 Response

{
  "code": 0,
  "data": {
    "items": [
      {
        "app_id": 0,
        "page_activity": false,
        "page_article": false,
        "page_buildin": false,
        "page_code": "string",
        "page_config": "string",
        "page_everyday": false,
        "page_exchange": false,
        "page_gb": false,
        "page_gbs": false,
        "page_higharea": false,
        "page_id": 0,
        "page_index": false,
        "page_likeyou": false,
        "page_message": false,
        "page_name": "string",
        "page_nav": "string",
        "page_new": false,
        "page_newperson": false,
        "page_package": false,
        "page_pfgb": false,
        "page_point": false,
        "page_qrcode": "string",
        "page_release": false,
        "page_rura": false,
        "page_secondday": false,
        "page_secondkill": false,
        "page_share_image": "string",
        "page_share_title": "string",
        "page_sns": false,
        "page_taday": false,
        "page_tpl": 0,
        "page_type": 0,
        "page_upgrade": false,
        "page_zerobuy": false,
        "store_id": 0,
        "subsite_id": 0,
        "user_id": 0
      }
    ],
    "page": 0,
    "records": 0,
    "size": 0,
    "total": 0
  },
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

GET 读取移动页面

GET /front/sys/page/getMobilePage

读取移动页面

请求参数

名称位置类型必选说明
categoryIdqueryinteger分类编号
pageIdqueryinteger页面编号
pageIndexquerystring主页类型

返回示例

200 Response

{
  "code": 0,
  "data": {},
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

GET 读取PC页面

GET /front/sys/page/getPcPage

读取PC页面

请求参数

名称位置类型必选说明
categoryIdqueryinteger分类编号
pageIdqueryinteger页面编号
pageIndexquerystring主页类型

返回示例

200 Response

{
  "code": 0,
  "data": {},
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

GET PC头尾数据

GET /front/sys/page/pcLayout

PC头尾数据

返回示例

200 Response

{
  "code": 0,
  "data": {},
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

图片上传

POST 上传base64文件

POST /front/sys/upload/base64

请求参数

名称位置类型必选说明
base64querystringbase64
fileNamequerystring文件名称

返回示例

200 Response

{
  "code": 0,
  "data": {
    "file_name": "string",
    "file_path": "string",
    "file_size": 0,
    "file_type": "string",
    "file_url": "string",
    "mime_type": "string",
    "url": "string",
    "user_id": 0
  },
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
201Createdopen in new windowCreatedInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

GET 下载原文件

GET /front/sys/upload/download/{type}/{dir}/

请求参数

名称位置类型必选说明
typepathstringtype
dirpathstringdir
namepathstringname

返回示例

200 Response

{}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

POST 上传文件

POST /front/sys/upload/index

Body 请求参数

"string"

请求参数

名称位置类型必选说明
galleryIdqueryinteger素材分类
materialKeyquerystring素材关键字
materialTypequerystring素材类型
bodybodystring(binary)none

返回示例

200 Response

{
  "code": 0,
  "data": {
    "file_name": "string",
    "file_path": "string",
    "file_size": 0,
    "file_type": "string",
    "file_url": "string",
    "mime_type": "string",
    "url": "string",
    "user_id": 0
  },
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
201Createdopen in new windowCreatedInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

GET 查看缩略图

GET /front/sys/upload/thumbnail/{type}/{dir}/

请求参数

名称位置类型必选说明
typepathstringtype
dirpathstringdir
namepathstringname

返回示例

200 Response

{}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

GET 查看原文件

GET /front/sys/upload/{type}/{dir}/

请求参数

名称位置类型必选说明
typepathstringtype
dirpathstringdir
namepathstringname

返回示例

200 Response

{}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline