28214 lines
1.0 MiB
28214 lines
1.0 MiB
{
|
||
"swagger": "2.0",
|
||
"info": {
|
||
"title": "web Test API",
|
||
"description": "web has a very cool tools to autogenerate documents for your API",
|
||
"version": "1.0.0",
|
||
"termsOfService": "http://web.me/",
|
||
"contact": {
|
||
"email": "astaxie@gmail.com"
|
||
},
|
||
"license": {
|
||
"name": "Apache 2.0",
|
||
"url": "http://www.apache.org/licenses/LICENSE-2.0.html"
|
||
}
|
||
},
|
||
"basePath": "/v2",
|
||
"paths": {
|
||
"/act/CancelAct": {
|
||
"put": {
|
||
"tags": [
|
||
"act"
|
||
],
|
||
"description": "取消活动",
|
||
"operationId": "ActController.取消活动",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "actID",
|
||
"description": "活动id",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/act/CreateAct": {
|
||
"post": {
|
||
"tags": [
|
||
"act"
|
||
],
|
||
"description": "创建活动",
|
||
"operationId": "ActController.创建活动",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "name",
|
||
"description": "活动名,必须唯一(所以名子上最好带上日期)",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "type",
|
||
"description": "活动类型,3:直降,4:秒杀(美团当前不支持秒杀),5:折扣(京西)",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorIDs",
|
||
"description": "厂商ID,当前只支持,京东:0,京西(用于记录活动信息):99",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorOrgCode",
|
||
"description": "厂商内组织代码",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "beginAt",
|
||
"description": "开始日期",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "endAt",
|
||
"description": "结束日期",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "pricePercentage",
|
||
"description": "活动价格比例",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "advertising",
|
||
"description": "广告语",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "actStoreSkuList",
|
||
"description": "活动门店商品信息",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "overlapRule",
|
||
"description": "活动重叠规则",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "discountType",
|
||
"description": "折扣类型,当活动类型是折扣的时候传入",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "discountValue1",
|
||
"description": "折扣一档",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "discountValue2",
|
||
"description": "折扣二档",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "limitDaily",
|
||
"description": "是否按日0-不限,\u003e0限购单数(秒杀需填)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "limitUser",
|
||
"description": "是否用户限购0-不限,1-限购",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "limitCount",
|
||
"description": "限购件数 0-不限,如账号限购、设备限购有一个为1,则限购件数必须大于0的整数",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "remark",
|
||
"description": "备注",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步,缺省否(暂时只支持同步)",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/act/CreateActByExcel": {
|
||
"post": {
|
||
"tags": [
|
||
"act"
|
||
],
|
||
"description": "通过Excel创建活动",
|
||
"operationId": "ActController.通过Excel创建活动",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorID",
|
||
"description": "厂商ID,当前只支持,京东:0,京西(用于记录活动信息):99",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorOrgCode",
|
||
"description": "厂商内组织代码",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "mixType",
|
||
"description": "数据处理方式:1(一行一条数据)2(门店与商品相乘)",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isFocus",
|
||
"description": "是否批量关注可售所有商品,默认是",
|
||
"required": true,
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isSync",
|
||
"description": "是否同步所有未同步的商品,默认是",
|
||
"required": true,
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/act/CreateActForMtByOrder": {
|
||
"post": {
|
||
"tags": [
|
||
"act"
|
||
],
|
||
"description": "美团按顺序创建活动",
|
||
"operationId": "ActController.美团按顺序创建活动",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "name",
|
||
"description": "活动名,必须唯一(所以名子上最好带上日期)",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "type",
|
||
"description": "活动类型,3:直降",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorIDs",
|
||
"description": "厂商ID,当前只支持,京东:0,京西(用于记录活动信息):99",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorOrgCode",
|
||
"description": "厂商内组织代码",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "beginAt",
|
||
"description": "开始日期",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "endAt",
|
||
"description": "结束日期",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "pricePercentage",
|
||
"description": "活动价格比例",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "advertising",
|
||
"description": "广告语",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "actStoreSkuList",
|
||
"description": "活动门店商品信息",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/act/DeleteSkusFromAct": {
|
||
"delete": {
|
||
"tags": [
|
||
"act"
|
||
],
|
||
"description": "将SKU从所有活动中删除",
|
||
"operationId": "ActController.将SKU从所有活动中删除",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "skuIDs",
|
||
"description": "skuID列表",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorID",
|
||
"description": "厂商ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "types",
|
||
"description": "活动类型列表",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isAsync",
|
||
"description": "是否异步",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/act/DeleteStoresFromAct": {
|
||
"delete": {
|
||
"tags": [
|
||
"act"
|
||
],
|
||
"description": "将门店从所有活动中删除",
|
||
"operationId": "ActController.将门店从所有活动中删除",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeIDs",
|
||
"description": "门店ID列表",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorID",
|
||
"description": "厂商ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "types",
|
||
"description": "活动类型列表",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isAsync",
|
||
"description": "是否异步",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/act/ForceUpdateVendorPrice": {
|
||
"post": {
|
||
"tags": [
|
||
"act"
|
||
],
|
||
"description": "强制更新商品平台价",
|
||
"operationId": "ActController.强制更新商品平台价",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "type",
|
||
"description": "活动类型,3:直降,4:秒杀(美团当前不支持秒杀)",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorID",
|
||
"description": "厂商ID,当前只支持,京东:0,京西(用于记录活动信息):9",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "actStoreSkuList",
|
||
"description": "活动门店商品信息",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "lockTime",
|
||
"description": "平台价格锁定截止时间",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步,缺省否(暂时只支持同步)",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/act/GetActEbaiVendor": {
|
||
"get": {
|
||
"tags": [
|
||
"act"
|
||
],
|
||
"description": "查询饿百平台活动",
|
||
"operationId": "ActController.查询饿百平台活动",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeIDs",
|
||
"description": "门店IDs",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "skuIDs",
|
||
"description": "skuIDs",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "keyword",
|
||
"description": "关键字",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "beginAt",
|
||
"description": "活动开始日期",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "endAt",
|
||
"description": "活动结束日期",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "actType",
|
||
"description": "折扣或者秒杀",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "offset",
|
||
"description": "起始序号(以0开始,缺省为0)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "pageSize",
|
||
"description": "表页大小(缺省全部)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/act/GetActEbaiVendorSku": {
|
||
"get": {
|
||
"tags": [
|
||
"act"
|
||
],
|
||
"description": "查询饿百平台活动sku",
|
||
"operationId": "ActController.查询饿百平台活动sku",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "actID",
|
||
"description": "活动ID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "keyword",
|
||
"description": "关键字",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "offset",
|
||
"description": "起始序号(以0开始,缺省为0)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "pageSize",
|
||
"description": "表页大小(缺省全部)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/act/GetActMtwmVendor": {
|
||
"get": {
|
||
"tags": [
|
||
"act"
|
||
],
|
||
"description": "查询美团平台活动",
|
||
"operationId": "ActController.查询美团平台活动",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeIDs",
|
||
"description": "门店IDs",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "skuIDs",
|
||
"description": "skuIDs",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "keyword",
|
||
"description": "关键字",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "beginAt",
|
||
"description": "活动开始日期",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "endAt",
|
||
"description": "活动结束日期",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "actType",
|
||
"description": "折扣或者秒杀",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "offset",
|
||
"description": "起始序号(以0开始,缺省为0)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "pageSize",
|
||
"description": "表页大小(缺省全部)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/act/GetActMtwmVendorSku": {
|
||
"get": {
|
||
"tags": [
|
||
"act"
|
||
],
|
||
"description": "查询美团平台活动sku",
|
||
"operationId": "ActController.查询美团平台活动sku",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeID",
|
||
"description": "门店ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "keyword",
|
||
"description": "关键字",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "actType",
|
||
"description": "折扣或者秒杀",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "offset",
|
||
"description": "起始序号(以0开始,缺省为0)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "pageSize",
|
||
"description": "表页大小(缺省全部)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/act/GetActStoreSkuInfo": {
|
||
"get": {
|
||
"tags": [
|
||
"act"
|
||
],
|
||
"description": "得到活动门店商品信息",
|
||
"operationId": "ActController.得到活动门店商品信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "actID",
|
||
"description": "活动id",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorIDs",
|
||
"description": "厂商ID列表",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "keyword",
|
||
"description": "查询关键字(可以为空,为空表示不限制)",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "offset",
|
||
"description": "起始序号(以0开始,缺省为0)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "pageSize",
|
||
"description": "表页大小(缺省全部)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
},
|
||
"post": {
|
||
"tags": [
|
||
"act"
|
||
],
|
||
"description": "得到活动门店商品信息",
|
||
"operationId": "ActController.得到活动门店商品信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "actID",
|
||
"description": "活动id",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorIDs",
|
||
"description": "厂商ID列表",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "keyword",
|
||
"description": "查询关键字(可以为空,为空表示不限制)",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "offset",
|
||
"description": "起始序号(以0开始,缺省为0)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "pageSize",
|
||
"description": "表页大小(缺省全部)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/act/GetMTOnlineAct": {
|
||
"get": {
|
||
"tags": [
|
||
"act"
|
||
],
|
||
"description": "查询美团平台线上活动",
|
||
"operationId": "ActController.查询美团平台线上活动(会有不在我们本地创建的)",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorStoreID",
|
||
"description": "美团门店ID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorOrgCode",
|
||
"description": "美团appID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "beginAt",
|
||
"description": "活动开始日期 时间戳",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "endAt",
|
||
"description": "活动结束日期",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "actType",
|
||
"description": "折扣或者秒杀",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/act/GetNotHaveSkuActList": {
|
||
"get": {
|
||
"tags": [
|
||
"act"
|
||
],
|
||
"description": "查询美团平台活动",
|
||
"operationId": "ActController.根据商品id查询未开展活动的门店信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "skuID",
|
||
"description": "skuID",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "offset",
|
||
"description": "起始序号(以0开始,缺省为0)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "pageSize",
|
||
"description": "表页大小(缺省全部)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/act/GetVendorPopActDetail": {
|
||
"get": {
|
||
"tags": [
|
||
"act"
|
||
],
|
||
"description": "获取平台流量活动Detail",
|
||
"operationId": "ActController.获取平台流量活动Detail",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorID",
|
||
"description": "厂商ID,当前只支持,饿百3,美团1",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeID",
|
||
"description": "门店ID",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "actID",
|
||
"description": "活动ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/act/GetVendorPopActs": {
|
||
"get": {
|
||
"tags": [
|
||
"act"
|
||
],
|
||
"description": "获取平台流量活动List",
|
||
"operationId": "ActController.获取平台流量活动List",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorID",
|
||
"description": "厂商ID,当前只支持,饿百3,美团1",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeID",
|
||
"description": "门店ID",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/act/PreCreateAct": {
|
||
"post": {
|
||
"tags": [
|
||
"act"
|
||
],
|
||
"description": "预创建活动",
|
||
"operationId": "ActController.预创建活动",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "name",
|
||
"description": "活动名,必须唯一(所以名子上最好带上日期)",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "type",
|
||
"description": "活动类型,3:直降,4:秒杀(美团当前不支持秒杀)",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorIDs",
|
||
"description": "厂商ID,当前只支持,京东:0,京西(用于记录活动信息):99",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "beginAt",
|
||
"description": "开始日期",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "endAt",
|
||
"description": "结束日期",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "pricePercentage",
|
||
"description": "活动价格比例",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "advertising",
|
||
"description": "广告语",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "actStoreSkuList",
|
||
"description": "活动门店商品信息",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "overlapRule",
|
||
"description": "活动重叠规则",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "limitDaily",
|
||
"description": "是否按日0-不限,\u003e0限购单数(秒杀需填)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "limitUser",
|
||
"description": "是否用户限购0-不限,1-限购",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "limitCount",
|
||
"description": "限购件数 0-不限,如账号限购、设备限购有一个为1,则限购件数必须大于0的整数",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "remark",
|
||
"description": "备注",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/act/QueryActs": {
|
||
"get": {
|
||
"tags": [
|
||
"act"
|
||
],
|
||
"description": "查询活动",
|
||
"operationId": "ActController.查询活动",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "createdAtFrom",
|
||
"description": "创建开始日期",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "createdAtTo",
|
||
"description": "创建结束日期",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "keyword",
|
||
"description": "关键字",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "actID",
|
||
"description": "活动id",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "name",
|
||
"description": "活动名,不完全匹配",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "cityCode",
|
||
"description": "活动门店所属城市code",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "beginAt",
|
||
"description": "开始日期,包括",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "endAt",
|
||
"description": "结束日期,包括",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorID",
|
||
"description": "包含平台",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "typeList",
|
||
"description": "活动类型列表,3:直降,4:秒杀",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "statusList",
|
||
"description": "活动状态列表",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "createTypeList",
|
||
"description": "创建方式列表",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeID",
|
||
"description": "包含门店",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "skuID",
|
||
"description": "包含sku",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "syncStatus",
|
||
"description": "活动同步标识,缺省不限制",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "offset",
|
||
"description": "活动列表起始序号(以0开始,缺省为0)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "pageSize",
|
||
"description": "活动列表页大小(缺省为50,-1表示全部)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/act/RefreshMTActivityList": {
|
||
"get": {
|
||
"tags": [
|
||
"act"
|
||
],
|
||
"description": "查询美团平台活动",
|
||
"operationId": "ActController.查询美团平台活动",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/act/RefreshPageActs": {
|
||
"put": {
|
||
"tags": [
|
||
"act"
|
||
],
|
||
"description": "添加SKU活动商品",
|
||
"operationId": "ActController.添加SKU活动商品",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorIDs",
|
||
"description": "厂商ID列表",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "createdFrom",
|
||
"description": "创建开始日期",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/act/RefreshVendorAct": {
|
||
"post": {
|
||
"tags": [
|
||
"act"
|
||
],
|
||
"description": "刷新平台活动",
|
||
"operationId": "ActController.刷新平台活动",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorID",
|
||
"description": "平台ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/act/SyncAct": {
|
||
"put": {
|
||
"tags": [
|
||
"act"
|
||
],
|
||
"description": "同步活动",
|
||
"operationId": "ActController.同步活动",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "actID",
|
||
"description": "活动id",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorIDs",
|
||
"description": "厂商ID列表",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/act/UpdateActStoreSkuBind": {
|
||
"put": {
|
||
"tags": [
|
||
"act"
|
||
],
|
||
"description": "添加SKU活动商品",
|
||
"operationId": "ActController.添加SKU活动商品",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "actID",
|
||
"description": "活动id",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "actStoreSkuAddList",
|
||
"description": "需添加的活动商品信息",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "actStoreSkuDeleteList",
|
||
"description": "需删除的活动商品信息",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/auth2/AddAuthBind": {
|
||
"post": {
|
||
"tags": [
|
||
"auth2"
|
||
],
|
||
"description": "绑定认证方式",
|
||
"operationId": "Auth2Controller.绑定认证方式",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "authToken",
|
||
"description": "之前通过login得到的新认证TOKEN",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/auth2/AddAuthBindWithMobile": {
|
||
"post": {
|
||
"tags": [
|
||
"auth2"
|
||
],
|
||
"description": "绑定认证方式",
|
||
"operationId": "Auth2Controller.绑定认证方式",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "authToken",
|
||
"description": "之前通过login得到的新认证TOKEN",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "mobile",
|
||
"description": "之前通过getuserbyminiinfo得到的",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/auth2/ChangePassword": {
|
||
"put": {
|
||
"tags": [
|
||
"auth2"
|
||
],
|
||
"description": "修改(或初始化)密码",
|
||
"operationId": "Auth2Controller.修改(或初始化)密码",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "oldPwd",
|
||
"description": "原密码md5,如果是重置或新设,为空",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "newPwd",
|
||
"description": "新密码md5",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/auth2/CreateCaptcha": {
|
||
"post": {
|
||
"tags": [
|
||
"auth2"
|
||
],
|
||
"description": "生成captcha",
|
||
"operationId": "Auth2Controller.生成captcha",
|
||
"parameters": [
|
||
{
|
||
"in": "formData",
|
||
"name": "width",
|
||
"description": "图片宽",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "height",
|
||
"description": "图片高",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "captchaLen",
|
||
"description": "captcha码长度",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/auth2/DeletedTokenInfoWithoutParam": {
|
||
"put": {
|
||
"tags": [
|
||
"auth2"
|
||
],
|
||
"description": "清除除参数token以外的这个人的token",
|
||
"operationId": "Auth2Controller.清除除参数token以外的这个人的tokenSendStoreMessage",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/auth2/DingDingOAuth2": {
|
||
"get": {
|
||
"tags": [
|
||
"auth2"
|
||
],
|
||
"description": "钉钉认证回调接口,自己不能直接调用",
|
||
"operationId": "Auth2Controller.钉钉认证回调接口",
|
||
"parameters": [
|
||
{
|
||
"in": "query",
|
||
"name": "code",
|
||
"description": "客户同意后得到的code",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "block",
|
||
"description": "回调地址",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "state",
|
||
"description": "微信回调的登录状态",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/auth2/GetTokenInfo": {
|
||
"get": {
|
||
"tags": [
|
||
"auth2"
|
||
],
|
||
"description": "得到自己登录token的信息",
|
||
"operationId": "Auth2Controller.得到自己登录token的信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/auth2/GetUserByMiniInfo": {
|
||
"post": {
|
||
"tags": [
|
||
"auth2"
|
||
],
|
||
"description": "根据小程序jsCode查询用户信息",
|
||
"operationId": "Auth2Controller.根据小程序jsCode查询用户信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "data",
|
||
"description": "加密数据",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "iv",
|
||
"description": "iv",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "jsCode",
|
||
"description": "小程序jsCode",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "authType",
|
||
"description": "authType",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "appID",
|
||
"description": "appID",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/auth2/Login": {
|
||
"post": {
|
||
"tags": [
|
||
"auth2"
|
||
],
|
||
"description": "登录接口(微信与公众号登录不能直接调用此接口)",
|
||
"operationId": "Auth2Controller.登录接口",
|
||
"parameters": [
|
||
{
|
||
"in": "formData",
|
||
"name": "authType",
|
||
"description": "登录类型,当前支持[kuaishou:快手授权登录,localpass:本地账号密码,mobile:手机短信,wxqrcode:微信登录,weixinsns:微信公众号,weixinmini;小程序,wxnative:微信APP,ddstaff:钉钉企业,ddqrcode:钉钉扫码,alipaycode:支付宝小程序]",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "authSecret",
|
||
"description": "不同登录类型的登录秘密,如果是localpass登录类型,是md5后的值(空串不要md5)",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "authID",
|
||
"description": "登录ID,登录类型为localpass时依赖于authIDType,其它为相应登录类型的id",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "authIDType",
|
||
"description": "只有在登录类型为localpass时,才有意义,分别为:userid2:用户名,email,mobile",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "cId",
|
||
"description": "用户手机设备id,只有app登录时做消息通知才有意义!登录时更新此字段!",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/auth2/Logout": {
|
||
"delete": {
|
||
"tags": [
|
||
"auth2"
|
||
],
|
||
"description": "登出接口(此接口兼容V1的TOKEN)",
|
||
"operationId": "Auth2Controller.登出接口",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/auth2/RemoveAuthBind": {
|
||
"delete": {
|
||
"tags": [
|
||
"auth2"
|
||
],
|
||
"description": "删除认证方式",
|
||
"operationId": "Auth2Controller.删除认证方式",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "authType",
|
||
"description": "登录类型,参见Login的描述",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "authTypeID",
|
||
"description": "登录类型标识",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/auth2/SendVerifyCode": {
|
||
"post": {
|
||
"tags": [
|
||
"auth2"
|
||
],
|
||
"description": "发送验证码(captcha码与authToken二者必须至少有一个)",
|
||
"operationId": "Auth2Controller.发送验证码",
|
||
"parameters": [
|
||
{
|
||
"in": "formData",
|
||
"name": "captchaID",
|
||
"description": "captcha码ID",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "captchaValue",
|
||
"description": "captcha码值",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "authToken",
|
||
"description": "之前的认证信息",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "authID",
|
||
"description": "手机号或邮件",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/auth2/TiktokDecrypt": {
|
||
"post": {
|
||
"tags": [
|
||
"auth2"
|
||
],
|
||
"description": "抖音解密接口,获取用户电话",
|
||
"operationId": "Auth2Controller.抖音解密接口,获取用户电话",
|
||
"parameters": [
|
||
{
|
||
"in": "formData",
|
||
"name": "iv",
|
||
"description": "加密字符偏移量",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "sessionKey",
|
||
"description": "加密key",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "msg",
|
||
"description": "加密消息",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "loginType",
|
||
"description": "登录类型兼容抖音登录/快手[tiktokmini/kuaishoumini]",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/auth2/UpdateUserByMiniInfo": {
|
||
"put": {
|
||
"tags": [
|
||
"auth2"
|
||
],
|
||
"description": "根据小程序jsCode修改用户信息",
|
||
"operationId": "Auth2Controller.根据小程序jsCode修改用户信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "data",
|
||
"description": "加密数据",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "iv",
|
||
"description": "iv",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "jsCode",
|
||
"description": "小程序jsCode",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/auth2/WeixinMPOAuth2": {
|
||
"get": {
|
||
"tags": [
|
||
"auth2"
|
||
],
|
||
"description": "微信公众号认证回调接口,自己不能直接调用",
|
||
"operationId": "Auth2Controller.微信公众号认证回调接口",
|
||
"parameters": [
|
||
{
|
||
"in": "query",
|
||
"name": "code",
|
||
"description": "客户同意后得到的code",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "block",
|
||
"description": "回调地址",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "state",
|
||
"description": "微信回调的登录状态",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/auth2/WeixinOAuth2": {
|
||
"get": {
|
||
"tags": [
|
||
"auth2"
|
||
],
|
||
"description": "微信扫码认证回调接口,自己不能直接调用",
|
||
"operationId": "Auth2Controller.微信扫码认证回调接口",
|
||
"parameters": [
|
||
{
|
||
"in": "query",
|
||
"name": "code",
|
||
"description": "客户同意后得到的code",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "block",
|
||
"description": "回调地址",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "state",
|
||
"description": "微信回调的登录状态",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/bind/CreateSupermarketSign": {
|
||
"post": {
|
||
"tags": [
|
||
"bind"
|
||
],
|
||
"description": "创建超市签约信息:记录已经签约的门店信息",
|
||
"operationId": "BiddingController.创建超市签约信息",
|
||
"parameters": [
|
||
{
|
||
"in": "formData",
|
||
"name": "signObj",
|
||
"description": "model.SupermarketSign",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/bind/DeleteSignData": {
|
||
"delete": {
|
||
"tags": [
|
||
"bind"
|
||
],
|
||
"description": "查询超市签约信息:记录已经签约的门店信息",
|
||
"operationId": "BiddingController.查询超市签约信息",
|
||
"parameters": [
|
||
{
|
||
"in": "formData",
|
||
"name": "storeID",
|
||
"description": "美团门店ID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/bind/DownSupermarketSign": {
|
||
"post": {
|
||
"tags": [
|
||
"bind"
|
||
],
|
||
"description": "下载超市签约信息",
|
||
"operationId": "BiddingController.下载超市签约信息",
|
||
"parameters": [
|
||
{
|
||
"in": "formData",
|
||
"name": "storeID",
|
||
"description": "美团门店ID",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeName",
|
||
"description": "美团门店名称",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "startTime",
|
||
"description": "签约开始时间",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "endTime",
|
||
"description": "签约结束时间",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "expirationStart",
|
||
"description": "到期开始时间",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "expirationEnd",
|
||
"description": "到期结束时间",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "cityName",
|
||
"description": "门店城市",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeType",
|
||
"description": "门店类型",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "signPeople",
|
||
"description": "签约人",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/bind/GetBiddingMsg": {
|
||
"get": {
|
||
"tags": [
|
||
"bind"
|
||
],
|
||
"description": "获取招标信息",
|
||
"operationId": "BiddingController.获取招标信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "title",
|
||
"description": "标题",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "city",
|
||
"description": "标题",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "startTime",
|
||
"description": "开始时间",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "endTime",
|
||
"description": "结束时间",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "pageSize",
|
||
"description": "页数",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "pageNumber",
|
||
"description": "页码",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/bind/GetRefundOrderList": {
|
||
"get": {
|
||
"tags": [
|
||
"bind"
|
||
],
|
||
"description": "获取招标信息",
|
||
"operationId": "BiddingController.获取招标信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "brandId",
|
||
"description": "品牌",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "start",
|
||
"description": "开始时间",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/bind/GetStoreBindStatus": {
|
||
"get": {
|
||
"tags": [
|
||
"bind"
|
||
],
|
||
"description": "查询门店是否绑定成功,成功之后创建本地门店",
|
||
"operationId": "BiddingController.查询门店是否绑定成功,成功之后创建本地门店",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "platformId",
|
||
"description": "授权成功平台id",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "platformType",
|
||
"description": "授权平台id",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/bind/GetSupermarketSign": {
|
||
"post": {
|
||
"tags": [
|
||
"bind"
|
||
],
|
||
"description": "查询超市签约信息:记录已经签约的门店信息",
|
||
"operationId": "BiddingController.查询超市签约信息",
|
||
"parameters": [
|
||
{
|
||
"in": "formData",
|
||
"name": "storeID",
|
||
"description": "美团门店ID",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeName",
|
||
"description": "美团门店名称",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "startTime",
|
||
"description": "签约开始时间",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "endTime",
|
||
"description": "签约结束时间",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "expirationStart",
|
||
"description": "到期开始时间",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "expirationEnd",
|
||
"description": "到期结束时间",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "cityName",
|
||
"description": "门店城市",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeType",
|
||
"description": "门店类型",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "signPeople",
|
||
"description": "签约人",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "page",
|
||
"description": "页码",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "size",
|
||
"description": "页数",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/bind/JXPrintAfsOrder": {
|
||
"get": {
|
||
"tags": [
|
||
"bind"
|
||
],
|
||
"description": "售后单打印",
|
||
"operationId": "BiddingController.售后单打印",
|
||
"parameters": [
|
||
{
|
||
"in": "query",
|
||
"name": "orderId",
|
||
"description": "订单ID",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/bind/NeedDeleteGetStoreBindStatus": {
|
||
"get": {
|
||
"tags": [
|
||
"bind"
|
||
],
|
||
"description": "查询门店是否绑定成功,成功之后创建本地门店",
|
||
"operationId": "BiddingController.查询门店是否绑定成功,成功之后创建本地门店",
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/bind/UpdateStockBySkuID": {
|
||
"post": {
|
||
"tags": [
|
||
"bind"
|
||
],
|
||
"description": "批量更新库存",
|
||
"operationId": "BiddingController.根据skuId更新商品库存",
|
||
"parameters": [
|
||
{
|
||
"in": "formData",
|
||
"name": "storeID",
|
||
"description": "标准门店库存ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "stock",
|
||
"description": "库存列表[{skuId:110,stock:10},{skuId:111,stock:10}]",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/bind/UpdateTiktokOrderPhoneAddress": {
|
||
"get": {
|
||
"tags": [
|
||
"bind"
|
||
],
|
||
"description": "更新抖音电话归属地",
|
||
"operationId": "BiddingController.更新抖音电话归属地",
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/cms/CreateQrOrBarCode": {
|
||
"post": {
|
||
"tags": [
|
||
"cms"
|
||
],
|
||
"description": "生成二维码或条形码",
|
||
"operationId": "CmsController.生成二维码或条形码",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "width",
|
||
"description": "图片宽",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "height",
|
||
"description": "图片高",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "codetype",
|
||
"description": "编码类型(二维码:qr; 条形码:bar)",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "srcData",
|
||
"description": "二维码/条形码数据源",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/cms/DeleteConfig": {
|
||
"delete": {
|
||
"tags": [
|
||
"cms"
|
||
],
|
||
"description": "删除配置",
|
||
"operationId": "CmsController.删除配置",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "type",
|
||
"description": "配置类型(当前只支持PricePack)",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "key",
|
||
"description": "配置名",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/cms/FakeNewOrder": {
|
||
"post": {
|
||
"tags": [
|
||
"cms"
|
||
],
|
||
"description": "发送新订单消息(测试用)",
|
||
"operationId": "CmsController.发送新订单消息(测试用)",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorOrderID",
|
||
"description": "订单ID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorID",
|
||
"description": "订单厂商ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/cms/GetCityBankBranches": {
|
||
"get": {
|
||
"tags": [
|
||
"cms"
|
||
],
|
||
"description": "查询当前系统中已有的城市中的银行支行",
|
||
"operationId": "CmsController.查询当前系统中已有的城市中的银行支行",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "cityCode",
|
||
"description": "城市代码",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "bankCode",
|
||
"description": "银行代码",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/cms/GetConfig": {
|
||
"get": {
|
||
"tags": [
|
||
"cms"
|
||
],
|
||
"description": "得到配置参数",
|
||
"operationId": "CmsController.得到配置参数",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "key",
|
||
"description": "参数名",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/cms/GetCoordinateCityInfo": {
|
||
"get": {
|
||
"tags": [
|
||
"cms"
|
||
],
|
||
"description": "根据坐标得到城市",
|
||
"operationId": "CmsController.根据坐标得到城市",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "lng",
|
||
"description": "经度",
|
||
"required": true,
|
||
"type": "number"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "lat",
|
||
"description": "纬度",
|
||
"required": true,
|
||
"type": "number"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/cms/GetCoordinateDistrictCode": {
|
||
"get": {
|
||
"tags": [
|
||
"cms"
|
||
],
|
||
"description": "根据坐标得到区码,坐标都为火星坐标(有些市是没有区的,比如东莞,这种情况下返回的区码是一个假的区域,即市的编码加上9000000)",
|
||
"operationId": "CmsController.根据坐标得到区码",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "lng",
|
||
"description": "经度",
|
||
"required": true,
|
||
"type": "number"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "lat",
|
||
"description": "纬度",
|
||
"required": true,
|
||
"type": "number"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/cms/GetNewOrderMsg": {
|
||
"get": {
|
||
"tags": [
|
||
"cms"
|
||
],
|
||
"description": "得到服务器消息通知",
|
||
"operationId": "CmsController.得到服务器消息通知",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeID",
|
||
"description": "京西门店ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "lastOrderTime",
|
||
"description": "最后订单时间(缺省为24小时内)",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "lastOrderSeqID",
|
||
"description": "最后订单流水ID(缺省为0)",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "waitingSecond",
|
||
"description": "等待时间",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/cms/GetPlaces": {
|
||
"get": {
|
||
"tags": [
|
||
"cms"
|
||
],
|
||
"description": "得到地点(省,城市,区)信息。",
|
||
"operationId": "CmsController.得到地点(省,城市,区)信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "keyword",
|
||
"description": "查询关键字(可以为空,为空表示不限制)",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "parentCode",
|
||
"description": "上级地点code,这个指的是国家标准CODE(中国为:100000,北京为:110000,北京市为:110100),不是数据库中的ID",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "level",
|
||
"description": "地点级别:省为1,市为2,区为3,注意直辖市也要分省与市级",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "includeDisabled",
|
||
"description": "是否包括禁用的城市(缺省不包括)",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/cms/GetProductInfoByBarCode": {
|
||
"get": {
|
||
"tags": [
|
||
"cms"
|
||
],
|
||
"description": "从条形码得到商品信息",
|
||
"operationId": "CmsController.从条形码得到商品信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "barCode",
|
||
"description": "条形码",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/cms/GetQiniuUploadToken": {
|
||
"get": {
|
||
"tags": [
|
||
"cms"
|
||
],
|
||
"description": "得到七牛上传服务临时token,当前设置为5分钟内有效。正常使用场景为每次上传资源前实时获取,而不是保存下来一直使用,如果hashCode有值,且本地有,可能直接返回URL",
|
||
"operationId": "CmsController.得到七牛上传服务临时token",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "suffix",
|
||
"description": "前缀",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "hashCode",
|
||
"description": "图片hash",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/cms/GetSToURidingDistance": {
|
||
"get": {
|
||
"tags": [
|
||
"cms"
|
||
],
|
||
"description": "得到商家与用户之间骑行路线规划",
|
||
"operationId": "CmsController.得到商家与用户之间骑行路线规划",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "sLng",
|
||
"description": "商家经度",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "sLat",
|
||
"description": "商家纬度",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "uLng",
|
||
"description": "用户经度",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "uLat",
|
||
"description": "用户纬度",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "orderId",
|
||
"description": "订单id",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/cms/GetSToURidingDistance2": {
|
||
"get": {
|
||
"tags": [
|
||
"cms"
|
||
],
|
||
"description": "得到商家与用户之间骑行路线规划",
|
||
"operationId": "CmsController.得到商家与用户之间骑行路线规划",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "sLng",
|
||
"description": "商家经度",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "sLat",
|
||
"description": "商家纬度",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "uLng",
|
||
"description": "用户经度",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "uLat",
|
||
"description": "用户纬度",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "orderId",
|
||
"description": "订单id",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/cms/GetServiceInfo": {
|
||
"get": {
|
||
"tags": [
|
||
"cms"
|
||
],
|
||
"description": "得到服务相关的一些基础信息,包括版本,及一些元数据信息",
|
||
"operationId": "CmsController.得到服务相关的一些基础信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/cms/GetVendorOrgCodeInfo": {
|
||
"get": {
|
||
"tags": [
|
||
"cms"
|
||
],
|
||
"description": "得到平台的账号信息",
|
||
"operationId": "CmsController.得到平台的账号信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/cms/NewConfig": {
|
||
"post": {
|
||
"tags": [
|
||
"cms"
|
||
],
|
||
"description": "新增配置",
|
||
"operationId": "CmsController.新增配置",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "type",
|
||
"description": "配置类型(当前只支持PricePack)",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "key",
|
||
"description": "配置名",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "value",
|
||
"description": "配置值",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/cms/QueryConfigs": {
|
||
"get": {
|
||
"tags": [
|
||
"cms"
|
||
],
|
||
"description": "查询配置",
|
||
"operationId": "CmsController.查询配置",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "type",
|
||
"description": "配置类型(当前只支持PricePack)",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "key",
|
||
"description": "配置名",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "keyword",
|
||
"description": "关键字",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/cms/RegisterDataResource": {
|
||
"post": {
|
||
"tags": [
|
||
"cms"
|
||
],
|
||
"description": "注册数据资源",
|
||
"operationId": "CmsController.注册数据资源",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "hashCode",
|
||
"description": "md5",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "resourceURL",
|
||
"description": "资源URL",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "mimeType",
|
||
"description": "资源MIME类型,当前只支持:image/jpeg,image/png,video/mpeg,video/mp4",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "name",
|
||
"description": "资源名",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/cms/SendMsg2Somebody": {
|
||
"post": {
|
||
"tags": [
|
||
"cms"
|
||
],
|
||
"description": "发送消息给相关人员",
|
||
"operationId": "CmsController.发送消息给相关人员",
|
||
"parameters": [
|
||
{
|
||
"in": "formData",
|
||
"name": "msgType",
|
||
"description": "消息类型",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "msgContent",
|
||
"description": "消息内容",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "mobile",
|
||
"description": "手机号",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "verifyCode",
|
||
"description": "验证码",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/cms/SetConfig": {
|
||
"put": {
|
||
"tags": [
|
||
"cms"
|
||
],
|
||
"description": "设置配置参数",
|
||
"operationId": "CmsController.设置配置参数",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "key",
|
||
"description": "参数名",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "value",
|
||
"description": "参数值",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/cms/UpdateConfig": {
|
||
"put": {
|
||
"tags": [
|
||
"cms"
|
||
],
|
||
"description": "修改配置",
|
||
"operationId": "CmsController.修改配置",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "type",
|
||
"description": "配置类型(当前只支持PricePack)",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "key",
|
||
"description": "配置名",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "value",
|
||
"description": "配置值",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/cms/UpdatePlace": {
|
||
"put": {
|
||
"tags": [
|
||
"cms"
|
||
],
|
||
"description": "只支持修改enabled, jd_code和mtps_price这三个属性",
|
||
"operationId": "CmsController.修改地点信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "code",
|
||
"description": "地点编号,注意是code不是ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "enabled",
|
||
"description": "是否启用",
|
||
"required": true,
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "name",
|
||
"description": "地点名",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "mtpsPrice",
|
||
"description": "美团配送基础价格",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/cms/UpdatePlaces": {
|
||
"put": {
|
||
"tags": [
|
||
"cms"
|
||
],
|
||
"description": "只支持修改enabled, jd_code和mtps_price这三个属性",
|
||
"operationId": "CmsController.批量修改地点信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payload",
|
||
"description": "json数据,place对象数组",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/ddapi/SendDDmsgToUser": {
|
||
"post": {
|
||
"tags": [
|
||
"ddapi"
|
||
],
|
||
"description": "发送钉钉消息",
|
||
"operationId": "DDAPIController.发送钉钉消息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "title",
|
||
"description": "消息标题",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "content",
|
||
"description": "消息内容",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "mobiles",
|
||
"description": "发送给谁,电话列表",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/ddapi/Sign": {
|
||
"get": {
|
||
"tags": [
|
||
"ddapi"
|
||
],
|
||
"description": "得到门店用户信息",
|
||
"operationId": "DDAPIController.得到门店用户信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "url",
|
||
"description": "当前网页的URL,不包含#及其后面部分",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "nonceStr",
|
||
"description": "随机串,自己定义",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "timeStamp",
|
||
"description": "时间戳",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/event/GetCheckVendorCookie": {
|
||
"get": {
|
||
"tags": [
|
||
"event"
|
||
],
|
||
"description": "各平台Cookie检查",
|
||
"operationId": "EventController.各平台Cookie检查",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorIDs",
|
||
"description": "平台ID列表",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/event/GetImMessageRecord": {
|
||
"get": {
|
||
"tags": [
|
||
"event"
|
||
],
|
||
"description": "查询聊天记录",
|
||
"operationId": "EventController.查询聊天记录",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorOrderID",
|
||
"description": "订单号",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/event/GetOperateEvents": {
|
||
"get": {
|
||
"tags": [
|
||
"event"
|
||
],
|
||
"description": "查询操作日志事件明细",
|
||
"operationId": "EventController.查询操作日志事件明细",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "apiFunctions",
|
||
"description": "功能名列表",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "name",
|
||
"description": "操作人姓名,支持模糊查询",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "operateTypes",
|
||
"description": "操作类型列表,1为修改,2为新增,4为删除",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "skuIDs",
|
||
"description": "商品ID列表",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeIDs",
|
||
"description": "门店ID列表",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "fromTime",
|
||
"description": "开始日期(包含),格式(2006-01-02 00:00:00)",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "toTime",
|
||
"description": "结束日期(包含),格式(2006-01-02 00:00:00)",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "keyword",
|
||
"description": "关键字",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "errType",
|
||
"description": "查询错误日志,默认0都查,1不查错误日志,-1只查错误日志",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "offset",
|
||
"description": "门店列表起始序号(以0开始,缺省为0)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "pageSize",
|
||
"description": "门店列表页大小(缺省为30)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/event/GetWeixinUnlimited": {
|
||
"post": {
|
||
"tags": [
|
||
"event"
|
||
],
|
||
"description": "得到微信小程序码",
|
||
"operationId": "EventController.得到微信小程序码",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "scene",
|
||
"description": "最大32个可见字符,只支持数字,大小写英文以及部分特殊字符:!#$\u0026'()*+,/:;=?@-._~,其它字符请自行编码为合法字符(因不支持%,中文无法使用 urlencode 处理,请使用其他编码方式)",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "page",
|
||
"description": "必须是已经发布的小程序存在的页面(否则报错),例如 pages/index/index, 根路径前不要填加 /,不能携带参数(参数请放在scene字段里),如果不填写这个字段,默认跳主页面",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "minType",
|
||
"description": "weChat或者tiktok",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/event/TestUniAppPush": {
|
||
"get": {
|
||
"tags": [
|
||
"event"
|
||
],
|
||
"description": "测试uniApp推送",
|
||
"operationId": "EventController.测试uniApp推送",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorOrderID",
|
||
"description": "订单号",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/event/TestWebsocket": {
|
||
"get": {
|
||
"tags": [
|
||
"event"
|
||
],
|
||
"description": "测试websocket",
|
||
"operationId": "EventController.测试websocket",
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/financial/GetOrdersFinancial": {
|
||
"get": {
|
||
"tags": [
|
||
"financial"
|
||
],
|
||
"description": "查询正向订单结账信息",
|
||
"operationId": "FinancialController.查询正向订单结账信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "orderID",
|
||
"description": "订单号,如果此项不为空,忽略其它所有查询条件",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "fromDate",
|
||
"description": "开始日期(包含),格式(2006-01-02),如果订单号为空此项必须要求",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "toDate",
|
||
"description": "结束日期(包含),格式(2006-01-02),如果订单号为空此项必须要求",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorIDs",
|
||
"description": "订单所属厂商列表[1,2,3],缺省不限制",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeIDs",
|
||
"description": "京西门店ID列表[1,2,3],缺省不限制",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "statuss",
|
||
"description": "订单状态列表[1,2,3],缺省不限制",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "cities",
|
||
"description": "城市code列表[1,2,3],缺省不限制",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "offset",
|
||
"description": "结果起始序号(以0开始,缺省为0)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "pageSize",
|
||
"description": "结果页大小(缺省为50,-1表示全部)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/financial/GetStoreBills": {
|
||
"get": {
|
||
"tags": [
|
||
"financial"
|
||
],
|
||
"description": "查询门店账单",
|
||
"operationId": "FinancialController.查询门店账单",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeID",
|
||
"description": "门店ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/financial/SendFilesToStores": {
|
||
"get": {
|
||
"tags": [
|
||
"financial"
|
||
],
|
||
"description": "发送文件给门店,调用GET方法得到浏览器端参考的上传HTML实现,userfiles",
|
||
"operationId": "FinancialController.发送文件给门店",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "title",
|
||
"description": "消息标题",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "shopName",
|
||
"description": "平台菜市名称",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isAsync",
|
||
"description": "是否异步,缺省是同步",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
},
|
||
"post": {
|
||
"tags": [
|
||
"financial"
|
||
],
|
||
"description": "发送文件给门店,调用GET方法得到浏览器端参考的上传HTML实现,userfiles",
|
||
"operationId": "FinancialController.发送文件给门店",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "title",
|
||
"description": "消息标题",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "shopName",
|
||
"description": "平台菜市名称",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isAsync",
|
||
"description": "是否异步,缺省是同步",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/financial/ShowStoreLatestBill": {
|
||
"get": {
|
||
"tags": [
|
||
"financial"
|
||
],
|
||
"description": "显示门店最新账单",
|
||
"operationId": "FinancialController.显示门店最新账单",
|
||
"parameters": [
|
||
{
|
||
"in": "query",
|
||
"name": "storeID",
|
||
"description": "门店ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/foodrecipe/CreateFoodRecipe": {
|
||
"post": {
|
||
"tags": [
|
||
"foodrecipe"
|
||
],
|
||
"description": "创建菜谱",
|
||
"operationId": "FoodRecipeController.创建菜谱",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "name",
|
||
"description": "菜谱名",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "description",
|
||
"description": "菜谱描述",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "img",
|
||
"description": "图片",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "timeInMinute",
|
||
"description": "大约需要时间(分钟)",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "recipeItems",
|
||
"description": "菜谱配料",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "recipeSteps",
|
||
"description": "菜谱步骤",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "authorID",
|
||
"description": "三方用户ID",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/foodrecipe/DeleteRecipes": {
|
||
"delete": {
|
||
"tags": [
|
||
"foodrecipe"
|
||
],
|
||
"description": "删除菜谱",
|
||
"operationId": "FoodRecipeController.删除菜谱",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "recipeIDs",
|
||
"description": "菜谱ID列表",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/foodrecipe/GetRecipeDetail": {
|
||
"get": {
|
||
"tags": [
|
||
"foodrecipe"
|
||
],
|
||
"description": "得到菜谱详情",
|
||
"operationId": "FoodRecipeController.得到菜谱详情",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "recipeID",
|
||
"description": "菜谱ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/foodrecipe/GetRecommendFoodRecipes": {
|
||
"get": {
|
||
"tags": [
|
||
"foodrecipe"
|
||
],
|
||
"description": "得到我的推荐菜谱列表",
|
||
"operationId": "FoodRecipeController.得到我的推荐菜谱列表",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "keyword",
|
||
"description": "关键字",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "offset",
|
||
"description": "菜谱列表起始序号(以0开始,缺省为0)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "pageSize",
|
||
"description": "菜谱列表页大小(缺省为50,-1表示全部)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/foodrecipe/QueryFoodRecipes": {
|
||
"get": {
|
||
"tags": [
|
||
"foodrecipe"
|
||
],
|
||
"description": "查询菜谱列表",
|
||
"operationId": "FoodRecipeController.查询菜谱列表",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "keyword",
|
||
"description": "关键字",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "authorID",
|
||
"description": "创建者ID",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "skuIDs",
|
||
"description": "skuID列表",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "offset",
|
||
"description": "菜谱列表起始序号(以0开始,缺省为0)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "pageSize",
|
||
"description": "菜谱列表页大小(缺省为50,-1表示全部)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/foodrecipe/UpdateFoodRecipe": {
|
||
"put": {
|
||
"tags": [
|
||
"foodrecipe"
|
||
],
|
||
"description": "编辑菜谱",
|
||
"operationId": "FoodRecipeController.编辑菜谱",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "recipeID",
|
||
"description": "菜谱ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "name",
|
||
"description": "菜谱名",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "description",
|
||
"description": "菜谱描述",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "img",
|
||
"description": "图片",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "timeInMinute",
|
||
"description": "大约需要时间(分钟)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "recipeItems",
|
||
"description": "菜谱配料",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "recipeSteps",
|
||
"description": "菜谱步骤",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/foodrecipe/VoteFoodRecipe": {
|
||
"post": {
|
||
"tags": [
|
||
"foodrecipe"
|
||
],
|
||
"description": "对菜谱投票",
|
||
"operationId": "FoodRecipeController.对菜谱投票",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "recipeID",
|
||
"description": "菜谱ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "voteType",
|
||
"description": "-1:踩,0:取消之前的投票,1:赞",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/im/AddCustomReply": {
|
||
"post": {
|
||
"tags": [
|
||
"im"
|
||
],
|
||
"description": "增加门店自定义回复模板",
|
||
"operationId": "IMController.增加门店自定义回复模板",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "appID",
|
||
"description": "应用id",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorStoreID",
|
||
"description": "美团门店id",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "replyTemplate",
|
||
"description": "新增或修改自定义模板",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/im/GetCustomReply": {
|
||
"get": {
|
||
"tags": [
|
||
"im"
|
||
],
|
||
"description": "获取门店自定义回复模板",
|
||
"operationId": "IMController.获取门店自定义回复模板",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "appID",
|
||
"description": "应用id",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorStoreID",
|
||
"description": "美团门店id",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/im/GetElmMedia": {
|
||
"get": {
|
||
"tags": [
|
||
"im"
|
||
],
|
||
"description": "获取饿百多媒体链接",
|
||
"operationId": "IMController.获取饿百多媒体链接",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "platformShopID",
|
||
"description": "饿了么门店id",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "mediaID",
|
||
"description": "多媒体资源id",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/im/GetImChatDetail": {
|
||
"get": {
|
||
"tags": [
|
||
"im"
|
||
],
|
||
"description": "IM获取单个用户聊天详情",
|
||
"operationId": "IMController.IM获取单个用户聊天详情",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payLoad",
|
||
"description": "平台用户应用映射关系",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/im/GetImUserList": {
|
||
"get": {
|
||
"tags": [
|
||
"im"
|
||
],
|
||
"description": "IM获取门店用户聊天列表",
|
||
"operationId": "IMController.IM获取门店用户聊天列表",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payLoad",
|
||
"description": "平台应用映射关系",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/im/GetPoiIMStatus": {
|
||
"get": {
|
||
"tags": [
|
||
"im"
|
||
],
|
||
"description": "查询多平台门店IM单聊开关状态",
|
||
"operationId": "IMController.查询多平台门店IM单聊开关状态",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "data",
|
||
"description": "查询多门店im状态信息",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/im/SendToVendorV2": {
|
||
"post": {
|
||
"tags": [
|
||
"im"
|
||
],
|
||
"description": "向平台商发送信息(https方式)",
|
||
"operationId": "IMController.向平台商发送信息(https方式)",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorOrgCode",
|
||
"description": "平台ppid",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "sendData",
|
||
"description": "平台商消息结构体",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/im/SetImMsgRead": {
|
||
"post": {
|
||
"tags": [
|
||
"im"
|
||
],
|
||
"description": "IM设置门店与单个用户已读",
|
||
"operationId": "IMController.IM设置门店与单个用户已读",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "appID",
|
||
"description": "应用id",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorStoreID",
|
||
"description": "平台门店id",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorID",
|
||
"description": "平台id",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "userID",
|
||
"description": "用户id/会话id",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/im/SetPoiIMStatus": {
|
||
"post": {
|
||
"tags": [
|
||
"im"
|
||
],
|
||
"description": "设置多平台门店IM线上状态",
|
||
"operationId": "IMController.设置多平台门店IM线上状态",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "data",
|
||
"description": "设置多平台门店im状态信息",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/initdata/Change2JDSPU4Store": {
|
||
"post": {
|
||
"tags": [
|
||
"initdata"
|
||
],
|
||
"description": "将京东商店为份的SPU转换",
|
||
"operationId": "InitDataController.将京东商店为份的SPU转换",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "step",
|
||
"description": "门店列表",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeIDs",
|
||
"description": "门店列表",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步操作",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/initdata/Convert2JDSPU": {
|
||
"post": {
|
||
"tags": [
|
||
"initdata"
|
||
],
|
||
"description": "将为份的商品在京东转成SPU",
|
||
"operationId": "InitDataController.将为份的商品在京东转成SPU",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "count",
|
||
"description": "转换的数量,缺省0表示全部",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步操作",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/initdata/DeleteWrongSpu": {
|
||
"delete": {
|
||
"tags": [
|
||
"initdata"
|
||
],
|
||
"description": "删除错误创建的SPU",
|
||
"operationId": "InitDataController.删除错误创建的SPU",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步操作",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/initdata/InitPlace": {
|
||
"post": {
|
||
"tags": [
|
||
"initdata"
|
||
],
|
||
"description": "初始化place信息,要求:jde_city, jde_district, ebde_places, mtpsdeliveryprice",
|
||
"operationId": "InitDataController.初始化place信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/initdata/InitVendorCategory": {
|
||
"post": {
|
||
"tags": [
|
||
"initdata"
|
||
],
|
||
"description": "初始化vendor category",
|
||
"operationId": "InitDataController.初始化vendor category",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorID",
|
||
"description": "厂商ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步操作",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/initdata/PullJdOrder": {
|
||
"post": {
|
||
"tags": [
|
||
"initdata"
|
||
],
|
||
"description": "拉取京东订单补齐本地",
|
||
"operationId": "InitDataController.拉取京东订单补齐本地",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "fromTime",
|
||
"description": "开始时间",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "toTime",
|
||
"description": "结束时间",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步操作",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/initdata/ReProcessJdBadComment": {
|
||
"post": {
|
||
"tags": [
|
||
"initdata"
|
||
],
|
||
"description": "重新处理京东差评",
|
||
"operationId": "InitDataController.重新处理京东差评",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isForce",
|
||
"description": "是否强制处理",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步操作",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/initdata/RefreshEbaiBadComment": {
|
||
"post": {
|
||
"tags": [
|
||
"initdata"
|
||
],
|
||
"description": "重新处理京东差评",
|
||
"operationId": "InitDataController.刷新",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "fromTime",
|
||
"description": "起始时间",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "toTime",
|
||
"description": "结束时间",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步操作",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/initdata/TransformJdSpu2Sku": {
|
||
"post": {
|
||
"tags": [
|
||
"initdata"
|
||
],
|
||
"description": "将京东的SPU转为非SPU,保持转后的SKU商家自编号不变",
|
||
"operationId": "InitDataController.将京东的SPU转为非SPU,保持转后的SKU商家自编号不变",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "nameIDs",
|
||
"description": "需要转换的nameID列表,缺省空表示全部",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "count",
|
||
"description": "转换的数量,缺省0表示全部(按ID排序)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步操作",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/initdata/UploadImage4Vendors": {
|
||
"post": {
|
||
"tags": [
|
||
"initdata"
|
||
],
|
||
"description": "将资源上传到平台(当前为饿百与美团)",
|
||
"operationId": "InitDataController.将资源上传到平台(当前为饿百与美团)",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步操作",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/jxorder/AddCoupons": {
|
||
"post": {
|
||
"tags": [
|
||
"jxorder"
|
||
],
|
||
"description": "添加优惠券",
|
||
"operationId": "JxOrderController.添加优惠券",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payload",
|
||
"description": "优惠券类型 payload",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeIDs",
|
||
"description": "门店IDs",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "count",
|
||
"description": "优惠券数量,默认1",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/jxorder/AutoPayForPopluarMan": {
|
||
"post": {
|
||
"tags": [
|
||
"jxorder"
|
||
],
|
||
"description": "每日订单打款",
|
||
"operationId": "JxOrderController.每日订单打款",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/jxorder/BuyerCancelOrder": {
|
||
"post": {
|
||
"tags": [
|
||
"jxorder"
|
||
],
|
||
"description": "买家取消(或申请取消)订单",
|
||
"operationId": "JxOrderController.买家取消(或申请取消)订单",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorOrderID",
|
||
"description": "订单ID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "reason",
|
||
"description": "原因",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/jxorder/CreateBrandOrder": {
|
||
"post": {
|
||
"tags": [
|
||
"jxorder"
|
||
],
|
||
"description": "创建品牌账户订单",
|
||
"operationId": "JxOrderController.创建品牌账户订单",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "brandID",
|
||
"description": "品牌ID",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "price",
|
||
"description": "支付金额",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/jxorder/CreateOrder": {
|
||
"post": {
|
||
"tags": [
|
||
"jxorder"
|
||
],
|
||
"description": "创建京西商城订单",
|
||
"operationId": "JxOrderController.创建京西商城订单",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "jxOrder",
|
||
"description": "订单信息",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "addressID",
|
||
"description": "配送地址ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "fromStoreID",
|
||
"description": "物料配送门店",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "couponIDs",
|
||
"description": "优惠券IDs",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "createType",
|
||
"description": "创建类型, 0:预创建, 1:创建",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isDeliverySelf",
|
||
"description": "是否是自提单",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/jxorder/CreateStoreAcctOrder": {
|
||
"post": {
|
||
"tags": [
|
||
"jxorder"
|
||
],
|
||
"description": "创建门店账户订单",
|
||
"operationId": "JxOrderController.创建门店账户订单",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorOrderID",
|
||
"description": "订单ID",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "orderType",
|
||
"description": "订单类型,4为门店账户订单",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeID",
|
||
"description": "门店ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "price",
|
||
"description": "支付金额",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/jxorder/GetAvailableDeliverTime": {
|
||
"get": {
|
||
"tags": [
|
||
"jxorder"
|
||
],
|
||
"description": "得到门店营业时间配送列表",
|
||
"operationId": "JxOrderController.得到门店营业时间配送列表",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeID",
|
||
"description": "门店ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/jxorder/GetCoupons": {
|
||
"get": {
|
||
"tags": [
|
||
"jxorder"
|
||
],
|
||
"description": "查询优惠券",
|
||
"operationId": "JxOrderController.查询优惠券",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "couponType",
|
||
"description": "优惠券类型,1为商品总额满减,2为运费优惠",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "couponStatuss",
|
||
"description": "优惠券状态,0为正常可使用,-1为已过期, -2为还没开始",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeIDs",
|
||
"description": "门店IDs",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "keyword",
|
||
"description": "关键字",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/jxorder/GetMatterOrderStatus": {
|
||
"get": {
|
||
"tags": [
|
||
"jxorder"
|
||
],
|
||
"description": "查询物料订单状态",
|
||
"operationId": "JxOrderController.查询物料订单状态",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorOrderID",
|
||
"description": "订单ID",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/jxorder/GetMyAfsOrders": {
|
||
"get": {
|
||
"tags": [
|
||
"jxorder"
|
||
],
|
||
"description": "查询自己的售后单",
|
||
"operationId": "JxOrderController.查询自己的售后单",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorOrderID",
|
||
"description": "订单号,如果此项不为空,忽略其它所有查询条件",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "afsOrderID",
|
||
"description": "售后单号",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "userID",
|
||
"description": "用户ID",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "fromTime",
|
||
"description": "开始日期(包含),格式(2006-01-02),如果订单号为空此项必须要求",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "toTime",
|
||
"description": "结束日期(包含),格式(2006-01-02),如果订单号为空此项必须要求",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "offset",
|
||
"description": "结果起始序号(以0开始,缺省为0)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "pageSize",
|
||
"description": "结果页大小(缺省为50,-1表示全部)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/jxorder/GetMyOrderCountInfo": {
|
||
"get": {
|
||
"tags": [
|
||
"jxorder"
|
||
],
|
||
"description": "查询自己的订单状态数量信息",
|
||
"operationId": "JxOrderController.查询自己的订单状态数量信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "fromDate",
|
||
"description": "开始日期(包含),格式(2006-01-02),如果订单号为空此项必须要求",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "toDate",
|
||
"description": "结束日期(包含),格式(2006-01-02),如果订单号为空此项必须要求",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "statuss",
|
||
"description": "订单状态列表[1,2,3],缺省不限制",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/jxorder/GetMyOrders": {
|
||
"get": {
|
||
"tags": [
|
||
"jxorder"
|
||
],
|
||
"description": "查询自己的订单",
|
||
"operationId": "JxOrderController.查询自己的订单",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorOrderID",
|
||
"description": "订单号,如果此项不为空,忽略其它所有查询条件",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "keyword",
|
||
"description": "查询关键字",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "fromDate",
|
||
"description": "开始日期(包含),格式(2006-01-02),如果订单号为空此项必须要求",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "toDate",
|
||
"description": "结束日期(包含),格式(2006-01-02),如果订单号为空此项必须要求",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "statuss",
|
||
"description": "订单状态列表[1,2,3],缺省不限制",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "offset",
|
||
"description": "结果起始序号(以0开始,缺省为0)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "pageSize",
|
||
"description": "结果页大小(缺省为50,-1表示全部)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/jxorder/GetMyPriceDefendOrders": {
|
||
"get": {
|
||
"tags": [
|
||
"jxorder"
|
||
],
|
||
"description": "得到自己的守价订单列表",
|
||
"operationId": "JxOrderController.得到自己的守价订单列表",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "fromTime",
|
||
"description": "开始日期(包含),格式(2006-01-02 00:00:00)",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "toTime",
|
||
"description": "结束日期(包含),格式(2006-01-02 00:00:00)",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/jxorder/GetOrderPay": {
|
||
"get": {
|
||
"tags": [
|
||
"jxorder"
|
||
],
|
||
"description": "得到一个订单的支付信息",
|
||
"operationId": "JxOrderController.得到一个订单的支付信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorOrderID",
|
||
"description": "订单号,如果此项不为空,忽略其它所有查询条件",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/jxorder/GetSupplySupportStoreSkus": {
|
||
"get": {
|
||
"tags": [
|
||
"jxorder"
|
||
],
|
||
"description": "根据时间获取进货辅助工具里的商品,用于加入购物车",
|
||
"operationId": "JxOrderController.根据时间获取进货辅助工具里的商品,用于加入购物车",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "fromDate",
|
||
"description": "开始日期(包含),格式(2006-01-02),如果订单号为空此项必须要求",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "toDate",
|
||
"description": "结束日期(包含),格式(2006-01-02),如果订单号为空此项必须要求",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "fromStoreID",
|
||
"description": "进货门店ID",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeID",
|
||
"description": "货源门店ID",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "percentage",
|
||
"description": "销量比例,1,1.05,1.1",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/jxorder/Pay4Order": {
|
||
"post": {
|
||
"tags": [
|
||
"jxorder"
|
||
],
|
||
"description": "请求支付京西商城订单",
|
||
"operationId": "JxOrderController.请求支付京西商城订单",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "subAppID",
|
||
"description": "appID",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorOrderID",
|
||
"description": "订单ID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payType",
|
||
"description": "支付类型",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorPayType",
|
||
"description": "平台支付类型",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/jxorder/Pay4OrderByBarCodeScanner": {
|
||
"post": {
|
||
"tags": [
|
||
"jxorder"
|
||
],
|
||
"description": "京西门店订单扫码枪扫码支付",
|
||
"operationId": "JxOrderController.京西门店订单扫码枪扫码支付",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorOrderID",
|
||
"description": "订单ID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "paymentLabel",
|
||
"description": "支付身份标示",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payType",
|
||
"description": "扫码方式[tonglian/lakala]",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/jxorder/Pay4StoreMyselfDeliverOrder": {
|
||
"post": {
|
||
"tags": [
|
||
"jxorder"
|
||
],
|
||
"description": "请求支付京西商城订单,门店自提订单",
|
||
"operationId": "JxOrderController.请求支付京西商城订单,门店自提订单",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "subAppID",
|
||
"description": "appID",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payType",
|
||
"description": "支付类型",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorPayType",
|
||
"description": "平台支付类型",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payMoney",
|
||
"description": "自提支付金额",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeId",
|
||
"description": "提货门店id",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/jxorder/Pay4User": {
|
||
"post": {
|
||
"tags": [
|
||
"jxorder"
|
||
],
|
||
"description": "请求支付京西商城相关用户支付项目",
|
||
"operationId": "JxOrderController.请求支付京西商城相关用户支付项目",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "thingID",
|
||
"description": "项目ID",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "subAppID",
|
||
"description": "appID",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorOrderID",
|
||
"description": "订单ID",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payType",
|
||
"description": "支付类型",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorPayType",
|
||
"description": "平台支付类型",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "code",
|
||
"description": "app吊起微信支付时,需要code获取openID",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/jxorder/PayForPopluarMan": {
|
||
"post": {
|
||
"tags": [
|
||
"jxorder"
|
||
],
|
||
"description": "订单打款",
|
||
"operationId": "JxOrderController.订单打款",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorOrderID",
|
||
"description": "订单ID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "userID",
|
||
"description": "userID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "price",
|
||
"description": "钱",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/jxorder/QueryBarCodeRefundStatus": {
|
||
"get": {
|
||
"tags": [
|
||
"jxorder"
|
||
],
|
||
"description": "扫码订单刷新售后信息",
|
||
"operationId": "JxOrderController.扫码订单刷新售后信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "afsOrderId",
|
||
"description": "售后订单id",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payType",
|
||
"description": "扫码方式[tl/lkl]",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/jxorder/ReceiveCoupons": {
|
||
"post": {
|
||
"tags": [
|
||
"jxorder"
|
||
],
|
||
"description": "领取优惠券",
|
||
"operationId": "JxOrderController.领取优惠券",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "couponID",
|
||
"description": "券ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/jxorder/RefreshAllMatterOrderStatus": {
|
||
"put": {
|
||
"tags": [
|
||
"jxorder"
|
||
],
|
||
"description": "刷新所有物料订单状态",
|
||
"operationId": "JxOrderController.刷新所有物料订单状态",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/jxorder/RefreshPayStatus": {
|
||
"post": {
|
||
"tags": [
|
||
"jxorder"
|
||
],
|
||
"description": "手动刷新扫码枪扫码支付订单状态",
|
||
"operationId": "JxOrderController.手动刷新扫码枪扫码支付订单状态",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorOrderID",
|
||
"description": "订单ID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payType",
|
||
"description": "扫码方式[tl/lkl]",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/jxorder/RefundOnlineOrder": {
|
||
"post": {
|
||
"tags": [
|
||
"jxorder"
|
||
],
|
||
"description": "到店扫码支付订单退款",
|
||
"operationId": "JxOrderController.到店扫码支付订单退款",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorOrderID",
|
||
"description": "订单ID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "skuIds",
|
||
"description": "[key:value]退款商品 skuId:count,int",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "Reason",
|
||
"description": "退单原因",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payType",
|
||
"description": "扫码方式[tl/lkl]",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/jxorder/SendFailedMatterOrder": {
|
||
"post": {
|
||
"tags": [
|
||
"jxorder"
|
||
],
|
||
"description": "重发物料订单",
|
||
"operationId": "JxOrderController.重发物料订单",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorOrderID",
|
||
"description": "订单ID",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/jxorder/TerminalQuery": {
|
||
"post": {
|
||
"tags": [
|
||
"jxorder"
|
||
],
|
||
"description": "查询门店扫码枪设备状态",
|
||
"operationId": "JxOrderController.查询门店扫码枪设备状态",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeId",
|
||
"description": "京西门店ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/jxorder/TerminalRegister": {
|
||
"post": {
|
||
"tags": [
|
||
"jxorder"
|
||
],
|
||
"description": "注册和注销门店扫码枪设备",
|
||
"operationId": "JxOrderController.注册和注销门店扫码枪设备",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeId",
|
||
"description": "京西门店ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "operation",
|
||
"description": "当前操作00-新增,02-注销",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/jxorder/TestDefend": {
|
||
"get": {
|
||
"tags": [
|
||
"jxorder"
|
||
],
|
||
"description": "测试立马生成守价订单",
|
||
"operationId": "JxOrderController.测试立马生成守价订单",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/jxorder/UpdateCoupons": {
|
||
"post": {
|
||
"tags": [
|
||
"jxorder"
|
||
],
|
||
"description": "修改优惠券",
|
||
"operationId": "JxOrderController.修改优惠券",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payload",
|
||
"description": "优惠券类型 payload",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeIDs",
|
||
"description": "门店IDs",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isDel",
|
||
"description": "是否是删除",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/jxshop/JxMsg": {
|
||
"post": {
|
||
"tags": [
|
||
"jxshop"
|
||
],
|
||
"description": "京西自营商城消息回调接口",
|
||
"operationId": "JxShopController.京西自营商城消息回调接口",
|
||
"parameters": [
|
||
{
|
||
"in": "formData",
|
||
"name": "appKey",
|
||
"description": "AppKey",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "msgType",
|
||
"description": "消息类型",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "subMsgType",
|
||
"description": "子消息类型",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "thingID",
|
||
"description": "消息对应的事物ID",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "data",
|
||
"description": "详细",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/know/AddKnowledgeDepot": {
|
||
"post": {
|
||
"tags": [
|
||
"know"
|
||
],
|
||
"description": "添加知识条目",
|
||
"operationId": "KnowController.添加知识条目",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "title",
|
||
"description": "标题",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "content",
|
||
"description": "内容",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/know/AddMaterial": {
|
||
"post": {
|
||
"tags": [
|
||
"know"
|
||
],
|
||
"description": "添加素材",
|
||
"operationId": "KnowController.添加素材",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "knowIDs",
|
||
"description": "知识条目IDs",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "title",
|
||
"description": "素材标题",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "digest",
|
||
"description": "素材摘要",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "author",
|
||
"description": "作者",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "thumbMediaID",
|
||
"description": "封面缩略图ID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "showCoverPic",
|
||
"description": "内容中是否显示封面,0不显示,1显示",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "needOpenComment",
|
||
"description": "是否打开评论,0不打开,1打开",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "onlyFansCanComment",
|
||
"description": "是否只允许粉丝才能评论",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/know/GetKnowledgeDepot": {
|
||
"get": {
|
||
"tags": [
|
||
"know"
|
||
],
|
||
"description": "查询知识条目",
|
||
"operationId": "KnowController.查询知识条目",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "keyword",
|
||
"description": "关键字",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "offset",
|
||
"description": "门店列表起始序号(以0开始,缺省为0)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "pageSize",
|
||
"description": "门店列表页大小(缺省为50,-1表示全部)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/know/GetMaterialList": {
|
||
"get": {
|
||
"tags": [
|
||
"know"
|
||
],
|
||
"description": "查询素材列表",
|
||
"operationId": "KnowController.查询素材列表",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "offset",
|
||
"description": "门店列表起始序号(以0开始,缺省为0)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "pageSize",
|
||
"description": "门店列表页大小(缺省为50,-1表示全部)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/know/SNSUploadImg": {
|
||
"post": {
|
||
"tags": [
|
||
"know"
|
||
],
|
||
"description": "公众号上传图片",
|
||
"operationId": "KnowController.公众号上传图片",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isThumb",
|
||
"description": "是否是缩略图",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/know/SendSNSMediaMsg": {
|
||
"post": {
|
||
"tags": [
|
||
"know"
|
||
],
|
||
"description": "发送消息",
|
||
"operationId": "KnowController.发送消息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeIDs",
|
||
"description": "门店IDs",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "mediaID",
|
||
"description": "素材ID",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/know/UpdateKnowledgeDepot": {
|
||
"post": {
|
||
"tags": [
|
||
"know"
|
||
],
|
||
"description": "更新知识条目",
|
||
"operationId": "KnowController.更新知识条目",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "id",
|
||
"description": "id",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "content",
|
||
"description": "内容",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isDel",
|
||
"description": "是否是删除",
|
||
"required": true,
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/lakala/AccountStatusQuery": {
|
||
"get": {
|
||
"tags": [
|
||
"lakala"
|
||
],
|
||
"description": "开户状态查询",
|
||
"operationId": "LaKaLaController.开户状态查询",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "tradeMode",
|
||
"description": "支付类型交易钱包类型[ALIPAY,WECHAT]",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "subMerchantId",
|
||
"description": "子商户号",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "merchantNo",
|
||
"description": "商户号",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/lakala/ApplyBind": {
|
||
"post": {
|
||
"tags": [
|
||
"lakala"
|
||
],
|
||
"description": "分账关系申请绑定",
|
||
"operationId": "LaKaLaController.分账关系申请绑定",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payload",
|
||
"description": "json数据,lakala.SeparateApplyBindReq 对象",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/lakala/CheckIsUploadPhoto": {
|
||
"get": {
|
||
"tags": [
|
||
"lakala"
|
||
],
|
||
"description": "检查门店是否需要补充照片",
|
||
"operationId": "LaKaLaController.检查门店是否需要补充照片",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "customerNo",
|
||
"description": "商户ID",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/lakala/CloseOrder": {
|
||
"get": {
|
||
"tags": [
|
||
"lakala"
|
||
],
|
||
"description": "关闭支付订单",
|
||
"operationId": "LaKaLaController.关闭支付订单",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "merchantNo",
|
||
"description": "商户号",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorOrderId",
|
||
"description": "订单号",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorId",
|
||
"description": "平台id",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/lakala/CloseOrderByMini": {
|
||
"post": {
|
||
"tags": [
|
||
"lakala"
|
||
],
|
||
"description": "聚合支付关单",
|
||
"operationId": "LaKaLaController.聚合支付关单",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "merCupNo",
|
||
"description": "银联商户号",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "termNo",
|
||
"description": "设备号",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "orderNo",
|
||
"description": "订单号",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/lakala/CreateOrder": {
|
||
"get": {
|
||
"tags": [
|
||
"lakala"
|
||
],
|
||
"description": "创建拉卡拉支付订单",
|
||
"operationId": "LaKaLaController.创建拉卡拉支付订单",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "merchantNo",
|
||
"description": "商户号",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorOrderId",
|
||
"description": "订单号",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorId",
|
||
"description": "平台id",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "callbackUrl",
|
||
"description": "支付后打开地址",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/lakala/CreateSeparate": {
|
||
"post": {
|
||
"tags": [
|
||
"lakala"
|
||
],
|
||
"description": "创建分账账户",
|
||
"operationId": "LaKaLaController.创建分账账户",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payload",
|
||
"description": "json数据,lakala.CreateSeparateReq 对象",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/lakala/CreateSeparateRecipient": {
|
||
"post": {
|
||
"tags": [
|
||
"lakala"
|
||
],
|
||
"description": "创建分账接收方",
|
||
"operationId": "LaKaLaController.创建分账接收方",
|
||
"parameters": [
|
||
{
|
||
"in": "formData",
|
||
"name": "payload",
|
||
"description": "json数据,lakala.CreateSeparateRecipientReq 对象",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/lakala/CustomerFeeChange": {
|
||
"post": {
|
||
"tags": [
|
||
"lakala"
|
||
],
|
||
"description": "商户费率信息变更",
|
||
"operationId": "LaKaLaController.商户费率信息变更",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "customerNo",
|
||
"description": "商户ID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payload",
|
||
"description": "json数据,lakala.FeeChangeReq 对象",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/lakala/CustomerSettleFee": {
|
||
"post": {
|
||
"tags": [
|
||
"lakala"
|
||
],
|
||
"description": "当payload为空时视为查询,不为空则是变更信息",
|
||
"operationId": "LaKaLaController.商户结算信息已经变更接口",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "customerNo",
|
||
"description": "商户ID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payload",
|
||
"description": "json数据,lakala.UpdateSettleInfoReq 对象",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/lakala/EwalletSettleQuery": {
|
||
"get": {
|
||
"tags": [
|
||
"lakala"
|
||
],
|
||
"description": "提款模式查询",
|
||
"operationId": "LaKaLaController.提款模式查询",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "merchantNo",
|
||
"description": "商户号",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "orgNo",
|
||
"description": "bmcp机构号",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/lakala/EwalletWithdrawD1": {
|
||
"get": {
|
||
"tags": [
|
||
"lakala"
|
||
],
|
||
"description": "账户金额提现",
|
||
"operationId": "LaKaLaController.账户金额提现",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "merchantNo",
|
||
"description": "商户号",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "orgNo",
|
||
"description": "bmcp机构号",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "payType",
|
||
"description": "平台id",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "drawAmt",
|
||
"description": "提现金额(元)",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/lakala/EwalletWithdrawQuery": {
|
||
"get": {
|
||
"tags": [
|
||
"lakala"
|
||
],
|
||
"description": "提现结果查询",
|
||
"operationId": "LaKaLaController.提现结果查询",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "merchantNo",
|
||
"description": "商户号",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "orgNo",
|
||
"description": "bmcp机构号",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "drawJnl",
|
||
"description": "提现流水号",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/lakala/GetCardBin": {
|
||
"get": {
|
||
"tags": [
|
||
"lakala"
|
||
],
|
||
"description": "卡BIN查询",
|
||
"operationId": "LaKaLaController.卡BIN查询",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "orgCode",
|
||
"description": "机构号",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "cardNo",
|
||
"description": "卡号",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/lakala/GetMerchant": {
|
||
"get": {
|
||
"tags": [
|
||
"lakala"
|
||
],
|
||
"description": "获取进件商户详情",
|
||
"operationId": "LaKaLaController.获取进件商户详情",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "merchantNo",
|
||
"description": "商户号",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/lakala/GetMerchantReportStatus": {
|
||
"get": {
|
||
"tags": [
|
||
"lakala"
|
||
],
|
||
"description": "查看银联报备状态",
|
||
"operationId": "LaKaLaController.查看银联报备状态",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "customerNo",
|
||
"description": "商户ID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "agentNo",
|
||
"description": "代理商编号",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "orgCode",
|
||
"description": "机构号",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/lakala/GetMerchantTerminal": {
|
||
"get": {
|
||
"tags": [
|
||
"lakala"
|
||
],
|
||
"description": "获取终端报备信息",
|
||
"operationId": "LaKaLaController.获取终端报备信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "agentNo",
|
||
"description": "代理商编号",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "orgCode",
|
||
"description": "机构号",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "customerNo",
|
||
"description": "商户ID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "posSn",
|
||
"description": "机具序列号",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/lakala/GetPosTerminalInfo": {
|
||
"get": {
|
||
"tags": [
|
||
"lakala"
|
||
],
|
||
"description": "获取终端详情",
|
||
"operationId": "LaKaLaController.获取终端详情",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "posSN",
|
||
"description": "机具号",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/lakala/GetRecipient": {
|
||
"get": {
|
||
"tags": [
|
||
"lakala"
|
||
],
|
||
"description": "分账账户查询",
|
||
"operationId": "LaKaLaController.分账账户查询",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "OrgCode",
|
||
"description": "申请机构代码",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "ReceiverNo",
|
||
"description": "接收方编号",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "ReceiverName",
|
||
"description": "接收方名称",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "offset",
|
||
"description": "列表起始序号(以0开始,缺省为0)",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "pageSize",
|
||
"description": "列表页大小(缺省为50,-1表示全部)",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/lakala/GetSeparateAmt": {
|
||
"get": {
|
||
"tags": [
|
||
"lakala"
|
||
],
|
||
"description": "分账记录查询",
|
||
"operationId": "LaKaLaController.分账记录查询",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "merchantNo",
|
||
"description": "商户号",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "cmdType",
|
||
"description": "流水类型[SEPARATE:分账 CANCEL:分账撤销FALLBACK:分账回退]",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "status",
|
||
"description": "分账状态",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "separateNo",
|
||
"description": "分账流水号",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "separateTimeStart",
|
||
"description": "开始交易时间[yyyy-mm-dd hh:mm:ss]",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "separateTimeEnd",
|
||
"description": "结束交易时间[yyyy-mm-dd hh:mm:ss]",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorOrderId",
|
||
"description": "订单ID",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeId",
|
||
"description": "门店ID",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "offset",
|
||
"description": "列表起始序号(以0开始,缺省为0)",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "pageSize",
|
||
"description": "列表页大小(缺省为50,-1表示全部)",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/lakala/ImgSupplement": {
|
||
"post": {
|
||
"tags": [
|
||
"lakala"
|
||
],
|
||
"description": "补充门店照片",
|
||
"operationId": "LaKaLaController.补充门店照片",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payload",
|
||
"description": "json数据,lakala.ImgSupplementReq 对象",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/lakala/LaKaLaApplyContract": {
|
||
"post": {
|
||
"tags": [
|
||
"lakala"
|
||
],
|
||
"description": "拉卡拉商户合同申请",
|
||
"operationId": "LaKaLaController.拉卡拉商户合同申请",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payload",
|
||
"description": "json数据,lakala.ApplyContractParam 对象",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeID",
|
||
"description": "门店ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/lakala/LaKaLaApplyContractByPeople": {
|
||
"post": {
|
||
"tags": [
|
||
"lakala"
|
||
],
|
||
"description": "拉卡拉商户合同申请,人工审核",
|
||
"operationId": "LaKaLaController.拉卡拉商户合同申请,人工审核",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payload",
|
||
"description": "json数据,lakala.ApplyContractByPeople 对象",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeID",
|
||
"description": "门店ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/lakala/MerchantIncoming": {
|
||
"post": {
|
||
"tags": [
|
||
"lakala"
|
||
],
|
||
"description": "创建拉卡拉商户",
|
||
"operationId": "LaKaLaController.创建拉卡拉商户",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payload",
|
||
"description": "json数据,lakala.MerchantIncomingReq 对象",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeID",
|
||
"description": "门店ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/lakala/QueryApplyContractList": {
|
||
"get": {
|
||
"tags": [
|
||
"lakala"
|
||
],
|
||
"description": "门店合同申请记录查询",
|
||
"operationId": "LaKaLaController.门店合同申请记录查询",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeId",
|
||
"description": "门店ID",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "orderNo",
|
||
"description": "京西订单ID",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "offset",
|
||
"description": "列表起始序号(以0开始,缺省为0)",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "pageSize",
|
||
"description": "列表页大小(缺省为50,-1表示全部)",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/lakala/QueryAuthentication": {
|
||
"post": {
|
||
"tags": [
|
||
"lakala"
|
||
],
|
||
"description": "认证状态查询",
|
||
"operationId": "LaKaLaController.认证状态查询",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payload",
|
||
"description": "json数据,lakala.QueryAuthentication 对象",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "authType",
|
||
"description": "支付类型[支付宝传:ZFBZF(其他类型不传)]",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/lakala/QueryBankList": {
|
||
"get": {
|
||
"tags": [
|
||
"lakala"
|
||
],
|
||
"description": "获取拉卡拉城市银行列表",
|
||
"operationId": "LaKaLaController.获取拉卡拉城市银行列表",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "areaCode",
|
||
"description": "城市code",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "bankName",
|
||
"description": "银行名称",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/lakala/QueryBillBalance": {
|
||
"get": {
|
||
"tags": [
|
||
"lakala"
|
||
],
|
||
"description": "账户余额查询",
|
||
"operationId": "LaKaLaController.账户余额查询",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "merchantNo",
|
||
"description": "商户号",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "orgNo",
|
||
"description": "bmcp机构号",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "payType",
|
||
"description": "平台id",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/lakala/QueryCityCode": {
|
||
"get": {
|
||
"tags": [
|
||
"lakala"
|
||
],
|
||
"description": "获取拉卡拉城市code",
|
||
"operationId": "LaKaLaController.获取拉卡拉城市code",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "parentCode",
|
||
"description": "城市code,1获取全部城市code",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/lakala/QueryCustomerCategory": {
|
||
"get": {
|
||
"tags": [
|
||
"lakala"
|
||
],
|
||
"description": "获取商户类别",
|
||
"operationId": "LaKaLaController.获取商户类别",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "businessScene",
|
||
"description": "B2B收银台和逸码通产品传1,其他传2",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "parentCode",
|
||
"description": "小类分类ID",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/lakala/QueryCustomerFee": {
|
||
"get": {
|
||
"tags": [
|
||
"lakala"
|
||
],
|
||
"description": "商户费率查询",
|
||
"operationId": "LaKaLaController.商户费率查询",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "customerNo",
|
||
"description": "商户ID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "productCode",
|
||
"description": "产品类型",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/lakala/QueryElectronicContract": {
|
||
"post": {
|
||
"tags": [
|
||
"lakala"
|
||
],
|
||
"description": "合同申请状态查询",
|
||
"operationId": "LaKaLaController.合同申请状态查询",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeID",
|
||
"description": "门店ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "orderNo",
|
||
"description": "订单编号",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "orgId",
|
||
"description": "组织ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "ecApplyId",
|
||
"description": "申请ID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "queryType",
|
||
"description": "查询类型[1-人工审核查询/2-电子合同申请查询]",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/lakala/QueryExamine": {
|
||
"get": {
|
||
"tags": [
|
||
"lakala"
|
||
],
|
||
"description": "查询变更事件审核状态",
|
||
"operationId": "LaKaLaController.查询变更事件审核状态",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "customerNo",
|
||
"description": "商户ID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "reviewRelatedId",
|
||
"description": "变更事件ID",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/lakala/QueryIncoming": {
|
||
"get": {
|
||
"tags": [
|
||
"lakala"
|
||
],
|
||
"description": "进件查询",
|
||
"operationId": "LaKaLaController.进件查询",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "merchantNo",
|
||
"description": "商户号",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeID",
|
||
"description": "门店ID",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "offset",
|
||
"description": "列表起始序号(以0开始,缺省为0)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "pageSize",
|
||
"description": "列表页大小(缺省为50,-1表示全部)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/lakala/QueryOrder": {
|
||
"get": {
|
||
"tags": [
|
||
"lakala"
|
||
],
|
||
"description": "收银台订单查询",
|
||
"operationId": "LaKaLaController.收银台订单查询",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "merchantNo",
|
||
"description": "商户号",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorOrderId",
|
||
"description": "订单号",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorId",
|
||
"description": "平台id",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/lakala/QuerySeparateRecipient": {
|
||
"get": {
|
||
"tags": [
|
||
"lakala"
|
||
],
|
||
"description": "分账商户查询",
|
||
"operationId": "LaKaLaController.分账商户查询",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "receiverNo",
|
||
"description": "商户号",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "orgCode",
|
||
"description": "机构代码",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/lakala/QuerySubMerInfo": {
|
||
"get": {
|
||
"tags": [
|
||
"lakala"
|
||
],
|
||
"description": "商户报备查询",
|
||
"operationId": "LaKaLaController.商户报备查询",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "merCupNo",
|
||
"description": "银联商户号(二选一填写)",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "merInnerNo",
|
||
"description": "内部商户号(二选一填写)",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/lakala/SaveAuthentication": {
|
||
"post": {
|
||
"tags": [
|
||
"lakala"
|
||
],
|
||
"description": "微信支付宝认证",
|
||
"operationId": "LaKaLaController.微信支付宝认证",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payload",
|
||
"description": "json数据,lakala.AuthenticationInfo 对象",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "authType",
|
||
"description": "支付类型[支付宝传:ZFBZF(其他类型不传)]",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/lakala/SeparateAmt": {
|
||
"post": {
|
||
"tags": [
|
||
"lakala"
|
||
],
|
||
"description": "分账",
|
||
"operationId": "LaKaLaController.分账",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payload",
|
||
"description": "json数据,lakala.OrderSeparateReq 对象",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorOrderId",
|
||
"description": "京西订单号",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/lakala/SeparateCancel": {
|
||
"get": {
|
||
"tags": [
|
||
"lakala"
|
||
],
|
||
"description": "分账撤销",
|
||
"operationId": "LaKaLaController.分账撤销",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "merchantNo",
|
||
"description": "商户号",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "separateNo",
|
||
"description": "拉卡拉分账指令流水号",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/lakala/SeparateFallBack": {
|
||
"get": {
|
||
"tags": [
|
||
"lakala"
|
||
],
|
||
"description": "分账退回",
|
||
"operationId": "LaKaLaController.分账退回",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "merchantNo",
|
||
"description": "商户号",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "separateNo",
|
||
"description": "拉卡拉分账指令流水号",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "reason",
|
||
"description": "退回原因",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/lakala/SeparateModify": {
|
||
"post": {
|
||
"tags": [
|
||
"lakala"
|
||
],
|
||
"description": "变更分账账户",
|
||
"operationId": "LaKaLaController.变更分账账户",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payload",
|
||
"description": "json数据,lakala.SeparateModifyReq 对象",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/lakala/SeparateQuery": {
|
||
"get": {
|
||
"tags": [
|
||
"lakala"
|
||
],
|
||
"description": "分账商户查询",
|
||
"operationId": "LaKaLaController.分账商户查询",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "merInnerNo",
|
||
"description": "商户号",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "orgCode",
|
||
"description": "机构代码",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/lakala/SeparateQueryAmt": {
|
||
"get": {
|
||
"tags": [
|
||
"lakala"
|
||
],
|
||
"description": "可分账金额查询",
|
||
"operationId": "LaKaLaController.可分账金额查询",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "merchantNo",
|
||
"description": "商户号",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "logDate",
|
||
"description": "拉卡拉对账单交易日期[yyyyMMdd]",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "logNo",
|
||
"description": "交易流水号",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorOrderId",
|
||
"description": "京西订单号",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/lakala/SeparateResultQuery": {
|
||
"get": {
|
||
"tags": [
|
||
"lakala"
|
||
],
|
||
"description": "分账结果查询",
|
||
"operationId": "LaKaLaController.分账结果查询",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "merchantNo",
|
||
"description": "商户号",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "separateNo",
|
||
"description": "拉卡拉分账指令流水号",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/lakala/SeparateUnBind": {
|
||
"post": {
|
||
"tags": [
|
||
"lakala"
|
||
],
|
||
"description": "分账关系申请解绑",
|
||
"operationId": "LaKaLaController.分账关系申请解绑",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payload",
|
||
"description": "json数据,lakala.SeparateUnBindReq 对象",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/lakala/SettleDrawPattern": {
|
||
"post": {
|
||
"tags": [
|
||
"lakala"
|
||
],
|
||
"description": "提款模式设置",
|
||
"operationId": "LaKaLaController.提款模式设置",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payload",
|
||
"description": "json数据,lakala.SettleDrawPatternReq 对象",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/lakala/SupplementBusinessLicense": {
|
||
"post": {
|
||
"tags": [
|
||
"lakala"
|
||
],
|
||
"description": "营业执照变更",
|
||
"operationId": "LaKaLaController.营业执照变更",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payload",
|
||
"description": "json数据,lakala.BusinessLicenseReq 对象",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/lakala/UnionPayMerInfo": {
|
||
"get": {
|
||
"tags": [
|
||
"lakala"
|
||
],
|
||
"description": "联防机制查询(失信人)",
|
||
"operationId": "LaKaLaController.联防机制查询(失信人)",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "larName",
|
||
"description": "身份证名称",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "larIdCard",
|
||
"description": "身份证ID",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/lakala/UpdateAuthentication": {
|
||
"post": {
|
||
"tags": [
|
||
"lakala"
|
||
],
|
||
"description": "微信支付宝修改认证",
|
||
"operationId": "LaKaLaController.微信支付宝修改认证",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payload",
|
||
"description": "json数据,lakala.AuthenticationInfo 对象",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "authType",
|
||
"description": "支付类型[支付宝传:ZFBZF(其他类型不传)]",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/lakala/UpdateBasicInfo": {
|
||
"post": {
|
||
"tags": [
|
||
"lakala"
|
||
],
|
||
"description": "商户基本信息变更",
|
||
"operationId": "LaKaLaController.商户基本信息变更",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "customerNo",
|
||
"description": "商户ID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payload",
|
||
"description": "json数据,lakala.UpdateBaseInfoReq 对象",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/lakala/UpdateSeparateRecipient": {
|
||
"post": {
|
||
"tags": [
|
||
"lakala"
|
||
],
|
||
"description": "修改分账接收方",
|
||
"operationId": "LaKaLaController.修改分账接收方",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payload",
|
||
"description": "json数据,lakala.UpdateSeparateRecipientReq 对象",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/lakala/UploadAttachmentImg": {
|
||
"post": {
|
||
"tags": [
|
||
"lakala"
|
||
],
|
||
"description": "图片上传",
|
||
"operationId": "LaKaLaController.图片上传",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "orgCode",
|
||
"description": "机构代码",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "attType",
|
||
"description": "附件类型",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "attExtName",
|
||
"description": "附件扩展名称",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "attContext",
|
||
"description": "附件内容\t",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/lakala/UploadImg": {
|
||
"post": {
|
||
"tags": [
|
||
"lakala"
|
||
],
|
||
"description": "图片上传",
|
||
"operationId": "LaKaLaController.图片上传",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "file",
|
||
"description": "url",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "imgType",
|
||
"description": "图片类型",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "sourcechnl",
|
||
"description": "来源",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/lakala/WithdrawalList": {
|
||
"get": {
|
||
"tags": [
|
||
"lakala"
|
||
],
|
||
"description": "提现流水查询",
|
||
"operationId": "LaKaLaController.提现流水查询",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "merchantNo",
|
||
"description": "商户号",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "drawJnl",
|
||
"description": "订单号",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "acctName",
|
||
"description": "账户名",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "startTime",
|
||
"description": "开始交易时间[yyyy-mm-dd hh:mm:ss]",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "endTime",
|
||
"description": "结束交易时间[yyyy-mm-dd hh:mm:ss]",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "separateNo",
|
||
"description": "分账流水号",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "offset",
|
||
"description": "列表起始序号(以0开始,缺省为0)",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "pageSize",
|
||
"description": "列表页大小(缺省为50,-1表示全部)",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/msg/GetStoreMessageStatuses": {
|
||
"get": {
|
||
"tags": [
|
||
"msg"
|
||
],
|
||
"description": "得到发送的微信消息状态列表",
|
||
"operationId": "MsgController.得到发送的微信消息状态列表",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "keyword",
|
||
"description": "查询关键字(可以为空,为空表示不限制)",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "msgIDs",
|
||
"description": "msg IDs列表",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeIDs",
|
||
"description": "门店 ID列表",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "fromTime",
|
||
"description": "创建起始时间",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "toTime",
|
||
"description": "创建结束时间",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "confirmStatuss",
|
||
"description": "确认状态,0表示没点,1表示确认,-1表示拒绝",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "fromReadCount",
|
||
"description": "已读次数开始",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "toReadCount",
|
||
"description": "已读次数结束",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "offset",
|
||
"description": "消息状态列表起始序号(以0开始,缺省为0)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "pageSize",
|
||
"description": "消息状态列表页大小(缺省为50,-1表示全部)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/msg/GetStoreMessages": {
|
||
"get": {
|
||
"tags": [
|
||
"msg"
|
||
],
|
||
"description": "得到发送的微信消息列表",
|
||
"operationId": "MsgController.得到发送的微信消息列表",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "keyword",
|
||
"description": "查询关键字(可以为空,为空表示不限制)",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "msgIDs",
|
||
"description": "msg IDs列表",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeIDs",
|
||
"description": "门店 ID列表",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "types",
|
||
"description": "类型列表,当前只有一个类型,写死[1]",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "fromTime",
|
||
"description": "创建起始时间",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "toTime",
|
||
"description": "创建结束时间",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "offset",
|
||
"description": "门店列表起始序号(以0开始,缺省为0)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "pageSize",
|
||
"description": "门店列表页大小(缺省为50,-1表示全部)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/msg/ReadStoreMessage": {
|
||
"put": {
|
||
"tags": [
|
||
"msg"
|
||
],
|
||
"description": "门店读微信消息(此API是自动调用的)",
|
||
"operationId": "MsgController.门店读微信消息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "msgID",
|
||
"description": "消息ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "msgStatusID",
|
||
"description": "消息状态ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "redirectURL",
|
||
"description": "重定向URL",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/msg/SendStoreMessage": {
|
||
"post": {
|
||
"tags": [
|
||
"msg"
|
||
],
|
||
"description": "发送微信消息",
|
||
"operationId": "MsgController.发送微信消息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeIDs",
|
||
"description": "门店 ID列表",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "title",
|
||
"description": "消息标题",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "content",
|
||
"description": "消息内容",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "messageType",
|
||
"description": "消息类型,1为普通给商家发的消息,3为活动内容通知, 4为知识库",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "actInfo",
|
||
"description": "如果是活动内容通知需传",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "imgs",
|
||
"description": "图片s",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步操作,缺省否",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/msg/SendStoreMessageKnowledge": {
|
||
"post": {
|
||
"tags": [
|
||
"msg"
|
||
],
|
||
"description": "发送微信消息(知识库",
|
||
"operationId": "MsgController.发送微信消息(知识库",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeIDs",
|
||
"description": "门店 ID列表",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "title",
|
||
"description": "消息标题",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "knowIDs",
|
||
"description": "消息类型,1为普通给商家发的消息,3为活动内容通知",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/msg/SendUserMessage": {
|
||
"post": {
|
||
"tags": [
|
||
"msg"
|
||
],
|
||
"description": "发送用户微信消息",
|
||
"operationId": "MsgController.发送用户微信消息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "userIDs",
|
||
"description": "用户 ID列表",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "title",
|
||
"description": "消息标题",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "content",
|
||
"description": "消息内容",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步操作,缺省否",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/netspider/GetAndStoreCitiesShops": {
|
||
"post": {
|
||
"tags": [
|
||
"netspider"
|
||
],
|
||
"description": "从网页拉取平台门店信息",
|
||
"operationId": "NetSpiderController.从网页拉取平台门店信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorIDs",
|
||
"description": "厂商ID列表",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "cityCodes",
|
||
"description": "城市列表,缺省为后台启用了的城市",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "radius",
|
||
"description": "区域半径(市或街道的半径会自动增加或缩小),单位为米,缺省8000米",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "gridWith",
|
||
"description": "网格大小,单位为米,缺省为2000米",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isShuffle",
|
||
"description": "是否将城市列表随机打乱",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/netspider/GetPageBrands": {
|
||
"get": {
|
||
"tags": [
|
||
"netspider"
|
||
],
|
||
"description": "查询page品牌",
|
||
"operationId": "NetSpiderController.查询page品牌",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/netspider/QueryPageSkus": {
|
||
"get": {
|
||
"tags": [
|
||
"netspider"
|
||
],
|
||
"description": "参考信息,商品搜索",
|
||
"operationId": "NetSpiderController.参考信息,商品搜索",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorID",
|
||
"description": "平台ID",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorStoreIDs",
|
||
"description": "门店IDs",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "keyword",
|
||
"description": "关键字",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "cityCode",
|
||
"description": "城市",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "lng",
|
||
"description": "关注点经度",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "lat",
|
||
"description": "关注点纬度",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "radius",
|
||
"description": "半径(米)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "sortType",
|
||
"description": "1表示销量,2表示距离 正是升序,负是倒序",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "offset",
|
||
"description": "列表起始序号(以0开始,缺省为0)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "pageSize",
|
||
"description": "列表页大小(缺省为50,-1表示全部)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/netspider/QueryPageStores": {
|
||
"get": {
|
||
"tags": [
|
||
"netspider"
|
||
],
|
||
"description": "同步商家商品信息",
|
||
"operationId": "NetSpiderController.同步商家商品信息 1",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "offset",
|
||
"description": "列表起始序号(以0开始,缺省为0)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "pageSize",
|
||
"description": "列表页大小(缺省为50,-1表示全部)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "keyword",
|
||
"description": "查询关键字(可以为空,为空表示不限制)",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorStoreID",
|
||
"description": "门店号",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorID",
|
||
"description": "平台ID",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "cityCode",
|
||
"description": "城市代码",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "districtCode",
|
||
"description": "行政区代码",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "tel",
|
||
"description": "手机号",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "brandName",
|
||
"description": "品牌名",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "minShopScore",
|
||
"description": "门店分值最小值",
|
||
"type": "number",
|
||
"format": "double"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "minRecentOrderNum",
|
||
"description": "最近单量最小值",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "minSkuCount",
|
||
"description": "SKU数量最小值",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "radius",
|
||
"description": "关注点半径(米)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "lng",
|
||
"description": "关注点经度",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "lat",
|
||
"description": "关注点纬度",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "cat",
|
||
"description": "分类",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/netspider/RefreshPageShops": {
|
||
"post": {
|
||
"tags": [
|
||
"netspider"
|
||
],
|
||
"description": "刷新网页门店信息",
|
||
"operationId": "NetSpiderController.刷新网页门店信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/AcceptOrRefuseFailedGetOrder": {
|
||
"put": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "审核取货失败",
|
||
"operationId": "OrderController.审核取货失败",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorOrderID",
|
||
"description": "订单ID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorID",
|
||
"description": "订单所属厂商ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "acceptIt",
|
||
"description": "是否批准",
|
||
"required": true,
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "reason",
|
||
"description": "原因",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/AcceptOrRefuseOrder": {
|
||
"post": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "接单或拒单",
|
||
"operationId": "OrderController.接单或拒单",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorOrderID",
|
||
"description": "订单ID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorID",
|
||
"description": "订单平台ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAccept",
|
||
"description": "接单或者拒单",
|
||
"required": true,
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/AddUpdateOrdersSupplement": {
|
||
"post": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "新增修改扣款记录",
|
||
"operationId": "OrderController.新增修改扣款记录",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payload",
|
||
"description": "json数据,格式为OrdersSupplement",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/AdjustJdsOrderSimple": {
|
||
"post": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "针对京东商城进行简单的售前删除操作",
|
||
"operationId": "OrderController.针对京东商城进行简单的售前删除操作",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorOrderID",
|
||
"description": "订单号",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "skuID",
|
||
"description": "商品ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/AdjustOrder": {
|
||
"put": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "调整订单",
|
||
"operationId": "OrderController.调整订单",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorOrderID",
|
||
"description": "订单ID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorID",
|
||
"description": "订单所属厂商ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "removedSkuInfo",
|
||
"description": "要去除的商品信息,只有skuID与Count字段有效",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "reason",
|
||
"description": "调整原因",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/AgreeOrRefuseCancel": {
|
||
"put": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "同意或拒绝用户取消订单申请",
|
||
"operationId": "OrderController.同意或拒绝用户取消订单申请 (饿百)",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorOrderID",
|
||
"description": "订单ID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorID",
|
||
"description": "订单所属厂商ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "acceptIt",
|
||
"description": "是否批准",
|
||
"required": true,
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "reason",
|
||
"description": "原因",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/AgreeOrRefuseRefund": {
|
||
"put": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "审核售后单申请",
|
||
"operationId": "OrderController.审核售后单申请",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "afsOrderID",
|
||
"description": "售后ID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorID",
|
||
"description": "订单所属厂商ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "approveType",
|
||
"description": "操作类型",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "reason",
|
||
"description": "原因",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/AmendMissingOrders": {
|
||
"post": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "补全遗漏的订单",
|
||
"operationId": "OrderController.补全遗漏的订单",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "fromDate",
|
||
"description": "订单起始日期",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "toDate",
|
||
"description": "订单结束日期",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorIDs",
|
||
"description": "订单所属的厂商ID列表",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeID",
|
||
"description": "门店ID",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步操作",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个失败是否继续,缺省true",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/ApplyRefundOrder": {
|
||
"post": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "小程序用户申请售后(退款)",
|
||
"operationId": "OrderController.小程序用户申请售后(退款)",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorOrderID",
|
||
"description": "订单ID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorID",
|
||
"description": "订单所属厂商ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "refundSkuList",
|
||
"description": "要去除的商品信息,只有skuID与Count字段有效",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "reason",
|
||
"description": "原因",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/BathUpdateInvoiceSetting": {
|
||
"post": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "批量更新门店发票设置",
|
||
"operationId": "OrderController.批量更新门店发票设置",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorId",
|
||
"description": "平台ID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorStoreID",
|
||
"description": "平台门店ID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payload",
|
||
"description": "json数据,格式为 ebaiapi.StoreInvoiceSetting",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/CallPMCourier": {
|
||
"put": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "取货失败后再次招唤平台配送",
|
||
"operationId": "OrderController.取货失败后再次招唤平台配送",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorOrderID",
|
||
"description": "订单ID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorID",
|
||
"description": "订单所属厂商ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/CancelAll3rdWaybills": {
|
||
"post": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "取消所有三方运单",
|
||
"operationId": "OrderController.取消所有三方运单",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorOrderID",
|
||
"description": "订单ID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorID",
|
||
"description": "订单所属的厂商ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isStopSchedule",
|
||
"description": "是否停止运单调度",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/CancelOrder": {
|
||
"put": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "取消订单",
|
||
"operationId": "OrderController.取消订单",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorOrderID",
|
||
"description": "订单ID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorID",
|
||
"description": "订单所属厂商ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "reason",
|
||
"description": "取消原因",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/CancelWaybill": {
|
||
"post": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "取消三方运单",
|
||
"operationId": "OrderController.取消三方运单",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorWaybillID",
|
||
"description": "运单ID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "waybillVendorID",
|
||
"description": "运单所属的厂商ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "reasonID",
|
||
"description": "原因ID",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "reason",
|
||
"description": "取消原因",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/ComplaintRider": {
|
||
"post": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "投诉骑手",
|
||
"operationId": "OrderController.投诉骑手",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorOrderID",
|
||
"description": "订单ID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "waybillVendorID",
|
||
"description": "运单所属厂商ID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "waybillID",
|
||
"description": "运单ID",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "complaintID",
|
||
"description": "投诉原因ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/ComplaintRiderList": {
|
||
"get": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "获取可投诉骑手列表",
|
||
"operationId": "OrderController.获取可投诉骑手列表",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorOrderID",
|
||
"description": "订单ID",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/ConfirmReceiveGoods": {
|
||
"put": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "投递失败后确认收到退货",
|
||
"operationId": "OrderController.投递失败后确认收到退货",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorOrderID",
|
||
"description": "订单ID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorID",
|
||
"description": "订单所属厂商ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/ConfirmReceivedReturnGoods": {
|
||
"put": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "确认收到售后退货",
|
||
"operationId": "OrderController.确认收到售后退货",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "afsOrderID",
|
||
"description": "售后ID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorID",
|
||
"description": "订单所属厂商ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/ConfirmSelfTake": {
|
||
"post": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "自送送达",
|
||
"operationId": "OrderController.自送送达",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorOrderID",
|
||
"description": "订单ID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorID",
|
||
"description": "订单所属的厂商ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "selfTakeCode",
|
||
"description": "自提码",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/CreateWaybillOnProviders": {
|
||
"post": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "创建三方运单",
|
||
"operationId": "OrderController.创建三方运单",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorOrderID",
|
||
"description": "订单ID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorID",
|
||
"description": "订单所属的厂商ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "courierVendorIDs",
|
||
"description": "运单厂商ID(缺省全部)",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "maxAddFee",
|
||
"description": "最高限价(为0时为缺省最大值)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "forceCreate",
|
||
"description": "是否强制创建(忽略订单状态检查及其它参数)",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/DelOrderSkuInfo": {
|
||
"post": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "删除报价订单的订单商品",
|
||
"operationId": "OrderController.删除报价订单的订单商品",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorOrderID",
|
||
"description": "订单ID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorID",
|
||
"description": "平台ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "ID",
|
||
"description": "id",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/ExportMTWaybills": {
|
||
"get": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "导出美团运单(excel文件),注意时间跨度不要太长,最多只能是一个月",
|
||
"operationId": "OrderController.导出美团运单",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "fromDate",
|
||
"description": "开始日期(包含),格式(2006-01-02)",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "toDate",
|
||
"description": "结束日期(包含),格式(2006-01-02)",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/ExportOrderWithSku": {
|
||
"get": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "导出订单",
|
||
"operationId": "OrderController.导出订单",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "orderID",
|
||
"description": "订单号,如果此项不为空,忽略其它所有查询条件(此项会废弃,用vendorOderID)",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorOrderID",
|
||
"description": "订单号,如果此项不为空,忽略其它所有查询条件",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "keyword",
|
||
"description": "查询关键字",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "fromDate",
|
||
"description": "开始日期(包含),格式(2006-01-02),如果订单号为空此项必须要求",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "toDate",
|
||
"description": "结束日期(包含),格式(2006-01-02),如果订单号为空此项必须要求",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isDateFinish",
|
||
"description": "是否fromDate与toDate指的是订单结束日期,缺省不是",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorIDs",
|
||
"description": "订单所属厂商列表[1,2,3],缺省不限制",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "waybillVendorIDs",
|
||
"description": "承运人所属厂商列表[1,2,3],缺省不限制",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeIDs",
|
||
"description": "京西门店ID列表[1,2,3],缺省不限制",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "statuss",
|
||
"description": "订单状态列表[1,2,3],缺省不限制",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "lockStatuss",
|
||
"description": "订单锁定状态列表[1,2,3],缺省不限制",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "cities",
|
||
"description": "城市code列表[1,2,3],缺省不限制",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isIncludeFake",
|
||
"description": "是否包括假订单",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "skuIDs",
|
||
"description": "包含的skuID列表,或的关系",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isJxFirst",
|
||
"description": "排序是否京西订单优先(缺省为否)",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "adjustCount",
|
||
"description": "最小调整次数",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "brandID",
|
||
"description": "品牌ID",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "mustInvoice",
|
||
"description": "是否必须要求开发票",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "deliveryTypes",
|
||
"description": "配送方式",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "jxIncomeBegin",
|
||
"description": "预计收入begin",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "jxIncomeEnd",
|
||
"description": "预计收入end",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "marketManPhone",
|
||
"description": "平台负责人",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "jdPhone",
|
||
"description": "京东负责人电话",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "mtPhone",
|
||
"description": "美团负责人电话",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "ebaiPhone",
|
||
"description": "饿百负责人电话",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "offset",
|
||
"description": "结果起始序号(以0开始,缺省为0)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "pageSize",
|
||
"description": "结果页大小(缺省为50,-1表示全部)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/ExportOrders": {
|
||
"get": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "导出订单(包括SKU信息)",
|
||
"operationId": "OrderController.导出订单(包括SKU信息)",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "orderID",
|
||
"description": "订单号,如果此项不为空,忽略其它所有查询条件(此项会废弃,用vendorOderID)",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorOrderID",
|
||
"description": "订单号,如果此项不为空,忽略其它所有查询条件",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "keyword",
|
||
"description": "查询关键字",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "fromDate",
|
||
"description": "开始日期(包含),格式(2006-01-02),如果订单号为空此项必须要求",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "toDate",
|
||
"description": "结束日期(包含),格式(2006-01-02),如果订单号为空此项必须要求",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorIDs",
|
||
"description": "订单所属厂商列表[1,2,3],缺省不限制",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "waybillVendorIDs",
|
||
"description": "承运人所属厂商列表[1,2,3],缺省不限制",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeIDs",
|
||
"description": "京西门店ID列表[1,2,3],缺省不限制",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "statuss",
|
||
"description": "订单状态列表[1,2,3],缺省不限制",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "lockStatuss",
|
||
"description": "订单锁定状态列表[1,2,3],缺省不限制",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "cities",
|
||
"description": "城市code列表[1,2,3],缺省不限制",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isAsync",
|
||
"description": "是否异步",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/FinishedPickup": {
|
||
"post": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "完成拣货",
|
||
"operationId": "OrderController.完成拣货",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorOrderID",
|
||
"description": "订单ID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorID",
|
||
"description": "订单所属的厂商ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/GetAfsOrderSkuInfo": {
|
||
"get": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "得到售后单SKU信息(订单与售后单必填一项)",
|
||
"operationId": "OrderController.得到售后单SKU信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorID",
|
||
"description": "售后单所属的厂商ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorOrderID",
|
||
"description": "订单ID",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "afsOrderID",
|
||
"description": "售后单ID",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isNotFaild",
|
||
"description": "是否查非失败的",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/GetAfsOrders": {
|
||
"get": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "查询售后单",
|
||
"operationId": "OrderController.查询售后单",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "afsOrderID",
|
||
"description": "售后单号,如果此项不为空,忽略其它所有查询条件",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorOrderID",
|
||
"description": "订单号,如果此项不为空,忽略其它所有查询条件",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorIDs",
|
||
"description": "订单所属厂商列表[1,2,3],缺省不限制",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "appealTypes",
|
||
"description": "售后处理s方式列表",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeIDs",
|
||
"description": "京西门店ID列表[1,2,3],缺省不限制",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "statuss",
|
||
"description": "订单状态列表[1,2,3],缺省不限制",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "keyword",
|
||
"description": "查询关键字",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "fromTime",
|
||
"description": "开始时间,如果订单号为空此项必须要求",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "toTime",
|
||
"description": "结束时间,如果订单号为空此项必须要求",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "skuIDs",
|
||
"description": "包含的skuID列表,或的关系",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isDetail",
|
||
"description": "是否查详情",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "offset",
|
||
"description": "结果起始序号(以0开始,缺省为0)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "pageSize",
|
||
"description": "结果页大小(缺省为50,-1表示全部)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
},
|
||
"post": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "查询售后单",
|
||
"operationId": "OrderController.查询售后单",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "afsOrderID",
|
||
"description": "售后单号,如果此项不为空,忽略其它所有查询条件",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorOrderID",
|
||
"description": "订单号,如果此项不为空,忽略其它所有查询条件",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorIDs",
|
||
"description": "订单所属厂商列表[1,2,3],缺省不限制",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "appealTypes",
|
||
"description": "售后处理s方式列表",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeIDs",
|
||
"description": "京西门店ID列表[1,2,3],缺省不限制",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "statuss",
|
||
"description": "订单状态列表[1,2,3],缺省不限制",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "keyword",
|
||
"description": "查询关键字",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "fromTime",
|
||
"description": "开始时间,如果订单号为空此项必须要求",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "toTime",
|
||
"description": "结束时间,如果订单号为空此项必须要求",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "skuIDs",
|
||
"description": "包含的skuID列表,或的关系",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isDetail",
|
||
"description": "是否查详情",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "offset",
|
||
"description": "结果起始序号(以0开始,缺省为0)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "pageSize",
|
||
"description": "结果页大小(缺省为50,-1表示全部)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/GetComplaintReasons": {
|
||
"get": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "获取投诉原因",
|
||
"operationId": "OrderController.获取投诉原因",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/GetInvoiceRecord": {
|
||
"post": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "获取门店的发票申请",
|
||
"operationId": "OrderController.获取门店的发票申请",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeId",
|
||
"description": "门店id",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "startTime",
|
||
"description": "开始时间",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "endTime",
|
||
"description": "结束时间",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "status",
|
||
"description": "发票回复状态[1未回复/2回复]",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "offset",
|
||
"description": "结果起始序号(以0开始,缺省为0)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "pageSize",
|
||
"description": "结果页大小(缺省为50,-1表示全部)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/GetMatterStoreOrderCount": {
|
||
"get": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "获取某个门店上次申请物料到现在的销量",
|
||
"operationId": "OrderController.获取某个门店上次申请物料到现在的销量",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeID",
|
||
"description": "门店ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/GetOrderInfo": {
|
||
"get": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "得到订单详情",
|
||
"operationId": "OrderController.得到订单详情",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorOrderID",
|
||
"description": "订单ID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorID",
|
||
"description": "订单所属的厂商ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "refresh",
|
||
"description": "是否从购物平台刷新数据",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/GetOrderSimpleInfo": {
|
||
"get": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "根据订单号查询一些信息",
|
||
"operationId": "OrderController.根据订单号查询一些信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorOrderID",
|
||
"description": "订单号",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/GetOrderSkuInfo": {
|
||
"get": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "得到订单SKU信息",
|
||
"operationId": "OrderController.得到订单SKU信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorOrderID",
|
||
"description": "订单ID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorID",
|
||
"description": "订单所属的厂商ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/GetOrderStatusList": {
|
||
"get": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "查询订单/运单事件",
|
||
"operationId": "OrderController.查询订单/运单事件",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorOrderID",
|
||
"description": "订单/运单ID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorID",
|
||
"description": "订单/运单所属厂商ID)",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "orderType",
|
||
"description": "订单:1;运单:2;订单+运单:-1",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/GetOrderUserBuyFirst": {
|
||
"get": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "根据订单号查询用户是否是第一次购买",
|
||
"operationId": "OrderController.根据订单号查询用户是否是第一次购买",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorOrderID",
|
||
"description": "订单号",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/GetOrderWaybillInfo": {
|
||
"get": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "得到订单运单信息",
|
||
"operationId": "OrderController.得到订单运单信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorOrderID",
|
||
"description": "订单ID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorID",
|
||
"description": "订单所属的厂商ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isNotEnded",
|
||
"description": "是否只是没有结束的运单",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isGetPos",
|
||
"description": "是否得到骑手位置",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/GetOrders": {
|
||
"get": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "查询订单",
|
||
"operationId": "OrderController.查询订单",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "orderID",
|
||
"description": "订单号,如果此项不为空,忽略其它所有查询条件(此项会废弃,用vendorOderID)",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorOrderID",
|
||
"description": "订单号,如果此项不为空,忽略其它所有查询条件",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "keyword",
|
||
"description": "查询关键字",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "fromDate",
|
||
"description": "开始日期(包含),格式(2006-01-02),如果订单号为空此项必须要求",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "toDate",
|
||
"description": "结束日期(包含),格式(2006-01-02),如果订单号为空此项必须要求",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isDateFinish",
|
||
"description": "是否fromDate与toDate指的是订单结束日期,缺省不是",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorIDs",
|
||
"description": "订单所属厂商列表[1,2,3],缺省不限制",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "waybillVendorIDs",
|
||
"description": "承运人所属厂商列表[1,2,3],缺省不限制",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeIDs",
|
||
"description": "京西门店ID列表[1,2,3],缺省不限制",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "fromStoreIDs",
|
||
"description": "物料京西门店ID列表[1,2,3],缺省不限制",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "statuss",
|
||
"description": "订单状态列表[1,2,3],缺省不限制",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "lockStatuss",
|
||
"description": "订单锁定状态列表[1,2,3],缺省不限制",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "cities",
|
||
"description": "城市code列表[1,2,3],缺省不限制",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isIncludeFake",
|
||
"description": "是否包括假订单",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "skuIDs",
|
||
"description": "包含的skuID列表,或的关系",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isJxFirst",
|
||
"description": "排序是否京西订单优先(缺省为否)",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "adjustCount",
|
||
"description": "最小调整次数",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "brandID",
|
||
"description": "品牌ID",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "mustInvoice",
|
||
"description": "是否必须要求开发票",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "deliveryTypes",
|
||
"description": "配送方式",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "jxIncomeBegin",
|
||
"description": "预计收入begin",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "jxIncomeEnd",
|
||
"description": "预计收入end",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "marketManPhone",
|
||
"description": "平台负责人",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "jdPhone",
|
||
"description": "京东负责人电话",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "mtPhone",
|
||
"description": "美团负责人电话",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "ebaiPhone",
|
||
"description": "饿百负责人电话",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "offset",
|
||
"description": "结果起始序号(以0开始,缺省为0)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "pageSize",
|
||
"description": "结果页大小(缺省为50,-1表示全部)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
},
|
||
"post": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "查询订单",
|
||
"operationId": "OrderController.查询订单",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "orderID",
|
||
"description": "订单号,如果此项不为空,忽略其它所有查询条件(此项会废弃,用vendorOderID)",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorOrderID",
|
||
"description": "订单号,如果此项不为空,忽略其它所有查询条件",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "keyword",
|
||
"description": "查询关键字",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "fromDate",
|
||
"description": "开始日期(包含),格式(2006-01-02),如果订单号为空此项必须要求",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "toDate",
|
||
"description": "结束日期(包含),格式(2006-01-02),如果订单号为空此项必须要求",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isDateFinish",
|
||
"description": "是否fromDate与toDate指的是订单结束日期,缺省不是",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorIDs",
|
||
"description": "订单所属厂商列表[1,2,3],缺省不限制",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "waybillVendorIDs",
|
||
"description": "承运人所属厂商列表[1,2,3],缺省不限制",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeIDs",
|
||
"description": "京西门店ID列表[1,2,3],缺省不限制",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "fromStoreIDs",
|
||
"description": "物料京西门店ID列表[1,2,3],缺省不限制",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "statuss",
|
||
"description": "订单状态列表[1,2,3],缺省不限制",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "lockStatuss",
|
||
"description": "订单锁定状态列表[1,2,3],缺省不限制",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "cities",
|
||
"description": "城市code列表[1,2,3],缺省不限制",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isIncludeFake",
|
||
"description": "是否包括假订单",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "skuIDs",
|
||
"description": "包含的skuID列表,或的关系",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isJxFirst",
|
||
"description": "排序是否京西订单优先(缺省为否)",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "adjustCount",
|
||
"description": "最小调整次数",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "brandID",
|
||
"description": "品牌ID",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "mustInvoice",
|
||
"description": "是否必须要求开发票",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "deliveryTypes",
|
||
"description": "配送方式",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "jxIncomeBegin",
|
||
"description": "预计收入begin",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "jxIncomeEnd",
|
||
"description": "预计收入end",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "marketManPhone",
|
||
"description": "平台负责人",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "jdPhone",
|
||
"description": "京东负责人电话",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "mtPhone",
|
||
"description": "美团负责人电话",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "ebaiPhone",
|
||
"description": "饿百负责人电话",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "offset",
|
||
"description": "结果起始序号(以0开始,缺省为0)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "pageSize",
|
||
"description": "结果页大小(缺省为50,-1表示全部)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/GetOrdersAccept": {
|
||
"get": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "获取某个门店订单中待拣货商品",
|
||
"operationId": "OrderController.获取某个门店订单中待拣货商品",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeID",
|
||
"description": "门店ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/GetOrdersSupplement": {
|
||
"get": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "查询门店订单扣款记录",
|
||
"operationId": "OrderController.查询门店订单扣款记录",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeIDs",
|
||
"description": "门店ID列表",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorOrderID",
|
||
"description": "订单ID",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorIDs",
|
||
"description": "订单所属厂商ID列表",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "fromTime",
|
||
"description": "开始日期(包含),格式(2006-01-02),如果订单号为空此项必须要求",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "toTime",
|
||
"description": "结束日期(包含),格式(2006-01-02),如果订单号为空此项必须要求",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "statuss",
|
||
"description": "账单状态列表,0是未结账,1是已结账,-1为作废",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "type",
|
||
"description": "扣款类型,1为差评补贴,2为优惠券",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isReverse",
|
||
"description": "只查冲账记录,0为默认都查,1为只查冲账,-1为不查冲账",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "offset",
|
||
"description": "结果起始序号(以0开始,缺省为0)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "pageSize",
|
||
"description": "结果页大小(缺省为50,-1表示全部)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/GetPrinterStatus": {
|
||
"get": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "查询网络打印机状态",
|
||
"operationId": "OrderController.查询网络打印机状态",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeID",
|
||
"description": "门店ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/GetRiderLng": {
|
||
"post": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "获取三方配送的骑手坐标",
|
||
"operationId": "OrderController.获取三方配送的骑手坐标",
|
||
"parameters": [
|
||
{
|
||
"in": "formData",
|
||
"name": "orderId",
|
||
"description": "订单id",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "deliveryId",
|
||
"description": "运单id",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "waybillVendorId",
|
||
"description": "运单平台id",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "orderVendorId",
|
||
"description": "运单平台id",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/GetStoreAfsOrderCountInfo": {
|
||
"get": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "得到门店售后单信息",
|
||
"operationId": "OrderController.得到门店售后单信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeID",
|
||
"description": "京西门店ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "lastHours",
|
||
"description": "最近多少小时的信息(缺省为两天)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/GetStoreOrderCountInfo": {
|
||
"get": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "得到门店订单信息",
|
||
"operationId": "OrderController.得到门店订单信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeID",
|
||
"description": "京西门店ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "lastHours",
|
||
"description": "最近多少小时的信息(缺省为两天)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "lastMinutes",
|
||
"description": "最近多少分钟的信息(缺省为不传)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isIncludeFake",
|
||
"description": "是否包括假订单",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/GetStoresOrderSaleInfo": {
|
||
"get": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "查询门店营业数据",
|
||
"operationId": "OrderController.查询门店营业数据",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeIDs",
|
||
"description": "京西门店ID列表[1,2,3],缺省不限制",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "fromTime",
|
||
"description": "起始时间",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "toTime",
|
||
"description": "结束时间",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "statuss",
|
||
"description": "订单状态列表[1,2,3],缺省不限制",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/GetWaybills": {
|
||
"get": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "查询运单",
|
||
"operationId": "OrderController.查询运单",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "keyword",
|
||
"description": "查询关键字",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "fromDate",
|
||
"description": "开始日期(包含),格式(2006-01-02)",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "toDate",
|
||
"description": "结束日期(包含),格式(2006-01-02)",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "waybillVendorIDs",
|
||
"description": "承运人所属厂商列表[1,2,3],缺省不限制",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "statuss",
|
||
"description": "运单状态列表[1,2,3],缺省不限制",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "offset",
|
||
"description": "结果起始序号(以0开始,缺省为0)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "pageSize",
|
||
"description": "结果页大小(缺省为50,-1表示全部)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/LoadingLogisticsStatus": {
|
||
"post": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "加载物流信息(物料单子加载物流配送流程)",
|
||
"operationId": "OrderController.加载物流信息(物料单子加载物流配送流程)",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "body",
|
||
"name": "data",
|
||
"description": "物流参数",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/MergeJdsOrders": {
|
||
"post": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "合并订单(京东商城用)",
|
||
"operationId": "OrderController.合并订单(京东商城用)",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorOrderIDs",
|
||
"description": "订单号s",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/PartRefundOrder": {
|
||
"put": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "商家主动发起部分退款售后",
|
||
"operationId": "OrderController.商家主动发起部分退款售后",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorOrderID",
|
||
"description": "订单ID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorID",
|
||
"description": "订单所属厂商ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "refundSkuList",
|
||
"description": "要去除的商品信息,只有skuID与Count字段有效",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "reason",
|
||
"description": "原因",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/PrintOrder": {
|
||
"put": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "网络打印订单",
|
||
"operationId": "OrderController.网络打印订单",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorOrderID",
|
||
"description": "订单/运单ID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorID",
|
||
"description": "订单/运单所属厂商ID)",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/QueryInvoiceSetting": {
|
||
"get": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "查询门店发票设置",
|
||
"operationId": "OrderController.查询门店发票设置",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorId",
|
||
"description": "平台ID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorStoreID",
|
||
"description": "平台门店ID",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/QueryJxPrintList": {
|
||
"get": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "查询打印机列表",
|
||
"operationId": "OrderController.查询打印机列表",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "printNo",
|
||
"description": "打印机编号",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "printKey",
|
||
"description": "打印机秘钥",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "status",
|
||
"description": "激活状态[-1关机/0未连接/1开机]",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isOnline",
|
||
"description": "在线装填[-1掉线/0未连接/1链接]",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "page",
|
||
"description": "跳过数据条数",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "size",
|
||
"description": "每页展示条数",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/QueryOrderWaybillFeeInfo": {
|
||
"get": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "查询三方运单费用信息",
|
||
"operationId": "OrderController.查询三方运单费用信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorOrderID",
|
||
"description": "订单ID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorID",
|
||
"description": "订单所属的厂商ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/QueryUnansweredInvoice": {
|
||
"get": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "批量更新店铺开票申请",
|
||
"operationId": "OrderController.批量更新店铺开票申请",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorId",
|
||
"description": "平台ID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorStoreID",
|
||
"description": "平台门店ID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeID",
|
||
"description": "京西门店ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/RefreshHistoryOrdersEarningPrice": {
|
||
"post": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "同步刷新历史订单的结算价按订单",
|
||
"operationId": "OrderController.同步刷新历史订单的结算价按订单",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "fromTime",
|
||
"description": "订单起始时间 (yyyy-mm-dd hh:ms:ss)",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "toTime",
|
||
"description": "订单结束时间 (yyyy-mm-dd hh:ms:ss)",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorOrderID",
|
||
"description": "订单号",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorIDs",
|
||
"description": "平台ID列表[0,1,3]",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "actID",
|
||
"description": "活动ID",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeID",
|
||
"description": "门店ID",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步操作",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个失败是否继续,缺省true",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/RefreshJdShopOrdersEarningPrice": {
|
||
"post": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "刷新京东商城订单结算价",
|
||
"operationId": "OrderController.刷新京东商城订单结算价",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "fromTime",
|
||
"description": "订单起始时间 格式:20060102",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "toTime",
|
||
"description": "订单结束时间",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/RefreshJdsOrderConsigneeInfo": {
|
||
"put": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "刷新京东商城订单收货人信息",
|
||
"operationId": "OrderController.刷新京东商城订单收货人信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorOrderID",
|
||
"description": "订单ID",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/RefreshOrderFinancial": {
|
||
"put": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "刷新订单平台结算信息",
|
||
"operationId": "OrderController.刷新订单平台结算信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "fromTime",
|
||
"description": "起始时间",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "toTime",
|
||
"description": "结束时间",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步操作",
|
||
"required": true,
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/RefreshOrderRealMobile": {
|
||
"put": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "刷新订单真实手机号",
|
||
"operationId": "OrderController.刷新订单真实手机号",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorID",
|
||
"description": "厂商ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "fromTime",
|
||
"description": "起始时间",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "toTime",
|
||
"description": "结束时间",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步操作",
|
||
"required": true,
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/RefreshOrderSkuInfo": {
|
||
"put": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "刷新报价订单的订单商品价",
|
||
"operationId": "OrderController.刷新报价订单的订单商品价",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorOrderID",
|
||
"description": "订单ID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorID",
|
||
"description": "平台ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "skuID",
|
||
"description": "商品ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/RefreshOrdersPriceInfo": {
|
||
"post": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "重新计算订单结算信息",
|
||
"operationId": "OrderController.重新计算订单结算信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "fromTime",
|
||
"description": "订单起始时间",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "toTime",
|
||
"description": "订单结束时间",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步操作",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/RefreshOrdersWithoutJxStoreID": {
|
||
"post": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "订单门店归属补漏",
|
||
"operationId": "OrderController.订单门店归属补漏",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "fromDate",
|
||
"description": "开始日期",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "toDate",
|
||
"description": "结束日期(缺省不限制)",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步操作",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/RefundOrder": {
|
||
"put": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "商家主动发起全额退款售后",
|
||
"operationId": "OrderController.商家主动发起全额退款售后",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorOrderID",
|
||
"description": "订单ID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorID",
|
||
"description": "订单所属厂商ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "reason",
|
||
"description": "退款原因",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/SaveJdsOrders": {
|
||
"post": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "手动拉取京东商城订单",
|
||
"operationId": "OrderController.手动拉取京东商城订单",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "fromTime",
|
||
"description": "订单起始时间",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "toTime",
|
||
"description": "订单结束时间",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/SelfDelivered": {
|
||
"post": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "自送送达",
|
||
"operationId": "OrderController.自送送达",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorOrderID",
|
||
"description": "订单ID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorID",
|
||
"description": "订单所属的厂商ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/SelfDelivering": {
|
||
"post": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "转自送,对于配送类型为纯自送的,就是表示自送开始",
|
||
"operationId": "OrderController.转自送",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorOrderID",
|
||
"description": "订单ID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorID",
|
||
"description": "订单所属的厂商ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "courierName",
|
||
"description": "骑手姓名-制作假配送",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "courierMobile",
|
||
"description": "骑手电话-制作假配送",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/SendJdwlForJdsOrder": {
|
||
"post": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "京东商城订单发送京东物流",
|
||
"operationId": "OrderController.京东商城订单发送京东物流",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorOrderID",
|
||
"description": "订单号",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/SetOrderPrintStatus": {
|
||
"put": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "同步商家SKU类别",
|
||
"operationId": "OrderController.设置订单打印状态",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorOrderID",
|
||
"description": "订单/运单ID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorID",
|
||
"description": "订单/运单所属厂商ID)",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isPrinted",
|
||
"description": "是否打印",
|
||
"required": true,
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/StaleIndexInfo": {
|
||
"get": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "首页统计信息",
|
||
"operationId": "OrderController.首页统计信息[(营业门店,休息门店,禁用门店),(订单状态订单数量统计,售后单+时间),(预计收益)]",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "fromTime",
|
||
"description": "起始时间",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "toTime",
|
||
"description": "结束时间",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "brandIds",
|
||
"description": "品牌id",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorIds",
|
||
"description": "平台id",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeID",
|
||
"description": "门店id",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "operatorNumber",
|
||
"description": "门店负责人",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "brandOperator",
|
||
"description": "美团负责人",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/StoreOrderRank": {
|
||
"get": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "门店订单排行统计",
|
||
"operationId": "OrderController.门店订单排行统计",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "start",
|
||
"description": "起始时间",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "end",
|
||
"description": "结束时间",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeID",
|
||
"description": "门店id,[1,2,3]",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "rank",
|
||
"description": "排序方式,订单中粮,[DESC,ASC]",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "offset",
|
||
"description": "门店列表起始序号(以0开始,缺省为0)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "pageSize",
|
||
"description": "门店列表页大小(缺省为50,-1表示全部)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/TransferJdsOrder": {
|
||
"post": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "京东商城订单转移",
|
||
"operationId": "OrderController.京东商城订单转移",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeID",
|
||
"description": "转移的门店ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorOrderID",
|
||
"description": "转移的订单号",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/UpdateMTOrderSettle": {
|
||
"post": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "更新美团订单结算信息",
|
||
"operationId": "OrderController.更新美团订单结算信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "startTime",
|
||
"description": "开始时间",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "endTime",
|
||
"description": "结束时间",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeId",
|
||
"description": "京西门店id",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/UpdateOrderInfo": {
|
||
"put": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "修改订单信息",
|
||
"operationId": "OrderController.修改订单信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorOrderID",
|
||
"description": "订单号",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorID",
|
||
"description": "平台ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payload",
|
||
"description": "json数据,格式为goodsOrder",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/UpdateOrderWaybillTip": {
|
||
"post": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "加小费",
|
||
"operationId": "OrderController.加小费",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorOrderID",
|
||
"description": "订单ID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorID",
|
||
"description": "订单所属的厂商ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "tipFee",
|
||
"description": "小费",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isPay",
|
||
"description": "是否确认支付[1是]",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/UpdateTiktokSettlement": {
|
||
"post": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "手动更新抖音门店结算信息",
|
||
"operationId": "OrderController.手动更新抖音门店结算信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeId",
|
||
"description": "门店id",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "startTime",
|
||
"description": "开始时间",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "endTime",
|
||
"description": "结束时间",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/UpdateWaybillDesiredFee": {
|
||
"put": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "修改订单运费",
|
||
"operationId": "OrderController.修改订单运费",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorOrderID",
|
||
"description": "订单号",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "desiredFee",
|
||
"description": "运费",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/order/UploadOrderInvoice": {
|
||
"post": {
|
||
"tags": [
|
||
"order"
|
||
],
|
||
"description": "上传订单发票",
|
||
"operationId": "OrderController.上传订单发票",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "orderId",
|
||
"description": "订单ID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "invoiceUrl",
|
||
"description": "发票地址[10M内pdf/png/jpeg/jpg]",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "invoiceId",
|
||
"description": "发票号码",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "imgBase64",
|
||
"description": "京东发票pdf二进制文件流",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/power/AddMenu": {
|
||
"post": {
|
||
"tags": [
|
||
"power"
|
||
],
|
||
"description": "添加功能(菜单)",
|
||
"operationId": "PowerController.添加功能(菜单)",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payload",
|
||
"description": "Menu json实体",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/power/AddRole": {
|
||
"post": {
|
||
"tags": [
|
||
"power"
|
||
],
|
||
"description": "添加角色",
|
||
"operationId": "PowerController.添加角色",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "name",
|
||
"description": "角色名",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/power/GetMenu": {
|
||
"get": {
|
||
"tags": [
|
||
"power"
|
||
],
|
||
"description": "查询功能(菜单)",
|
||
"operationId": "PowerController.查询功能(菜单)",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "userID",
|
||
"description": "用户ID",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/power/GetRole": {
|
||
"get": {
|
||
"tags": [
|
||
"power"
|
||
],
|
||
"description": "查询角色",
|
||
"operationId": "PowerController.查询角色",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "name",
|
||
"description": "角色名",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/power/GetRoleMenu": {
|
||
"get": {
|
||
"tags": [
|
||
"power"
|
||
],
|
||
"description": "查询角色菜单",
|
||
"operationId": "PowerController.查询角色菜单",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "roleID",
|
||
"description": "用户ID",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/power/GetUserRole": {
|
||
"get": {
|
||
"tags": [
|
||
"power"
|
||
],
|
||
"description": "查询用户角色",
|
||
"operationId": "PowerController.查询用户角色",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "userID",
|
||
"description": "用户ID",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/power/UpdateMenu": {
|
||
"put": {
|
||
"tags": [
|
||
"power"
|
||
],
|
||
"description": "修改功能(菜单)",
|
||
"operationId": "PowerController.修改功能(菜单)",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payload",
|
||
"description": "Menu json实体",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "menuID",
|
||
"description": "菜单ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isDelete",
|
||
"description": "是否是删除",
|
||
"required": true,
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/power/UpdateRole": {
|
||
"put": {
|
||
"tags": [
|
||
"power"
|
||
],
|
||
"description": "修改角色",
|
||
"operationId": "PowerController.修改角色",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "name",
|
||
"description": "角色名",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "roleID",
|
||
"description": "角色ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isDelete",
|
||
"description": "是否是删除",
|
||
"required": true,
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "brandID",
|
||
"description": "品牌ID",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "cityCodes",
|
||
"description": "城市IDs",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeIDs",
|
||
"description": "门店IDs",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/power/UpdateRoleMenu": {
|
||
"put": {
|
||
"tags": [
|
||
"power"
|
||
],
|
||
"description": "修改角色菜单",
|
||
"operationId": "PowerController.修改角色菜单",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "roleIDs",
|
||
"description": "角色IDs",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "menuIDs",
|
||
"description": "菜单IDs",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/power/UpdateUserRole": {
|
||
"put": {
|
||
"tags": [
|
||
"power"
|
||
],
|
||
"description": "修改用户角色",
|
||
"operationId": "PowerController.修改用户角色",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "userIDs",
|
||
"description": "用户IDs",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "roleIDs",
|
||
"description": "角色IDs",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/report/AutoFocusStoreSkus": {
|
||
"post": {
|
||
"tags": [
|
||
"report"
|
||
],
|
||
"description": "自动关注商品(针对后加的商品规格未关注)",
|
||
"operationId": "ReportController.自动关注商品(针对后加的商品规格未关注)",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/report/GetManageState": {
|
||
"get": {
|
||
"tags": [
|
||
"report"
|
||
],
|
||
"description": "查询经营概况",
|
||
"operationId": "ReportController.查询经营概况",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "cityCodes",
|
||
"description": "城市ID列表[1,2,3]",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorID",
|
||
"description": "vendorID 全部传-1",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/report/GetStoreManageState": {
|
||
"get": {
|
||
"tags": [
|
||
"report"
|
||
],
|
||
"description": "查询门店经营数据",
|
||
"operationId": "ReportController.查询门店经营数据",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeIDs",
|
||
"description": "门店ID列表[1,2,3]",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "brandIDs",
|
||
"description": "品牌ID列表[1,2,3]",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorID",
|
||
"description": "平台ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "sortType",
|
||
"description": "排序类型,1 覆盖范围,2市场规模,3营业时长,4商品数,5虚高商品数,6活动丰富度,7无效订单数,8拒绝订单数,9门店评分,10完成订单数,正升序,负倒序",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "offset",
|
||
"description": "门店列表起始序号(以0开始,缺省为0)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "pageSize",
|
||
"description": "门店列表页大小(缺省为50,-1表示全部)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/report/OrderDeliveryReport": {
|
||
"get": {
|
||
"tags": [
|
||
"report"
|
||
],
|
||
"description": "统计三方配送费用",
|
||
"operationId": "ReportController.统计三方配送费用",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeIDs",
|
||
"description": "门店ID列表[1,2,3]",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "brandIDs",
|
||
"description": "品牌ID列表[1,2,3]",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorID",
|
||
"description": "平台ID",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "deliveryVendorID",
|
||
"description": "配送平台ID",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "keyword",
|
||
"description": "关键字",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "fromTime",
|
||
"description": "开始日期(包含),格式(2006-01-02 00:00:00)",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "toTime",
|
||
"description": "结束日期(包含),格式(2006-01-02 00:00:00)",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isFinished",
|
||
"description": "默认下单时间,true是订单完成时间",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "offset",
|
||
"description": "门店列表起始序号(以0开始,缺省为0)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "pageSize",
|
||
"description": "门店列表页大小(缺省为50,-1表示全部)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/report/OrderNotifyReport": {
|
||
"get": {
|
||
"tags": [
|
||
"report"
|
||
],
|
||
"description": "统计语音短信收费",
|
||
"operationId": "ReportController.统计语音短信收费",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeIDs",
|
||
"description": "门店ID列表[1,2,3]",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "brandIDs",
|
||
"description": "品牌ID列表[1,2,3]",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorID",
|
||
"description": "平台ID",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "notifyType",
|
||
"description": "-1 表示全部,1表示短信,2表示语音",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "keyword",
|
||
"description": "关键字",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "fromTime",
|
||
"description": "开始日期(包含),格式(2006-01-02 00:00:00)",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "toTime",
|
||
"description": "结束日期(包含),格式(2006-01-02 00:00:00)",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isFinished",
|
||
"description": "默认下单时间,true是订单完成时间",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "offset",
|
||
"description": "门店列表起始序号(以0开始,缺省为0)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "pageSize",
|
||
"description": "门店列表页大小(缺省为50,-1表示全部)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/report/PriceRefer": {
|
||
"post": {
|
||
"tags": [
|
||
"report"
|
||
],
|
||
"description": "生成价格参考数据",
|
||
"operationId": "ReportController.生成价格参考数据",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/report/StatisticsReportForAfsOrders": {
|
||
"post": {
|
||
"tags": [
|
||
"report"
|
||
],
|
||
"description": "根据门店idlist和时间范围查询",
|
||
"operationId": "ReportController.查询售后单统计信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeIDs",
|
||
"description": "京西门店ID列表[1,2,3]",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "fromDate",
|
||
"description": "开始日期(包含),格式(2006-01-02 00:00:00)",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "toDate",
|
||
"description": "结束日期(包含),格式(2006-01-02 00:00:00)",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/report/StatisticsReportForOrders": {
|
||
"post": {
|
||
"tags": [
|
||
"report"
|
||
],
|
||
"description": "根据门店idlist和时间范围查询",
|
||
"operationId": "ReportController.查询订单统计信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeIDs",
|
||
"description": "京西门店ID列表[1,2,3]",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorIDs",
|
||
"description": "平台ID列表[1,2,3]",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "marketManPhone",
|
||
"description": "平台负责人",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "jdPhone",
|
||
"description": "京东负责人电话",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "mtPhone",
|
||
"description": "美团负责人电话",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "ebaiPhone",
|
||
"description": "饿百负责人电话",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "fromDate",
|
||
"description": "开始日期(包含),格式(2006-01-02 00:00:00)",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "toDate",
|
||
"description": "结束日期(包含),格式(2006-01-02 00:00:00)",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/report/StatisticsReportForStoreSkusPrice": {
|
||
"post": {
|
||
"tags": [
|
||
"report"
|
||
],
|
||
"description": "查询京西门店商品价格统计相关信息",
|
||
"operationId": "ReportController.查询京西门店商品价格统计相关信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "cityCodes",
|
||
"description": "城市ID列表[1,2,3]",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "skuIDs",
|
||
"description": "skuID列表[1,2,3]",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "snapDate",
|
||
"description": "某天的参考价格 格式:2006-01-02,默认前一天",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "offset",
|
||
"description": "门店列表起始序号(以0开始,缺省为0)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "pageSize",
|
||
"description": "门店列表页大小(缺省为50,-1表示全部)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/report/UserMemberReport": {
|
||
"get": {
|
||
"tags": [
|
||
"report"
|
||
],
|
||
"description": "统计会员信息",
|
||
"operationId": "ReportController.统计会员信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorID",
|
||
"description": "平台ID",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "keyword",
|
||
"description": "关键字",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "offset",
|
||
"description": "门店列表起始序号(以0开始,缺省为0)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "pageSize",
|
||
"description": "门店列表页大小(缺省为50,-1表示全部)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/session/CheckVendorSkuDiffer": {
|
||
"post": {
|
||
"tags": [
|
||
"session"
|
||
],
|
||
"description": "校验平台商品和京西系统商品的差异",
|
||
"operationId": "SessionController.校验平台商品和京西系统商品的差异",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeId",
|
||
"description": "门店ID列表",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorIDs",
|
||
"description": "厂商ID列表",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/session/CreateBossSession": {
|
||
"post": {
|
||
"tags": [
|
||
"session"
|
||
],
|
||
"description": "创建门店老板的会话群",
|
||
"operationId": "SessionController.创建门店老板的会话群",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeId",
|
||
"description": "门店id",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/session/GetEnterpriseToken": {
|
||
"get": {
|
||
"tags": [
|
||
"session"
|
||
],
|
||
"description": "创建门店老板的会话群",
|
||
"operationId": "SessionController.创建门店老板的会话群",
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sku/AddCategory": {
|
||
"post": {
|
||
"tags": [
|
||
"sku"
|
||
],
|
||
"description": "新增商品类别(区别于厂商家SKU类别)",
|
||
"operationId": "SkuController.新增商品类别",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payload",
|
||
"description": "json数据,skuCategory对象()",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sku/AddSku": {
|
||
"post": {
|
||
"tags": [
|
||
"sku"
|
||
],
|
||
"description": "新增商品",
|
||
"operationId": "SkuController.新增商品",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "nameID",
|
||
"description": "商品名ID, playload中的相应字段会被忽略",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payload",
|
||
"description": "json数据,Sku对象()",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sku/AddSkuName": {
|
||
"post": {
|
||
"tags": [
|
||
"sku"
|
||
],
|
||
"description": "新增商品名(及商品)信息",
|
||
"operationId": "SkuController.新增商品名(及商品)信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payload",
|
||
"description": "json数据,SkuNameExt对象(),可传Skus及Places",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sku/AddSkuNamePlace": {
|
||
"post": {
|
||
"tags": [
|
||
"sku"
|
||
],
|
||
"description": "新增商品名可售地点绑定(不推荐使用)",
|
||
"operationId": "SkuController.新增商品名可售地点绑定(不推荐使用)",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "nameID",
|
||
"description": "商品名ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "placeCode",
|
||
"description": "地点代码",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sku/AddVendorCategoryMap": {
|
||
"post": {
|
||
"tags": [
|
||
"sku"
|
||
],
|
||
"description": "新增平台类别",
|
||
"operationId": "SkuController.新增平台类别",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorID",
|
||
"description": "平台ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorOrgCode",
|
||
"description": "账号ID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "categroyID",
|
||
"description": "京西分类id",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "level",
|
||
"description": "分类级别",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "parentID",
|
||
"description": "分类父ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorCategoryName",
|
||
"description": "类别name",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorCategorySeq",
|
||
"description": "类别序号",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sku/BatchSetBoxPrice": {
|
||
"post": {
|
||
"tags": [
|
||
"sku"
|
||
],
|
||
"description": "批量设置美团商品打包费为零",
|
||
"operationId": "SkuController.批量设置美团商品打包费为零",
|
||
"parameters": [
|
||
{
|
||
"in": "query",
|
||
"name": "storeIDs",
|
||
"description": "门店ID列表",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sku/BatchSetRestockingPrice": {
|
||
"post": {
|
||
"tags": [
|
||
"sku"
|
||
],
|
||
"description": "批量设置美团商品进货价",
|
||
"operationId": "SkuController.批量设置美团商品进货价",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payload",
|
||
"description": "json数据,SpuData对象()",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sku/CopyStoreCategories": {
|
||
"put": {
|
||
"tags": [
|
||
"sku"
|
||
],
|
||
"description": "复制门店类别",
|
||
"operationId": "SkuController.复制门店类别",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "fromStoreID",
|
||
"description": "源门店ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "toStoreIDs",
|
||
"description": "目标门店的IDs",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "categoryIDs",
|
||
"description": "原门店的分类IDs,不传代表整个复制",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步操作",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sku/CopyVendorCategories": {
|
||
"put": {
|
||
"tags": [
|
||
"sku"
|
||
],
|
||
"description": "复制平台类别",
|
||
"operationId": "SkuController.复制平台类别",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "fromVendorOrgCode",
|
||
"description": "源平台ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorID",
|
||
"description": "平台ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "toVendorOrgCodes",
|
||
"description": "目标平台的IDs",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "categoryIDs",
|
||
"description": "原平台的分类IDs,不传代表整个复制",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步操作",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sku/CreateUpcSkuByExcel": {
|
||
"post": {
|
||
"tags": [
|
||
"sku"
|
||
],
|
||
"description": "根据Excel创建标品",
|
||
"operationId": "SkuController.根据Excel创建标品",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "categroyID",
|
||
"description": "分类ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sku/DeleteCategory": {
|
||
"delete": {
|
||
"tags": [
|
||
"sku"
|
||
],
|
||
"description": "删除商品类别,只有无商品且无子类别的才能删除",
|
||
"operationId": "SkuController.删除商品类别",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "categoryID",
|
||
"description": "商品类别ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sku/DeleteSku": {
|
||
"delete": {
|
||
"tags": [
|
||
"sku"
|
||
],
|
||
"description": "删除商品",
|
||
"operationId": "SkuController.删除商品",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "skuID",
|
||
"description": "商品ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sku/DeleteSkuName": {
|
||
"delete": {
|
||
"tags": [
|
||
"sku"
|
||
],
|
||
"description": "此前商品名下的所有商品也会被级连删除",
|
||
"operationId": "SkuController.删除商品名",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "nameID",
|
||
"description": "商品名ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sku/DeleteSkuNamePlace": {
|
||
"delete": {
|
||
"tags": [
|
||
"sku"
|
||
],
|
||
"description": "删除商品名可售地点绑定(不推荐使用)",
|
||
"operationId": "SkuController.删除商品名可售地点绑定(不推荐使用)",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "nameID",
|
||
"description": "商品名ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "placeCode",
|
||
"description": "地点代码",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sku/DeleteVendorSkuImg": {
|
||
"put": {
|
||
"tags": [
|
||
"sku"
|
||
],
|
||
"description": "删除已经存在文件",
|
||
"operationId": "SkuController.删除已经存在文件",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "name",
|
||
"description": "文件名称",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sku/GetCategories": {
|
||
"get": {
|
||
"tags": [
|
||
"sku"
|
||
],
|
||
"description": "得到商品类别(区别于厂商家SKU类别)",
|
||
"operationId": "SkuController.得到商品类别",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "parentID",
|
||
"description": "父ID,-1表示所有,缺省为-1",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isExd",
|
||
"description": "是否要查饿鲜达分类",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sku/GetJdUpcCodeByName": {
|
||
"get": {
|
||
"tags": [
|
||
"sku"
|
||
],
|
||
"description": "根据名字查询京东商品UPC信息",
|
||
"operationId": "SkuController.根据名字查询京东商品UPC信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "name",
|
||
"description": "商品名",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "upcCode",
|
||
"description": "upcCode,不支持模糊",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sku/GetMTCategoryAttrList": {
|
||
"get": {
|
||
"tags": [
|
||
"sku"
|
||
],
|
||
"description": "根据美团分类id获取平台属性值",
|
||
"operationId": "SkuController.根据美团分类id获取平台属性值",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "appOrgCode",
|
||
"description": "美团app",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "categoryId",
|
||
"description": "美团类目id",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sku/GetMTCategoryAttrValueList": {
|
||
"get": {
|
||
"tags": [
|
||
"sku"
|
||
],
|
||
"description": "根据美团属性id 查询特殊属性(品牌、产地)",
|
||
"operationId": "SkuController.根据美团属性id 查询特殊属性(品牌、产地)",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "appOrgCode",
|
||
"description": "平台code",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "attrId",
|
||
"description": "属性id",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "keyword",
|
||
"description": "属性值的关键词",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sku/GetMTProductRule": {
|
||
"get": {
|
||
"tags": [
|
||
"sku"
|
||
],
|
||
"description": "根据美团分类id获取平台扩展规则",
|
||
"operationId": "SkuController.根据美团分类id获取平台扩展规则",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "categoryId",
|
||
"description": "类目id",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorId",
|
||
"description": "平台分类ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sku/GetSensitiveWordList": {
|
||
"get": {
|
||
"tags": [
|
||
"sku"
|
||
],
|
||
"description": "获取敏感词列表",
|
||
"operationId": "SkuController.获取敏感词列表",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorID",
|
||
"description": "VendorID",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sku/GetSkuNames": {
|
||
"get": {
|
||
"tags": [
|
||
"sku"
|
||
],
|
||
"description": "得到商品信息,如下条件之间是与的关系",
|
||
"operationId": "SkuController.得到商品信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "keyword",
|
||
"description": "查询关键字(可以为空,为空表示不限制)",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "nameIDs",
|
||
"description": "SkuName IDs列表",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "skuIDs",
|
||
"description": "Sku ID列表",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorSkuIDs",
|
||
"description": "厂商SKU ID列表",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "name",
|
||
"description": "商品名称(不要求完全一致)",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "prefix",
|
||
"description": "商品前缀(不要求完全一致)",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "placeCond",
|
||
"description": "查询地点的条件(如果此字段没有设置,placeCode与isGlobal无效),and:与,or:或,指的是placeCode,isGlobal这两个条件间的关系,这组条件与其它条件都是与的关系",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "placeCode",
|
||
"description": "可售地点Code",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isGlobal",
|
||
"description": "是否全球可售",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "categoryID",
|
||
"description": "商品名所属类别ID",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "skuCategoryID",
|
||
"description": "商品所属类别ID",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "unit",
|
||
"description": "商品单位",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isSpu",
|
||
"description": "是否是SPU",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isExd",
|
||
"description": "是否是饿鲜达商品",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "fromStatus",
|
||
"description": "查询起始状态(0:下架,1:正常)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "toStatus",
|
||
"description": "查询起始状态(0:下架,1:正常)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "offset",
|
||
"description": "门店列表起始序号(以0开始,缺省为0)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "pageSize",
|
||
"description": "门店列表页大小(缺省为50,-1表示全部)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isBySku",
|
||
"description": "是否将sku拆开,缺省为false",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isQueryMidPrice",
|
||
"description": "是否查询中位价缺省为false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
},
|
||
"post": {
|
||
"tags": [
|
||
"sku"
|
||
],
|
||
"description": "得到商品信息,如下条件之间是与的关系",
|
||
"operationId": "SkuController.得到商品信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "keyword",
|
||
"description": "查询关键字(可以为空,为空表示不限制)",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "nameIDs",
|
||
"description": "SkuName IDs列表",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "skuIDs",
|
||
"description": "Sku ID列表",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorSkuIDs",
|
||
"description": "厂商SKU ID列表",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "name",
|
||
"description": "商品名称(不要求完全一致)",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "prefix",
|
||
"description": "商品前缀(不要求完全一致)",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "placeCond",
|
||
"description": "查询地点的条件(如果此字段没有设置,placeCode与isGlobal无效),and:与,or:或,指的是placeCode,isGlobal这两个条件间的关系,这组条件与其它条件都是与的关系",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "placeCode",
|
||
"description": "可售地点Code",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isGlobal",
|
||
"description": "是否全球可售",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "categoryID",
|
||
"description": "商品名所属类别ID",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "skuCategoryID",
|
||
"description": "商品所属类别ID",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "unit",
|
||
"description": "商品单位",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isSpu",
|
||
"description": "是否是SPU",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isExd",
|
||
"description": "是否是饿鲜达商品",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "fromStatus",
|
||
"description": "查询起始状态(0:下架,1:正常)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "toStatus",
|
||
"description": "查询起始状态(0:下架,1:正常)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "offset",
|
||
"description": "门店列表起始序号(以0开始,缺省为0)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "pageSize",
|
||
"description": "门店列表页大小(缺省为50,-1表示全部)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isBySku",
|
||
"description": "是否将sku拆开,缺省为false",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isQueryMidPrice",
|
||
"description": "是否查询中位价缺省为false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sku/GetSkuNamesNew": {
|
||
"get": {
|
||
"tags": [
|
||
"sku"
|
||
],
|
||
"description": "得到商品信息2",
|
||
"operationId": "SkuController.得到商品信息2",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "keyword",
|
||
"description": "查询关键字(可以为空,为空表示不限制)",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "nameIDs",
|
||
"description": "SkuName IDs列表",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "skuIDs",
|
||
"description": "Sku ID列表",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "categoryID",
|
||
"description": "商品名所属类别ID",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "status",
|
||
"description": "查询起始状态(0:下架,1:正常, -1全部)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isBySku",
|
||
"description": "是否将sku拆开,缺省为false",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "bestSeller",
|
||
"description": "是否为畅销品[0-不是/1-是]",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "minPrice",
|
||
"description": "最低价",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "maxPrice",
|
||
"description": "最高价",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "offset",
|
||
"description": "门店列表起始序号(以0开始,缺省为0)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "pageSize",
|
||
"description": "门店列表页大小(缺省为50,-1表示全部)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sku/GetStoreSkuSalesInfo": {
|
||
"get": {
|
||
"tags": [
|
||
"sku"
|
||
],
|
||
"description": "按照当前城市近30天销量排序,显示本店价格,附近5公里平均价格,差评数量,本店销量情况,本市总销量,",
|
||
"operationId": "SkuController.按照当前城市近30天销量排序,显示本店价格,附近5公里平均价格,差评数量,本店销量情况,本市总销量,",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeID",
|
||
"description": "京西门店ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sku/GetTiktokCategoryValue": {
|
||
"get": {
|
||
"tags": [
|
||
"sku"
|
||
],
|
||
"description": "根据分类id获取平台属性值",
|
||
"operationId": "SkuController.根据分类id获取平台属性值",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "categoryId",
|
||
"description": "抖音分类id",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorOrgCode",
|
||
"description": "默认的平台id(现在是测试门店id/后面改成京西的id)",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sku/GetVendorCategories": {
|
||
"get": {
|
||
"tags": [
|
||
"sku"
|
||
],
|
||
"description": "得到厂商商品类别(区别于商家SKU类别)",
|
||
"operationId": "SkuController.得到厂商商品类别",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorID",
|
||
"description": "厂商ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "parentID",
|
||
"description": "父ID,-1表示所有,缺省为空",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sku/GetVendorCategoriesWithMap": {
|
||
"get": {
|
||
"tags": [
|
||
"sku"
|
||
],
|
||
"description": "得到厂商商品类别2(区别于商家SKU类别)",
|
||
"operationId": "SkuController.得到厂商商品类别2",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorID",
|
||
"description": "厂商ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sku/GetVendorCategoryMap": {
|
||
"get": {
|
||
"tags": [
|
||
"sku"
|
||
],
|
||
"description": "得到平台类别",
|
||
"operationId": "SkuController.得到平台类别",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "parentID",
|
||
"description": "父ID",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "level",
|
||
"description": "分类等级",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorOrgCode",
|
||
"description": "账号ID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorID",
|
||
"description": "平台ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sku/InsertSensitiveWord": {
|
||
"post": {
|
||
"tags": [
|
||
"sku"
|
||
],
|
||
"description": "插入敏感词列表",
|
||
"operationId": "SkuController.插入敏感词列表",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "word",
|
||
"description": "关键词名字",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorID",
|
||
"description": "VendorID",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sku/LoadStoreVendorCategories": {
|
||
"post": {
|
||
"tags": [
|
||
"sku"
|
||
],
|
||
"description": "平台分类读取门店分类",
|
||
"operationId": "SkuController.平台分类读取门店分类",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorOrgCode",
|
||
"description": "账号ID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorID",
|
||
"description": "平台ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeID",
|
||
"description": "门店ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sku/MTSku2Local": {
|
||
"post": {
|
||
"tags": [
|
||
"sku"
|
||
],
|
||
"description": "获取美团商品信息添加到本地",
|
||
"operationId": "SkuController.获取美团商品信息添加到本地",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorSkuName",
|
||
"description": "平台商品名称",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorOrderID",
|
||
"description": "订单id",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sku/RefreshJdDepot": {
|
||
"post": {
|
||
"tags": [
|
||
"sku"
|
||
],
|
||
"operationId": "SkuController.恢复被删除的京东商品库",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sku/RefreshNoImgSku": {
|
||
"post": {
|
||
"tags": [
|
||
"sku"
|
||
],
|
||
"description": "刷新没图的商品",
|
||
"operationId": "SkuController.刷新没图的商品",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "skuNameID",
|
||
"description": "门店ID",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sku/ReorderCategories": {
|
||
"put": {
|
||
"tags": [
|
||
"sku"
|
||
],
|
||
"description": "商品类别重排序(区别于厂商家SKU类别)",
|
||
"operationId": "SkuController.商品类别重排序",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "categoryID",
|
||
"description": "父ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "categoryIDs",
|
||
"description": "同一父类别下的所有子类别ID列表([1,2,3,4])",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isExd",
|
||
"description": "是否要查饿鲜达分类",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "onlySort",
|
||
"description": "1-仅仅排序/其他就是排序加同步分类",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sku/ReorderStoreCategories": {
|
||
"put": {
|
||
"tags": [
|
||
"sku"
|
||
],
|
||
"description": "门店类别重排序",
|
||
"operationId": "SkuController.门店类别重排序",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "categoryID",
|
||
"description": "父ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeID",
|
||
"description": "门店ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "categoryIDs",
|
||
"description": "同一父类别下的所有子类别ID列表([1,2,3,4])",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sku/ReorderVendorCategories": {
|
||
"put": {
|
||
"tags": [
|
||
"sku"
|
||
],
|
||
"description": "平台类别重排序",
|
||
"operationId": "SkuController.平台类别重排序",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "categoryID",
|
||
"description": "父ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorID",
|
||
"description": "平台ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorOrgCode",
|
||
"description": "账号ID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "categoryIDs",
|
||
"description": "同一父类别下的所有子类别ID列表([1,2,3,4])",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sku/SetSkuBestSeller": {
|
||
"post": {
|
||
"tags": [
|
||
"sku"
|
||
],
|
||
"description": "设置商品为热销/取消热销商品",
|
||
"operationId": "SkuController.设置商品为热销/取消热销商品",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "skuNameId",
|
||
"description": "商品nameId,多个用逗号分割",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "bestSeller",
|
||
"description": "是否为热销[0不是/1是]",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sku/SortCategorySkus": {
|
||
"post": {
|
||
"tags": [
|
||
"sku"
|
||
],
|
||
"description": "子分类下商品的重排序",
|
||
"operationId": "SkuController.子分类下商品的重排序",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "catID",
|
||
"description": "商品子分类",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "skuIDs",
|
||
"description": "商品子分类下商品列表",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sku/SumExianDaDepot": {
|
||
"put": {
|
||
"tags": [
|
||
"sku"
|
||
],
|
||
"description": "合并饿鲜达商品库(必须要在饿鲜达系统中先导入商品)",
|
||
"operationId": "SkuController.合并饿鲜达商品库(必须要在饿鲜达系统中先导入商品)",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sku/SyncCategory": {
|
||
"put": {
|
||
"tags": [
|
||
"sku"
|
||
],
|
||
"description": "同步商家SKU类别",
|
||
"operationId": "SkuController.同步商家SKU类别",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "categoryID",
|
||
"description": "SKU类别ID, -1表示所有",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isAsync",
|
||
"description": "是否异步",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sku/SyncSku": {
|
||
"put": {
|
||
"tags": [
|
||
"sku"
|
||
],
|
||
"description": "同步商家SKU",
|
||
"operationId": "SkuController.同步商家SKU",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "nameID",
|
||
"description": "name ID, -1表示所有",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "skuID",
|
||
"description": "sku ID, -1表示所有",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sku/SyncTiktokMainSkuToLocalSku": {
|
||
"post": {
|
||
"tags": [
|
||
"sku"
|
||
],
|
||
"description": "同步抖店商品主商品id和本地商品id映射关系",
|
||
"operationId": "SkuController.同步抖店商品主商品id和本地商品id映射关系",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "startTime",
|
||
"description": "同步商品开始时间戳",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "endTime",
|
||
"description": "同步商品结束时间戳",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sku/UpdateCategory": {
|
||
"put": {
|
||
"tags": [
|
||
"sku"
|
||
],
|
||
"description": "修改商品类别(区别于厂商家SKU类别)",
|
||
"operationId": "SkuController.修改商品类别",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "categoryID",
|
||
"description": "类别ID,payload中的相应字段会被忽略",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payload",
|
||
"description": "json数据,skuCategory对象()",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sku/UpdateExianDaSkuCategory": {
|
||
"put": {
|
||
"tags": [
|
||
"sku"
|
||
],
|
||
"description": "根据饿百上已经分类的商品刷新京西库中饿鲜达商品分类",
|
||
"operationId": "SkuController.根据饿百上已经分类的商品刷新京西库中饿鲜达商品分类",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sku/UpdateMtCatToJd": {
|
||
"post": {
|
||
"tags": [
|
||
"sku"
|
||
],
|
||
"description": "更新美团到京东分类映射",
|
||
"operationId": "SkuController.更新美团到京东分类映射",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "mtCatID",
|
||
"description": "美团分类ID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "jdCatID",
|
||
"description": "京东分类ID",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sku/UpdateSensitiveWord": {
|
||
"put": {
|
||
"tags": [
|
||
"sku"
|
||
],
|
||
"description": "修改敏感词列表",
|
||
"operationId": "SkuController.修改敏感词列表",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "word",
|
||
"description": "关键词名字",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorID",
|
||
"description": "VendorID",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "ID",
|
||
"description": "关键词ID",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "Status",
|
||
"description": "状态,0为修改默认,1为删除",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sku/UpdateSku": {
|
||
"put": {
|
||
"tags": [
|
||
"sku"
|
||
],
|
||
"description": "修改商品信息",
|
||
"operationId": "SkuController.修改商品信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "skuID",
|
||
"description": "需要修改的商品名ID,payload中的相应数据会被忽略",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payload",
|
||
"description": "json数据,Sku对象",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sku/UpdateSkuExinfoMap": {
|
||
"put": {
|
||
"tags": [
|
||
"sku"
|
||
],
|
||
"description": "批量设置商品额外信息",
|
||
"operationId": "SkuController.批量设置商品额外信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "nameIDs",
|
||
"description": "商品nameIDs",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "exPrefix",
|
||
"description": "商品额外前缀",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "fromDate",
|
||
"description": "生效开始时间,格式 2006-01-01",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "toDate",
|
||
"description": "生效结束时间,格式 2006-01-01",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "imgWaterMark",
|
||
"description": "商品水印图",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "brandID",
|
||
"description": "品牌ID",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorID",
|
||
"description": "平台ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorOrgCode",
|
||
"description": "平台账号",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sku/UpdateSkuImg": {
|
||
"put": {
|
||
"tags": [
|
||
"sku"
|
||
],
|
||
"description": "仅在本地数据库修改商品图片",
|
||
"operationId": "SkuController.仅修改商品图片",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token`",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "skuID",
|
||
"description": "商品名ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payload",
|
||
"description": "商品图片",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sku/UpdateSkuName": {
|
||
"put": {
|
||
"tags": [
|
||
"sku"
|
||
],
|
||
"description": "修改商品名信息,注意:如果Places没有变动,不要传此字段,否则会导致不必要的删除与新增",
|
||
"operationId": "SkuController.修改商品名信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "nameID",
|
||
"description": "需要修改的商品名ID,payload中的相应数据会被忽略",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payload",
|
||
"description": "json数据,SkuNameExt对象(),Skus无效, Places有效",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isExd",
|
||
"description": "是否要修改饿鲜达商品",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sku/UpdateSkuNamesExPrefix": {
|
||
"put": {
|
||
"tags": [
|
||
"sku"
|
||
],
|
||
"description": "批量设置商品额外前缀",
|
||
"operationId": "SkuController.批量设置商品额外前缀",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "nameIDs",
|
||
"description": "商品nameIDs",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "exPrefix",
|
||
"description": "商品额外前缀",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "fromDate",
|
||
"description": "生效开始时间,格式 2006-01-01",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "toDate",
|
||
"description": "生效结束时间,格式 2006-01-01",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "imgWaterMark",
|
||
"description": "商品水印图",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorID",
|
||
"description": "平台ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sku/UpdateTiktokCategory": {
|
||
"post": {
|
||
"tags": [
|
||
"sku"
|
||
],
|
||
"description": "抖店商品类目修改",
|
||
"operationId": "SkuController.抖店商品类目修改",
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sku/UpdateVendorCategoryMap": {
|
||
"put": {
|
||
"tags": [
|
||
"sku"
|
||
],
|
||
"description": "修改平台类别",
|
||
"operationId": "SkuController.修改平台类别",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "ID",
|
||
"description": "记录ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "categoryID",
|
||
"description": "京西分类id",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorCategoryName",
|
||
"description": "类别name",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "level",
|
||
"description": "分类级别",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "parentID",
|
||
"description": "分类父ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isDelete",
|
||
"description": "是否是删除操作,默认false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sku/UpdateVendorSkuImg": {
|
||
"put": {
|
||
"tags": [
|
||
"sku"
|
||
],
|
||
"description": "批量设置商品额外信息",
|
||
"operationId": "SkuController.批量设置商品额外信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "exPrefix",
|
||
"description": "商品额外前缀",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "fromDate",
|
||
"description": "生效开始时间,格式 2006-01-01",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "toDate",
|
||
"description": "生效结束时间,格式 2006-01-01",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "imgWaterMark",
|
||
"description": "商品水印图",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorID",
|
||
"description": "平台ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeId",
|
||
"description": "京西门店ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/AddBrand": {
|
||
"post": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "新增品牌",
|
||
"operationId": "StoreController.新增品牌",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payload",
|
||
"description": "brand payload",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/AddBrandCategoryMap": {
|
||
"post": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "新增品牌类别",
|
||
"operationId": "StoreController.新增品牌类别",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "brandID",
|
||
"description": "品牌ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "categroyID",
|
||
"description": "京西分类id",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "level",
|
||
"description": "分类级别",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "parentID",
|
||
"description": "分类父ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "brandCategroyName",
|
||
"description": "类别name",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "brandCategroySeq",
|
||
"description": "类别序号",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/AddStoreCategoryMap": {
|
||
"post": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "新增门店类别",
|
||
"operationId": "StoreController.新增门店类别",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeID",
|
||
"description": "门店ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "categroyID",
|
||
"description": "京西分类id",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "level",
|
||
"description": "分类级别",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "parentID",
|
||
"description": "分类父ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeCategroyName",
|
||
"description": "类别name",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isHidden",
|
||
"description": "是否隐藏",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeCategroySeq",
|
||
"description": "类别序号",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/AddStoreCourierMap": {
|
||
"post": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "新增门店快递映射信息",
|
||
"operationId": "StoreController.新增门店快递映射信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeID",
|
||
"description": "门店ID,payload中的相应字段会被忽略",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorID",
|
||
"description": "快递厂商ID,payload中的相应字段会被忽略",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payload",
|
||
"description": "json数据,StoreCourierMap对象(当前只有status, vendorStoreId两项)",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/AddStoreMapAudit": {
|
||
"post": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "商户申请授权绑定",
|
||
"operationId": "StoreController.商户申请授权绑定",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeID",
|
||
"description": "门店ID,payload中的相应字段会被忽略",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorID",
|
||
"description": "厂商ID,payload中的相应字段会被忽略",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorOrgCode",
|
||
"description": "厂商内组织代码",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorStoreID",
|
||
"description": "平台门店ID",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorStoreName",
|
||
"description": "平台门店名",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorAccount",
|
||
"description": "平台账号",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorPasswaord",
|
||
"description": "平台账号密码",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/AddStoreVendorMap": {
|
||
"post": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "新增门店映射信息",
|
||
"operationId": "StoreController.新增门店映射信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeID",
|
||
"description": "门店ID,payload中的相应字段会被忽略",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorID",
|
||
"description": "厂商ID,payload中的相应字段会被忽略",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorOrgCode",
|
||
"description": "厂商内组织代码",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payload",
|
||
"description": "json数据,storeMap对象({'vendorStoreID':'11732425','autoPickup':1,'deliveryCompetition':1, 'pricePercentage':100})",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/AuditStoreMap": {
|
||
"post": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "审核商户申请授权",
|
||
"operationId": "StoreController.审核商户申请授权",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "ID",
|
||
"description": "申请记录的ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorOrgCode",
|
||
"description": "厂商内组织代码",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorStoreID",
|
||
"description": "平台门店ID",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "auditStatus",
|
||
"description": "审核标志,1为通过,-1为不通过",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "comment",
|
||
"description": "不通过原因",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/BalanceRecharge": {
|
||
"post": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "远程平台充值",
|
||
"operationId": "StoreController.远程平台充值",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorID",
|
||
"description": "门店所属的厂商ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "amount",
|
||
"description": "充值金额分",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "category",
|
||
"description": "链接场景[PC,H5]",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "notifyUrl",
|
||
"description": "成功跳转链接(支付宝有,微信没有)",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/BatchGetMTStoreLogos": {
|
||
"get": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "批量获取美团门店logo图片",
|
||
"operationId": "StoreController.批量获取美团门店logo图片",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorOrgCode",
|
||
"description": "美团平台账号",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeIDs",
|
||
"description": "美团门店IDs",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/BatchUpdateMTStoreLogos": {
|
||
"post": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "批量修改美团门店logo图片",
|
||
"operationId": "StoreController.批量修改美团门店logo图片",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorOrgCode",
|
||
"description": "美团平台账号",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "relInfos",
|
||
"description": "美团门店与logo链接的map",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/BindJxPrinter": {
|
||
"post": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "门店存在时,绑定打印机账号信息",
|
||
"operationId": "StoreController.门店存在时,绑定打印机账号信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeId",
|
||
"description": "京西门店id",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "printSn",
|
||
"description": "打印机编号",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "printKey",
|
||
"description": "打印机秘钥",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/BindPrinter": {
|
||
"post": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "门店绑定打印",
|
||
"operationId": "StoreController.门店绑定打印",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeID",
|
||
"description": "京西门店ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "data",
|
||
"description": "原始数据",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/BindSecretNumber": {
|
||
"post": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "绑定号码",
|
||
"operationId": "StoreController.绑定号码",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "secretNumber",
|
||
"description": "隐私号",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "numberA",
|
||
"description": "号码1",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "numberB",
|
||
"description": "号码2",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "expiration",
|
||
"description": "绑定时间(绑定到多久",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/BuySecretNo": {
|
||
"post": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "购买号码",
|
||
"operationId": "StoreController.购买号码",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "poolKey",
|
||
"description": "号码池key",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/CreateDDStoreFence": {
|
||
"post": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "创建抖店电子围栏",
|
||
"operationId": "StoreController.创建抖店电子围栏",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payload",
|
||
"description": "json数据,[]string对象",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/CreateDDWarehouse": {
|
||
"post": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "创建绑定抖音区域仓",
|
||
"operationId": "StoreController.创建绑定抖音区域仓",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorOrgCode",
|
||
"description": "抖音门店总账号",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorStoreID",
|
||
"description": "抖音门店id",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeID",
|
||
"description": "京西门店ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/CreateFreeShipTemplates": {
|
||
"post": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "批量创建抖店包邮运费模板",
|
||
"operationId": "StoreController.批量创建抖店包邮运费模板",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "shipFee",
|
||
"description": "包邮金额",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payload",
|
||
"description": "json数据,[]string对象",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/CreateStore": {
|
||
"post": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "创建京西门店",
|
||
"operationId": "StoreController.创建京西门店",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payload",
|
||
"description": "json数据,store对象",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/CreateStore2Print": {
|
||
"post": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "打印机授权创建京西门店",
|
||
"operationId": "StoreController.打印机授权创建京西门店(除门店名称和登录授权电话真实有效其他使用默认值)",
|
||
"parameters": [
|
||
{
|
||
"in": "formData",
|
||
"name": "payload",
|
||
"description": "json数据,store对象",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/CreateStoreAudit": {
|
||
"post": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "用户申请门店审核",
|
||
"operationId": "StoreController.用户申请门店审核",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payload",
|
||
"description": "json数据,store对象",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/CreateStoreByUser": {
|
||
"post": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "商户创建京西门店",
|
||
"operationId": "StoreController.商户创建京西门店",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "mobile",
|
||
"description": "电话",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/CreateStorePriceScore": {
|
||
"post": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "生成门店价格分数表",
|
||
"operationId": "StoreController.生成门店价格分数表",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/CreateVendorStore": {
|
||
"post": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "创建平台门店",
|
||
"operationId": "StoreController.创建平台门店",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeID",
|
||
"description": "门店ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorID",
|
||
"description": "平台ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payload",
|
||
"description": "json数据,store对象",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/DelSecretBind": {
|
||
"post": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "解除绑定",
|
||
"operationId": "StoreController.解除绑定",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "poolKey",
|
||
"description": "号码池key",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "subsID",
|
||
"description": "绑定关系ID(查询列表中有",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "secretNumber",
|
||
"description": "号码x",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/DeletePrinterSeq": {
|
||
"post": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "清空打印机打印队列",
|
||
"operationId": "StoreController.清空打印机打印队列",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeIDs",
|
||
"description": "门店列表",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/DeleteStore": {
|
||
"delete": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "删除京西门店",
|
||
"operationId": "StoreController.删除京西门店",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeID",
|
||
"description": "门店ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/DeleteStoreCourierMap": {
|
||
"delete": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "删除门店快递映射信息",
|
||
"operationId": "StoreController.删除门店快递映射信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeID",
|
||
"description": "门店ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorID",
|
||
"description": "快递厂商ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/DeleteStoreVendorMap": {
|
||
"delete": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "删除门店映射信息",
|
||
"operationId": "StoreController.删除门店映射信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeID",
|
||
"description": "门店ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorID",
|
||
"description": "厂商ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/EnableHaveRestStores": {
|
||
"put": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "启用所有临时休息门店",
|
||
"operationId": "StoreController.启用所有临时休息门店",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步操作",
|
||
"required": true,
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/ExportShopsHealthInfo": {
|
||
"get": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "导出门店健康度信息",
|
||
"operationId": "StoreController.导出门店健康度信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorIDs",
|
||
"description": "平台ID列表",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeIDs",
|
||
"description": "门店ID列表",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isAsync",
|
||
"description": "是否异步操作",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/GetBrandCategoryMap": {
|
||
"get": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "得到品牌类别",
|
||
"operationId": "StoreController.得到品牌类别",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "parentID",
|
||
"description": "父ID",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "level",
|
||
"description": "分类等级",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "brandID",
|
||
"description": "品牌ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/GetBrandSecretNumbers": {
|
||
"get": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "查询品牌号码",
|
||
"operationId": "StoreController.查询品牌号码",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "brandID",
|
||
"description": "品牌ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/GetBrandStore": {
|
||
"get": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "查询品牌店铺",
|
||
"operationId": "StoreController.查询品牌店铺",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "name",
|
||
"description": "品牌名",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/GetBrandUser": {
|
||
"get": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "查询品牌用户",
|
||
"operationId": "StoreController.查询品牌用户",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "brandID",
|
||
"description": "brandID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/GetBrands": {
|
||
"get": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "查询品牌",
|
||
"operationId": "StoreController.查询品牌",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "brandID",
|
||
"description": "品牌ID",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "name",
|
||
"description": "品牌名",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isManage",
|
||
"description": "是否是查自己管理的品牌",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/GetCitySettlementInfo": {
|
||
"get": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "根据城市code统计京西收益",
|
||
"operationId": "StoreController.根据城市code统计京西收益",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "cityCode",
|
||
"description": "京西门店城市列表[1,2,3],缺省不限制",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorIds",
|
||
"description": "京西门店ID列表[1,2,3],缺省不限制",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "start",
|
||
"description": "起始时间1970-01-01 00:00:00",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "end",
|
||
"description": "结束时间1970-01-01 23:59:59",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "size",
|
||
"description": "每页最大数",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "offset",
|
||
"description": "跳过数量",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "ranke",
|
||
"description": "排序字段 order_count,desc",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/GetCorporationInfo": {
|
||
"get": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "得到工商执照企业信息",
|
||
"operationId": "StoreController.得到工商执照企业信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "licenceCode",
|
||
"description": "营业执照号",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "licenceImg",
|
||
"description": "营业执图片",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/GetDDScope": {
|
||
"get": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "获取抖店门店建议范围",
|
||
"operationId": "StoreController.获取抖店门店建议范围",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeID",
|
||
"description": "门店ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorStoreID",
|
||
"description": "平台门店ID",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/GetDiffJxStoreAndMTWMStoreInfo": {
|
||
"post": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "比较美团配送门店信息",
|
||
"operationId": "StoreController.比较美团配送门店信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeIDs",
|
||
"description": "门店ids",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/GetHomePageByLocation": {
|
||
"get": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "根据位置得到首页商店详细信息",
|
||
"operationId": "StoreController.根据位置得到首页商店详细信息",
|
||
"parameters": [
|
||
{
|
||
"in": "query",
|
||
"name": "lng",
|
||
"description": "经度",
|
||
"required": true,
|
||
"type": "number",
|
||
"format": "double"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "lat",
|
||
"description": "纬度",
|
||
"required": true,
|
||
"type": "number",
|
||
"format": "double"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "needWalkDistance",
|
||
"description": "是否需要返回步行距离(且以步行距离排序)",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "brandID",
|
||
"description": "品牌ID",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/GetJdDeliveryArea": {
|
||
"get": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "获取京东门店手动划的配送范围面积",
|
||
"operationId": "StoreController.获取京东门店手动划的配送范围面积",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeIDs",
|
||
"description": "门店IDs",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/GetJddjStoreInfo": {
|
||
"get": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "查询京东到家app上门店信息",
|
||
"operationId": "StoreController.查询京东到家app上门店信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorStoreID",
|
||
"description": "门店id",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/GetMtAuditList": {
|
||
"get": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "远查询美团门店logo审核状态",
|
||
"operationId": "StoreController.查询美团门店logo审核状态",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "appPoiCodes",
|
||
"description": "门店ID列表",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorOrgCode",
|
||
"description": "厂商内组织代码",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/GetNearSupplyGoodsStoreByStoreID": {
|
||
"get": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "修根据门店获取距离最近的货源店铺",
|
||
"operationId": "StoreController.根据门店获取距离最近的货源店铺",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeID",
|
||
"description": "门店ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/GetOrderID4Comment": {
|
||
"get": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "根据cookie获取美团差评订单id(多店)",
|
||
"operationId": "StoreController.根据cookie获取美团差评订单id(多店)不一定准确",
|
||
"parameters": [
|
||
{
|
||
"in": "query",
|
||
"name": "vendorID",
|
||
"description": "厂商ID(缺省为全部)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "userName",
|
||
"description": "平台账号id",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "appOrgCode",
|
||
"description": "平台号",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "fromTime",
|
||
"description": "创建起始时间",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "toTime",
|
||
"description": "创建结束时间",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/GetSecretNumberBind": {
|
||
"get": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "查询号码绑定关系",
|
||
"operationId": "StoreController.查询号码绑定关系",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "poolKey",
|
||
"description": "号码池key",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "secretNumber",
|
||
"description": "隐私号",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/GetStoreAcctBalance": {
|
||
"get": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "查询门店账户余额",
|
||
"operationId": "StoreController.查询门店账户余额",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeID",
|
||
"description": "门店ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/GetStoreAlertList": {
|
||
"post": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "得到门店触犯红线/黄线数据",
|
||
"operationId": "StoreController.得到门店触犯红线/黄线数据",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeIDs",
|
||
"description": "京西门店ID列表",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "cityCode",
|
||
"description": "城市编码",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "keyword",
|
||
"description": "关键字",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "dateTime",
|
||
"description": "统计日期",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "offset",
|
||
"description": "列表起始序号(以0开始,缺省为0)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "pageSize",
|
||
"description": "列表页大小(缺省为50,-1表示全部)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/GetStoreAudit": {
|
||
"get": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "获取用户申请门店审核",
|
||
"operationId": "StoreController.获取用户申请门店审核",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "applyTimeStart",
|
||
"description": "申请开始时间",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "applyTimeEnd",
|
||
"description": "申请结束时间",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "auditTimeStart",
|
||
"description": "审核开始时间",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "auditTimeEnd",
|
||
"description": "审核结束时间",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "name",
|
||
"description": "审核人",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "statuss",
|
||
"description": "审核状态",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "keyword",
|
||
"description": "关键字",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "offset",
|
||
"description": "门店列表起始序号(以0开始,缺省为0)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "pageSize",
|
||
"description": "门店列表页大小(缺省为50,-1表示全部)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/GetStoreAutoCallRiderInfo": {
|
||
"get": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "批量获取抖音门店自动呼叫运力设置",
|
||
"operationId": "StoreController.批量获取抖音门店自动呼叫运力设置",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorOrgCode",
|
||
"description": "抖音门店总账号",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeIDs",
|
||
"description": "抖音门店IDs",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/GetStoreCategoryMap": {
|
||
"get": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "得到门店类别",
|
||
"operationId": "StoreController.得到门店类别",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "parentID",
|
||
"description": "父ID",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "level",
|
||
"description": "分类等级",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeID",
|
||
"description": "门店ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/GetStoreCategoryNoDefault": {
|
||
"get": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "得到门店分类,该功能属于手机客户端!与上功能相同!只是不再返回默认门店分类。",
|
||
"operationId": "StoreController.得到门店类别",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "parentID",
|
||
"description": "父ID",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "level",
|
||
"description": "分类等级",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeID",
|
||
"description": "门店ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/GetStoreCourierMaps": {
|
||
"get": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "得到门店快递映射信息",
|
||
"operationId": "StoreController.得到门店快递映射信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeID",
|
||
"description": "门店ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorId",
|
||
"description": "平台id",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/GetStoreFineDesc": {
|
||
"get": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "获取门店违约金详情",
|
||
"operationId": "StoreController.获取门店违约金详情",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeIDs",
|
||
"description": "京西门店ID列表[1,2,3],缺省不限制",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "fromTime",
|
||
"description": "起始时间",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "toTime",
|
||
"description": "结束时间",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/GetStoreListByLocation": {
|
||
"get": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "根据位置得到推荐门店列表",
|
||
"operationId": "StoreController.根据位置得到推荐门店列表",
|
||
"parameters": [
|
||
{
|
||
"in": "query",
|
||
"name": "lng",
|
||
"description": "经度",
|
||
"required": true,
|
||
"type": "number",
|
||
"format": "double"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "lat",
|
||
"description": "纬度",
|
||
"required": true,
|
||
"type": "number",
|
||
"format": "double"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "needWalkDistance",
|
||
"description": "是否需要返回步行距离(且以步行距离排序)",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "brandID",
|
||
"description": "品牌ID",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/GetStoreMapAudit": {
|
||
"get": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "查询商户申请授权",
|
||
"operationId": "StoreController.查询商户申请授权",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeIDs",
|
||
"description": "门店IDs",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorIDs",
|
||
"description": "平台IDs",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "auditStatuss",
|
||
"description": "审核状态s",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "fromTime",
|
||
"description": "审核时间",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "toTime",
|
||
"description": "审核时间",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "offset",
|
||
"description": "门店列表起始序号(以0开始,缺省为0)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "pageSize",
|
||
"description": "门店列表页大小(缺省为50,-1表示全部)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/GetStorePriceScore": {
|
||
"post": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "查询门店价格评分",
|
||
"operationId": "StoreController.查询门店价格评分",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeIDs",
|
||
"description": "门店列表",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorIDs",
|
||
"description": "厂商列表",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "snapDate",
|
||
"description": "时间,默认前一天(格式2006-01-02",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "fromScore",
|
||
"description": "分数范围开始 默认0",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "toScore",
|
||
"description": "分数范围结束 默认100",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "sort",
|
||
"description": "分数排序,-1降序,-升序 ,直降排序,-2降序,2升序,秒杀排序,-3降序,3升序",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "offset",
|
||
"description": "门店列表起始序号(以0开始,缺省为0)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "pageSize",
|
||
"description": "门店列表页大小(缺省为50,-1表示全部)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/GetStoreSettlementInfo": {
|
||
"get": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "统计门店订单结算以及京西收益,与美团订单对比",
|
||
"operationId": "StoreController.统计门店订单结算以及京西收益,与美团订单对比",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeIDs",
|
||
"description": "京西门店ID列表[1,2,3],缺省不限制",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorIds",
|
||
"description": "京西门店ID列表[1,2,3],缺省不限制",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "start",
|
||
"description": "起始时间1970-01-01 00:00:00",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "end",
|
||
"description": "结束时间1970-01-01 23:59:59",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "size",
|
||
"description": "每页最大数",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "offset",
|
||
"description": "跳过数量",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "ranke",
|
||
"description": "排序字段 order_count,desc",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/GetStoreTotalScoreList": {
|
||
"post": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "得到门店总分排名",
|
||
"operationId": "StoreController.得到门店总分排名",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeIDs",
|
||
"description": "京西门店ID列表",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "cityCode",
|
||
"description": "城市编码",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "keyword",
|
||
"description": "关键字",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "beginTime",
|
||
"description": "开始日期",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "endTime",
|
||
"description": "结束日期",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isDesc",
|
||
"description": "是否降序",
|
||
"required": true,
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "checkScoreLow",
|
||
"description": "在某个分数范围-低",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "checkScoreHigh",
|
||
"description": "在某个分数范围-高",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "offset",
|
||
"description": "列表起始序号(以0开始,缺省为0)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "pageSize",
|
||
"description": "列表页大小(缺省为50,-1表示全部)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/GetStoreVendorMaps": {
|
||
"get": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "得到门店映射信息",
|
||
"operationId": "StoreController.得到门店映射信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeID",
|
||
"description": "门店ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorID",
|
||
"description": "厂商ID(缺省为全部)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/GetStores": {
|
||
"get": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "得到京西门店信息,如下条件之间是与的关系",
|
||
"operationId": "StoreController.得到京西门店信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "keyword",
|
||
"description": "查询关键字(可以为空,为空表示不限制)",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeID",
|
||
"description": "门店ID",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "startStoreID",
|
||
"description": "起始门店ID",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "coordinateType",
|
||
"description": "返回坐标类型,0:火星坐标,1:百度,缺省0",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeIDs",
|
||
"description": "门店ID列表",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "name",
|
||
"description": "门店名称(不要求完全一致)",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "placeID",
|
||
"description": "所属地点ID",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "placeLevel",
|
||
"description": "所属地点级别",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "address",
|
||
"description": "门店地址",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "tel",
|
||
"description": "电话",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "statuss",
|
||
"description": "门店状态列表[-1,0,1],(-1:禁用;0:休息,关店;1:正常开店),缺省不限制",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorStoreCond",
|
||
"description": "查询关联门店的条件(如果此字段没有设置,vendorStoreConds无效),and:与,or:或,指的是vendorStoreConds里的条件间的关系,这组条件与其它条件都是与的关系",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorStoreConds",
|
||
"description": "为厂商条件对象{vendorID: cond},注意vendorID是字符串形式,cond,-1:没有关联,0:不限定,1:有关联,缺省为0,其它值表示vendorOrgCode",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "courierStoreCond",
|
||
"description": "查询关联门店的条件(如果此字段没有设置,courierStoreConds无效),and:与,or:或,指的是courierStoreConds里的条件间的关系,这组条件与其它条件都是与的关系",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "courierStoreConds",
|
||
"description": "为厂商条件对象{vendorID: cond},注意vendorID是字符串形式,cond,-1:没有关联,0:不限定,1:有关联,缺省为0",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "mapLongitude",
|
||
"description": "地图中心经度",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "mapLatitude",
|
||
"description": "地图中心纬度",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "mapRadius",
|
||
"description": "地图半径(单位为米)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "orderTimeFrom",
|
||
"description": "订单创建起始时间",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "orderTimeTo",
|
||
"description": "订单创建结束时间",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "orderCountFrom",
|
||
"description": "订单量起始",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "orderCountTo",
|
||
"description": "订单量结束",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "marketManPhone",
|
||
"description": "市场负责人电话",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "briefLevel",
|
||
"description": "返回信息精简模式",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeLevels",
|
||
"description": "门店等级",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "brandID",
|
||
"description": "品牌ID",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "marketManPhones",
|
||
"description": "市场负责人电话们",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "jdPhone",
|
||
"description": "京东运营负责人电话",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "mtPhone",
|
||
"description": "美团运营负责人电话",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "ebaiPhone",
|
||
"description": "饿百运营负责人电话",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "earningType",
|
||
"description": "结算方式(1为报价,2为扣点)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isBussinessStatus",
|
||
"description": "查不查门店上下线状态",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "offset",
|
||
"description": "门店列表起始序号(以0开始,缺省为0)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "pageSize",
|
||
"description": "门店列表页大小(缺省为50,-1表示全部)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
},
|
||
"post": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "得到京西门店信息,如下条件之间是与的关系",
|
||
"operationId": "StoreController.得到京西门店信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "keyword",
|
||
"description": "查询关键字(可以为空,为空表示不限制)",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeID",
|
||
"description": "门店ID",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "startStoreID",
|
||
"description": "起始门店ID",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "coordinateType",
|
||
"description": "返回坐标类型,0:火星坐标,1:百度,缺省0",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeIDs",
|
||
"description": "门店ID列表",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "name",
|
||
"description": "门店名称(不要求完全一致)",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "placeID",
|
||
"description": "所属地点ID",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "placeLevel",
|
||
"description": "所属地点级别",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "address",
|
||
"description": "门店地址",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "tel",
|
||
"description": "电话",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "statuss",
|
||
"description": "门店状态列表[-1,0,1],(-1:禁用;0:休息,关店;1:正常开店),缺省不限制",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorStoreCond",
|
||
"description": "查询关联门店的条件(如果此字段没有设置,vendorStoreConds无效),and:与,or:或,指的是vendorStoreConds里的条件间的关系,这组条件与其它条件都是与的关系",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorStoreConds",
|
||
"description": "为厂商条件对象{vendorID: cond},注意vendorID是字符串形式,cond,-1:没有关联,0:不限定,1:有关联,缺省为0,其它值表示vendorOrgCode",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "courierStoreCond",
|
||
"description": "查询关联门店的条件(如果此字段没有设置,courierStoreConds无效),and:与,or:或,指的是courierStoreConds里的条件间的关系,这组条件与其它条件都是与的关系",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "courierStoreConds",
|
||
"description": "为厂商条件对象{vendorID: cond},注意vendorID是字符串形式,cond,-1:没有关联,0:不限定,1:有关联,缺省为0",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "mapLongitude",
|
||
"description": "地图中心经度",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "mapLatitude",
|
||
"description": "地图中心纬度",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "mapRadius",
|
||
"description": "地图半径(单位为米)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "orderTimeFrom",
|
||
"description": "订单创建起始时间",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "orderTimeTo",
|
||
"description": "订单创建结束时间",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "orderCountFrom",
|
||
"description": "订单量起始",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "orderCountTo",
|
||
"description": "订单量结束",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "marketManPhone",
|
||
"description": "市场负责人电话",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "briefLevel",
|
||
"description": "返回信息精简模式",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeLevels",
|
||
"description": "门店等级",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "brandID",
|
||
"description": "品牌ID",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "marketManPhones",
|
||
"description": "市场负责人电话们",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "jdPhone",
|
||
"description": "京东运营负责人电话",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "mtPhone",
|
||
"description": "美团运营负责人电话",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "ebaiPhone",
|
||
"description": "饿百运营负责人电话",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "earningType",
|
||
"description": "结算方式(1为报价,2为扣点)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isBussinessStatus",
|
||
"description": "查不查门店上下线状态",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "offset",
|
||
"description": "门店列表起始序号(以0开始,缺省为0)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "pageSize",
|
||
"description": "门店列表页大小(缺省为50,-1表示全部)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/GetVendorStore": {
|
||
"get": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "远程查询厂商门店信息,这个是实时调用API远程查询",
|
||
"operationId": "StoreController.远程查询厂商门店信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorStoreID",
|
||
"description": "门店ID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorID",
|
||
"description": "门店所属的厂商ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorOrgCode",
|
||
"description": "厂商内组织代码",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/GetVendorStoreInfo": {
|
||
"post": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "导出平台门店信息",
|
||
"operationId": "StoreController.导出平台门店信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorIDs",
|
||
"description": "平台ID列表",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步操作",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/GetWeeklyStoreScore": {
|
||
"get": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "得到门店近期周平均分数数据",
|
||
"operationId": "StoreController.得到门店近期周平均分数数据",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeID",
|
||
"description": "京西门店ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "weekIndex",
|
||
"description": "周索引(起始索引为0, -1为所有周数据)",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/InsertBrandCategories": {
|
||
"post": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "修改品牌分类为京西分类",
|
||
"operationId": "StoreController.修改品牌分类为京西分类",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "brandID",
|
||
"description": "品牌ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/InsertStoreCategories": {
|
||
"post": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "修改门店分类为京西分类",
|
||
"operationId": "StoreController.修改门店分类为京西分类",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeID",
|
||
"description": "门店ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/JdStoreInfoCoordinateRecover": {
|
||
"post": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "老格恢复拓店进度",
|
||
"operationId": "StoreController.老格恢复拓店进度",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorOrgCode",
|
||
"description": "厂商内组织代码",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/PrintCheckAccountAuthorization": {
|
||
"post": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "打印机获取授权账号再京西菜市的绑定关系",
|
||
"operationId": "StoreController.打印机获取授权账号再京西菜市的绑定关系(其实就是根据平台门店id获取绑定门店id)",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorStoreId",
|
||
"description": "平台账号id",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorId",
|
||
"description": "平台id",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/QueryPlatformBalance": {
|
||
"get": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "查询远程平台可以金额",
|
||
"operationId": "StoreController.查询远程平台可以金额",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorID",
|
||
"description": "门店所属的厂商ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/RefreshJdLevel": {
|
||
"post": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "刷新store_map的京东等级",
|
||
"operationId": "StoreController.刷新store_map的京东等级",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/ReorderBrandCategories": {
|
||
"put": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "品牌类别重排序",
|
||
"operationId": "StoreController.品牌类别重排序",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "categoryID",
|
||
"description": "父ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "brandID",
|
||
"description": "门店ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "categoryIDs",
|
||
"description": "同一父类别下的所有子类别ID列表([1,2,3,4])",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/ReplaceInsertFreight": {
|
||
"post": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "测试操作freight_template",
|
||
"operationId": "StoreController.测试操作freight_template",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeID",
|
||
"description": "京西门店id",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorStoreID",
|
||
"description": "抖音平台id",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "templateID",
|
||
"description": "运费模板id",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "warehouseID",
|
||
"description": "仓库id",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "fenceID",
|
||
"description": "电子围栏id",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "tradeLimitID",
|
||
"description": "限售模板id",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/ScoreStore": {
|
||
"post": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "门店评分",
|
||
"operationId": "StoreController.门店评分",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeIDs",
|
||
"description": "京西门店ID列表",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/SetStoreAutoCallRider": {
|
||
"post": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "批量配置抖音门店自动呼叫运力",
|
||
"operationId": "StoreController.批量配置抖音门店自动呼叫运力",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorOrgCode",
|
||
"description": "抖音总账号",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "openIDs",
|
||
"description": "开启自动运力门店,string对象",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "closeIDs",
|
||
"description": "关闭自动运力门店,string对象",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/SingleBindTaoVegetable": {
|
||
"post": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "批量绑定淘鲜达门店",
|
||
"operationId": "StoreController.批量绑定淘鲜达门店",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorOrgCode",
|
||
"description": "账号id",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "bindInfos",
|
||
"description": "TaoBindInfo",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/StoreAudit": {
|
||
"post": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "门店审核",
|
||
"operationId": "StoreController.门店审核",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payload",
|
||
"description": "json数据,storeaudit对象",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "status",
|
||
"description": "审核标志,1通过,-1 不通过",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/StoreConfirmAct": {
|
||
"post": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "商家确认参与活动",
|
||
"operationId": "StoreController.商家确认参与活动",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "status",
|
||
"description": "确认或取消,确认1,取消-1",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "msgStatusID",
|
||
"description": "消息状态ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/SyncJdStore": {
|
||
"post": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "同步京东门店",
|
||
"operationId": "StoreController.同步指定京东门店",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/SyncStoresCourierInfo": {
|
||
"post": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "同步快递平台门店信息并报警",
|
||
"operationId": "StoreController.同步快递平台门店信息并报警",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeIDs",
|
||
"description": "京西门店ID列表,必须非空值",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步操作",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/SyncStoresQualify": {
|
||
"post": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "同步门店资质信息至平台(当前只支持京东)",
|
||
"operationId": "StoreController.同步门店资质信息至平台(当前只支持京东)",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeIDs",
|
||
"description": "京西门店ID列表,必须非空值",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorID",
|
||
"description": "平台ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步操作",
|
||
"required": true,
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/TmpGetJxBadComments": {
|
||
"get": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "得到门店评价列表(多店)",
|
||
"operationId": "StoreController.得到门店评价列表(多店)",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "type",
|
||
"description": "评论类型,0:差评,1:所有,2:已解决",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "keyword",
|
||
"description": "关键字",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeIDs",
|
||
"description": "门店Id列表",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "fromTime",
|
||
"description": "创建起始时间",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "toTime",
|
||
"description": "创建结束时间",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "orderFlag",
|
||
"description": "订单平台[0,1,2]",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "operatorPhone",
|
||
"description": "负责人电话",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "offset",
|
||
"description": "起始页,从1开始",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "pageSize",
|
||
"description": "页大小(-1表示无限大)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/TmpGetJxBadCommentsByStoreId": {
|
||
"get": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "得到门店评价列表",
|
||
"operationId": "StoreController.得到门店评价列表",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "jxStoreId",
|
||
"description": "门店ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "type",
|
||
"description": "评论类型,0:差评,1:所有",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "page",
|
||
"description": "起始页,从1开始",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "size",
|
||
"description": "页大小(-1表示无限大)",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "fromTime",
|
||
"description": "创建起始时间",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "toTime",
|
||
"description": "创建结束时间",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/TmpGetJxBadCommentsNo": {
|
||
"get": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "得到门店差评总数,此函数为兼容老系统,之后会被替换",
|
||
"operationId": "StoreController.得到门店差评总数",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "jxStoreId",
|
||
"description": "门店ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/UpdateBrand": {
|
||
"post": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "修改品牌",
|
||
"operationId": "StoreController.修改品牌",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payload",
|
||
"description": "brand payload",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isDel",
|
||
"description": "是否是删除",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/UpdateBrandCategoryMap": {
|
||
"put": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "修改品牌类别",
|
||
"operationId": "StoreController.修改品牌类别",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "ID",
|
||
"description": "记录ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "categoryID",
|
||
"description": "京西分类id",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "brandCategroyName",
|
||
"description": "类别name",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "level",
|
||
"description": "分类级别",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "parentID",
|
||
"description": "分类父ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isDelete",
|
||
"description": "是否是删除操作,默认false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/UpdateBrandUser": {
|
||
"post": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "修改品牌用户",
|
||
"operationId": "StoreController.修改品牌用户",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "brandID",
|
||
"description": "brandID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "userID",
|
||
"description": "userID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isDel",
|
||
"description": "true是删除,false是添加",
|
||
"required": true,
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/UpdateOrCreateCourierStores": {
|
||
"put": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "自动创建或更新快递门店",
|
||
"operationId": "StoreController.自动创建或更新快递门店",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeID",
|
||
"description": "门店ID",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isForceUpdate",
|
||
"description": "是否强制更新",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步操作",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/UpdateOrCreateCourierStoresByBrand": {
|
||
"post": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "根据品牌自动创建或更新快递门店",
|
||
"operationId": "StoreController.根据品牌自动创建或更新快递门店",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "brandID",
|
||
"description": "品牌ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorID",
|
||
"description": "平台ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/UpdateSecretBind": {
|
||
"post": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "修改绑定",
|
||
"operationId": "StoreController.修改绑定",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "poolKey",
|
||
"description": "号码池key",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "subsID",
|
||
"description": "绑定关系ID(查询列表中有",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "secretNumber",
|
||
"description": "号码x",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "numberA",
|
||
"description": "号码1",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "numberB",
|
||
"description": "号码2",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "expiration",
|
||
"description": "绑定时间(绑定到多久",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/UpdateStore": {
|
||
"put": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "修改门店信息",
|
||
"operationId": "StoreController.修改门店信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeID",
|
||
"description": "京西门店编号,payload中的京西门店编号会被忽略",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payload",
|
||
"description": "json数据,store对象",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/UpdateStoreCategoryMap": {
|
||
"put": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "修改门店类别",
|
||
"operationId": "StoreController.修改门店类别",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "ID",
|
||
"description": "记录ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "categoryID",
|
||
"description": "京西分类id",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeCategroyName",
|
||
"description": "类别name",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "level",
|
||
"description": "分类级别",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "parentID",
|
||
"description": "分类父ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isHidden",
|
||
"description": "是否隐藏",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isDelete",
|
||
"description": "是否是删除操作,默认false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/UpdateStoreCourierMap": {
|
||
"put": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "修改门店快递映射信息",
|
||
"operationId": "StoreController.修改门店快递映射信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeID",
|
||
"description": "门店ID,payload中的相应字段会被忽略",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorID",
|
||
"description": "快递厂商ID,payload中的相应字段会被忽略",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payload",
|
||
"description": "json数据,StoreCourierMap对象(当前只有status, vendorStoreId两项)",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/UpdateStorePricePack": {
|
||
"put": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "修改门店专属调价包",
|
||
"operationId": "StoreController.修改门店专属调价包",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeID",
|
||
"description": "门店ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorID",
|
||
"description": "平台ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "pricePack",
|
||
"description": "门店调价包",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "value",
|
||
"description": "调价包json串",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/UpdateStorePushClient": {
|
||
"post": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "修改门店对应Cid(个推推送uniapp消息用)",
|
||
"operationId": "StoreController.修改门店对应Cid(个推推送uniapp消息用)",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeID",
|
||
"description": "门店ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "clientID",
|
||
"description": "cID",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/UpdateStoreTemplate": {
|
||
"post": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "更新打印模板",
|
||
"operationId": "StoreController.更新打印模板",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeID",
|
||
"description": "门店ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "content",
|
||
"description": "模板内容",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "sound",
|
||
"description": "语音内容",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/UpdateStoreVendorMap": {
|
||
"put": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "修改门店映射信息",
|
||
"operationId": "StoreController.修改门店映射信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeID",
|
||
"description": "门店ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorID",
|
||
"description": "厂商ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payload",
|
||
"description": "json数据,storeMap对象",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/UpdateTxdStore": {
|
||
"post": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "更新淘鲜达门店信息",
|
||
"operationId": "StoreController.更新淘鲜达门店信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorOrgCode",
|
||
"description": "平台账号",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "txdStores",
|
||
"description": "TxdStore",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/UpdateVendorStoreBussinessStatus": {
|
||
"post": {
|
||
"tags": [
|
||
"store"
|
||
],
|
||
"description": "直接修改平台门店上下线",
|
||
"operationId": "StoreController.直接修改平台门店上下线",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeID",
|
||
"description": "门店ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorIDs",
|
||
"description": "订单所属厂商列表[1,2,3],缺省不限制",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "status",
|
||
"description": "状态,-1 下线,1上线",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/sku/AutoFocusStoreSkusForTopSkus": {
|
||
"post": {
|
||
"tags": [
|
||
"store/sku"
|
||
],
|
||
"description": "自动关注畅销品",
|
||
"operationId": "StoreSkuController.自动关注畅销品",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步,缺省是同步",
|
||
"required": true,
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"required": true,
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/sku/BackUpStoreSkuBind": {
|
||
"post": {
|
||
"tags": [
|
||
"store/sku"
|
||
],
|
||
"description": "生成门店商品备份表",
|
||
"operationId": "StoreSkuController.生成门店商品备份表",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步,缺省是同步",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/sku/CopyMtToJd": {
|
||
"post": {
|
||
"tags": [
|
||
"store/sku"
|
||
],
|
||
"description": "复制美团到京东",
|
||
"operationId": "StoreSkuController.复制美团到京东",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "mtStoreID",
|
||
"description": "美团门店ID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "mtOrgCode",
|
||
"description": "美团账号",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "jdStoreID",
|
||
"description": "京东门店ID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "jdOrgCode",
|
||
"description": "京东账号",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/sku/CopyMtToMt": {
|
||
"post": {
|
||
"tags": [
|
||
"store/sku"
|
||
],
|
||
"description": "美团门店复制到美团(相同平台门店相互复制)",
|
||
"operationId": "StoreSkuController.美团门店复制到美团(相同平台门店相互复制)",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "fromStoreID",
|
||
"description": "被复制门店id(平台ID)",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "toStoreID",
|
||
"description": "复制到门店id(平台ID)",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorID",
|
||
"description": "平台id[(0京东-京东)(3饿百-饿百)(1美团-美团)(14抖音-抖音)(16淘宝-淘宝)(114美团-抖音)(31饿百-美团)(13美团-饿百)]",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "offSet",
|
||
"description": "跳过页码",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "syncType",
|
||
"description": "同步类型[1-商品/2-活动/3-前两者一起同步]",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/sku/CopyStoreSkus": {
|
||
"post": {
|
||
"tags": [
|
||
"store/sku"
|
||
],
|
||
"description": "拷贝门店SKU信息(此函数当前只是本地数据操作,要同步到远端需要调用SyncStoresSkus)",
|
||
"operationId": "StoreSkuController.拷贝门店SKU信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "fromStoreID",
|
||
"description": "源门店ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "toStoreID",
|
||
"description": "目标门店ID",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "toStoreIDs",
|
||
"description": "目标门店ID列表",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "copyMode",
|
||
"description": "拷贝模式,fresh:目标门店数据全部清除后拷贝,update:确保指定的源数据全部拷贝,已有的忽略",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "pricePercentage",
|
||
"description": "价格调整百分比,缺省为100%",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "categoryIDs",
|
||
"description": "json数据,skuName所属的类别,[1,2,3]",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "skuIDs",
|
||
"description": "json数据,skuID列表,[1,2,3]",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isScale",
|
||
"description": "是否按门店结算比例缩放",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/sku/CreateSkusAndFocusFromWx": {
|
||
"post": {
|
||
"tags": [
|
||
"store/sku"
|
||
],
|
||
"description": "从微信上扫码标品到京西创建或关注",
|
||
"operationId": "StoreSkuController.从微信上扫码标品到京西创建或关注",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payload",
|
||
"description": "json数据,ProductInfo对象",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeID",
|
||
"description": "门店ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "price",
|
||
"description": "商品价格",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/sku/CreateSkusAndFocusFromYb": {
|
||
"post": {
|
||
"tags": [
|
||
"store/sku"
|
||
],
|
||
"description": "从银豹上拉取标品到京西创建",
|
||
"operationId": "StoreSkuController.从银豹上拉取标品到京西创建",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步,缺省是同步",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/sku/FocusStoreSkusByExcel": {
|
||
"post": {
|
||
"tags": [
|
||
"store/sku"
|
||
],
|
||
"description": "根据Excel中SkuID批量关注商品",
|
||
"operationId": "StoreSkuController.根据Excel中SkuID批量关注商品",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步,缺省是同步",
|
||
"required": true,
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"required": true,
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/sku/FocusStoreSkusBySku": {
|
||
"post": {
|
||
"tags": [
|
||
"store/sku"
|
||
],
|
||
"description": "根据skuID关注商品,价格为中位价,部分可售",
|
||
"operationId": "StoreSkuController.根据skuID关注商品,价格为中位价,部分可售",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payload",
|
||
"description": "json数据,StoreSkuBindInfo对象数组",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步,缺省是同步",
|
||
"required": true,
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"required": true,
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/sku/GetMissingStoreSkuFromOrder": {
|
||
"get": {
|
||
"tags": [
|
||
"store/sku"
|
||
],
|
||
"description": "从订单得到本地没有关注的商品信息",
|
||
"operationId": "StoreSkuController.从订单得到本地没有关注的商品信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "fromTime",
|
||
"description": "扫描的订单开始时间",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/sku/GetSpecialtyStoreSkus": {
|
||
"post": {
|
||
"tags": [
|
||
"store/sku"
|
||
],
|
||
"description": "查看美团力荐或京东置顶商品",
|
||
"operationId": "StoreSkuController.查看美团力荐或京东置顶商品",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorIDs",
|
||
"description": "平台ids",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeIDs",
|
||
"description": "门店IDs",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/sku/GetStoreAbnormalSkuCount": {
|
||
"get": {
|
||
"tags": [
|
||
"store/sku"
|
||
],
|
||
"description": "得到异常门店商品数量",
|
||
"operationId": "StoreSkuController.得到异常门店商品数量",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeID",
|
||
"description": "门店ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "syncStatus",
|
||
"description": "同步标志掩码",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isBySku",
|
||
"description": "是否按SKU分拆",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "fromStatus",
|
||
"description": "查询起始状态(0:不可售,1:可售)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "toStatus",
|
||
"description": "查询结束状态(0:不可售,1:可售)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/sku/GetStoreCategories": {
|
||
"get": {
|
||
"tags": [
|
||
"store/sku"
|
||
],
|
||
"description": "得到门店的分类列表(按商品销量)",
|
||
"operationId": "StoreSkuController.得到门店的分类列表",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeID",
|
||
"description": "门店ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "parentID",
|
||
"description": "父分类id",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/sku/GetStoreSkuAudit": {
|
||
"get": {
|
||
"tags": [
|
||
"store/sku"
|
||
],
|
||
"description": "查询商品审核信息",
|
||
"operationId": "StoreSkuController.查询商品审核信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "applyTimeStart",
|
||
"description": "申请开始时间",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "applyTimeEnd",
|
||
"description": "申请结束时间",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "auditTimeStart",
|
||
"description": "审核开始时间",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "auditTimeEnd",
|
||
"description": "审核结束时间",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "name",
|
||
"description": "审核人",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "remark",
|
||
"description": "不通过原因",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeIDs",
|
||
"description": "门店ID列表",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "nameIDs",
|
||
"description": "id列表对象,当前指skuname id",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "statuss",
|
||
"description": "审核状态",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "types",
|
||
"description": "改价类型,1是普通改价,2是关注",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "keyword",
|
||
"description": "关键字",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "marketManPhone",
|
||
"description": "市场负责人电话",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "cityName",
|
||
"description": "城市名",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "offset",
|
||
"description": "门店列表起始序号(以0开始,缺省为0)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "pageSize",
|
||
"description": "门店列表页大小(缺省为50,-1表示全部)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/sku/GetStoreSkus": {
|
||
"get": {
|
||
"tags": [
|
||
"store/sku"
|
||
],
|
||
"description": "得到商家商品信息,如下条件之间是与的关系。对于没有认领的商品,按城市限制。但对于已经认领的商品就不限制了,因为已经在平台上可售,可以操作(改价等等)",
|
||
"operationId": "StoreSkuController.得到商家商品信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeID",
|
||
"description": "门店ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isFocus",
|
||
"description": "是否已关注(认领)",
|
||
"required": true,
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "keyword",
|
||
"description": "查询关键字(可以为空,为空表示不限制)",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "nameID",
|
||
"description": "SkuName ID",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "nameIDs",
|
||
"description": "SkuName ID列表对象",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "skuID",
|
||
"description": "Sku ID",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "skuIDs",
|
||
"description": "Sku ID列表对象",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "name",
|
||
"description": "商品名称(不要求完全一致)",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "prefix",
|
||
"description": "商品前缀(不要求完全一致)",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "categoryID",
|
||
"description": "商品所属类别ID",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "unit",
|
||
"description": "商品单位",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "fromStatus",
|
||
"description": "查询起始状态(0:不可售,1:可售)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "toStatus",
|
||
"description": "查询结束状态(0:不可售,1:可售)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "stFromTime",
|
||
"description": "统计SKU开始时间",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "stToTime",
|
||
"description": "统计SKU结束时间",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "stFromCount",
|
||
"description": "统计SKU,结果集起始数量(包括)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "stToCount",
|
||
"description": "统计SKU,结果集结束数量(包括)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isGetOpRequest",
|
||
"description": "是否返回相应的待审核变动请求,缺省为false不返回",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "offset",
|
||
"description": "门店列表起始序号(以0开始,缺省为0)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "pageSize",
|
||
"description": "门店列表页大小(缺省为50,-1表示全部)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isBySku",
|
||
"description": "是否按SKU分拆",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isAct",
|
||
"description": "是否活动商品(包括正常活动与补贴)",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "actVendorID",
|
||
"description": "要得到哪个平台的活动信息(缺省不限制,非零最小值)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "jdSyncStatus",
|
||
"description": "京东同步标识",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "ebaiSyncStatus",
|
||
"description": "饿百同步标识",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "mtwmSyncStatus",
|
||
"description": "美团外卖同步标识",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "taoSyncStatus",
|
||
"description": "淘鲜达同步标识",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "lockTime",
|
||
"description": "价格锁定时间",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/sku/GetStoresSkus": {
|
||
"get": {
|
||
"tags": [
|
||
"store/sku"
|
||
],
|
||
"description": "得到商家商品信息,如下条件之间是与的关系。对于没有认领的商品,按城市限制。但对于已经认领的商品就不限制了,因为已经在平台上可售,可以操作(改价等等)",
|
||
"operationId": "StoreSkuController.得到商家商品信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeIDs",
|
||
"description": "门店ID",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isFocus",
|
||
"description": "是否已关注(认领)",
|
||
"required": true,
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "keyword",
|
||
"description": "查询关键字(可以为空,为空表示不限制)",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "nameIDs",
|
||
"description": "SkuName ID列表对象",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "skuIDs",
|
||
"description": "Sku ID列表对象",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "upcs",
|
||
"description": "upc列表对象",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "name",
|
||
"description": "商品名称(不要求完全一致)",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "prefix",
|
||
"description": "商品前缀(不要求完全一致)",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "categoryID",
|
||
"description": "商品所属类别ID",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "unit",
|
||
"description": "商品单位",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "fromStatus",
|
||
"description": "查询起始状态(0:不可售,1:可售)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "toStatus",
|
||
"description": "查询结束状态(0:不可售,1:可售)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "stFromTime",
|
||
"description": "统计SKU开始时间",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "stToTime",
|
||
"description": "统计SKU结束时间",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "stFromCount",
|
||
"description": "统计SKU,结果集起始数量(包括)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "stToCount",
|
||
"description": "统计SKU,结果集结束数量(包括)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isGetOpRequest",
|
||
"description": "是否返回相应的待审核变动请求,缺省为false不返回",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "offset",
|
||
"description": "门店列表起始序号(以0开始,缺省为0)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "pageSize",
|
||
"description": "门店列表页大小(缺省为50,-1表示全部)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isBySku",
|
||
"description": "是否按SKU分拆",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isAct",
|
||
"description": "是否活动商品(包括正常活动与补贴)",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "actVendorID",
|
||
"description": "要得到哪个平台的活动信息(缺省不限制,非零最小值)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "jdSyncStatus",
|
||
"description": "京东同步标识",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "ebaiSyncStatus",
|
||
"description": "饿百同步标识",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "mtwmSyncStatus",
|
||
"description": "美团外卖同步标识",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "taoSyncStatus",
|
||
"description": "陶先达同步标识",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "lockTime",
|
||
"description": "价格锁定时间",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isHighPrice",
|
||
"description": "是否查过高价格商品,0是忽略,1是高价,-1是低价",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "priceType",
|
||
"description": "是否查过高价格商品,0是忽略,1是高价,-1是低价",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "highestPrice",
|
||
"description": "查询最高价",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "minimumPrice",
|
||
"description": "查询最低价",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "minStock",
|
||
"description": "最小库存",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "maxStock",
|
||
"description": "最大库存",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isLocationCode",
|
||
"description": "是否有货架码",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
},
|
||
"post": {
|
||
"tags": [
|
||
"store/sku"
|
||
],
|
||
"description": "得到商家商品信息,如下条件之间是与的关系。对于没有认领的商品,按城市限制。但对于已经认领的商品就不限制了,因为已经在平台上可售,可以操作(改价等等)",
|
||
"operationId": "StoreSkuController.得到商家商品信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeIDs",
|
||
"description": "门店ID",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isFocus",
|
||
"description": "是否已关注(认领)",
|
||
"required": true,
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "keyword",
|
||
"description": "查询关键字(可以为空,为空表示不限制)",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "nameIDs",
|
||
"description": "SkuName ID列表对象",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "skuIDs",
|
||
"description": "Sku ID列表对象",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "upcs",
|
||
"description": "upc列表对象",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "name",
|
||
"description": "商品名称(不要求完全一致)",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "prefix",
|
||
"description": "商品前缀(不要求完全一致)",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "categoryID",
|
||
"description": "商品所属类别ID",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "unit",
|
||
"description": "商品单位",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "fromStatus",
|
||
"description": "查询起始状态(0:不可售,1:可售)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "toStatus",
|
||
"description": "查询结束状态(0:不可售,1:可售)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "stFromTime",
|
||
"description": "统计SKU开始时间",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "stToTime",
|
||
"description": "统计SKU结束时间",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "stFromCount",
|
||
"description": "统计SKU,结果集起始数量(包括)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "stToCount",
|
||
"description": "统计SKU,结果集结束数量(包括)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isGetOpRequest",
|
||
"description": "是否返回相应的待审核变动请求,缺省为false不返回",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "offset",
|
||
"description": "门店列表起始序号(以0开始,缺省为0)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "pageSize",
|
||
"description": "门店列表页大小(缺省为50,-1表示全部)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isBySku",
|
||
"description": "是否按SKU分拆",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isAct",
|
||
"description": "是否活动商品(包括正常活动与补贴)",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "actVendorID",
|
||
"description": "要得到哪个平台的活动信息(缺省不限制,非零最小值)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "jdSyncStatus",
|
||
"description": "京东同步标识",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "ebaiSyncStatus",
|
||
"description": "饿百同步标识",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "mtwmSyncStatus",
|
||
"description": "美团外卖同步标识",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "taoSyncStatus",
|
||
"description": "陶先达同步标识",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "lockTime",
|
||
"description": "价格锁定时间",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isHighPrice",
|
||
"description": "是否查过高价格商品,0是忽略,1是高价,-1是低价",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "priceType",
|
||
"description": "是否查过高价格商品,0是忽略,1是高价,-1是低价",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "highestPrice",
|
||
"description": "查询最高价",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "minimumPrice",
|
||
"description": "查询最低价",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "minStock",
|
||
"description": "最小库存",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "maxStock",
|
||
"description": "最大库存",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isLocationCode",
|
||
"description": "是否有货架码",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/sku/GetStoresSkusForStore": {
|
||
"get": {
|
||
"tags": [
|
||
"store/sku"
|
||
],
|
||
"description": "得到商家商品信息,如下条件之间是与的关系。对于没有认领的商品,按城市限制。但对于已经认领的商品就不限制了,因为已经在平台上可售,可以操作(改价等等)",
|
||
"operationId": "StoreSkuController.得到商家商品信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeID",
|
||
"description": "门店ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isFocus",
|
||
"description": "是否已关注(认领)",
|
||
"required": true,
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "stock",
|
||
"description": "库存是否为0[1-全查/2-有库存/3-没库存]",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "locationCode",
|
||
"description": "商品位置是否为空",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "keyword",
|
||
"description": "查询关键字(可以为空,为空表示不限制)",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "categoryID",
|
||
"description": "商品所属类别ID",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "status",
|
||
"description": "查询起始状态(0:不可售,1:可售,-1 全部)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "offset",
|
||
"description": "门店列表起始序号(以0开始,缺省为0)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "pageSize",
|
||
"description": "门店列表页大小(缺省为50,-1表示全部)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isAct",
|
||
"description": "是否活动商品(包括正常活动与补贴)",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/sku/GetStoresSkusSaleInfo": {
|
||
"get": {
|
||
"tags": [
|
||
"store/sku"
|
||
],
|
||
"description": "得到商家商品销售情况",
|
||
"operationId": "StoreSkuController.得到商家商品销售情况",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeIDs",
|
||
"description": "门店ID列表",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "skuIDs",
|
||
"description": "Sku ID列表",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "skuNameIDs",
|
||
"description": "Skuname ID列表",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "fromTime",
|
||
"description": "开始时间",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "toTime",
|
||
"description": "结束时间",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "saleCountBegin",
|
||
"description": "销量begin",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "saleCountEnd",
|
||
"description": "销量end",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "sortType",
|
||
"description": "排序类型,1为按销量排,正为升序,负为倒序",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "keyword",
|
||
"description": "关键字",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "offset",
|
||
"description": "门店列表起始序号(以0开始,缺省为0)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "pageSize",
|
||
"description": "门店列表页大小(缺省为50,-1表示全部)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/sku/GetTopCategoriesByStoreIDs": {
|
||
"get": {
|
||
"tags": [
|
||
"store/sku"
|
||
],
|
||
"description": "根据门店信息查找推荐分类(按商品销量)",
|
||
"operationId": "StoreSkuController.根据门店信息查找推荐分类(按商品销量)",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeIDs",
|
||
"description": "门店列表",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/sku/GetTopSkusByCityCode": {
|
||
"get": {
|
||
"tags": [
|
||
"store/sku"
|
||
],
|
||
"description": "根据城市信息查找推荐商品(按销量)",
|
||
"operationId": "StoreSkuController.根据城市信息查找推荐商品(按销量)",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "cityCode",
|
||
"description": "城市id",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeID",
|
||
"description": "门店id",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/sku/GetTopSkusByStoreIDs": {
|
||
"get": {
|
||
"tags": [
|
||
"store/sku"
|
||
],
|
||
"description": "根据门店信息查找推荐商品(按销量)",
|
||
"operationId": "StoreSkuController.根据门店信息查找推荐商品(按销量)",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeIDs",
|
||
"description": "门店列表",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/sku/GetVendorStoreSkuPrice": {
|
||
"post": {
|
||
"tags": [
|
||
"store/sku"
|
||
],
|
||
"description": "获取各平台所有门店某商品的价格",
|
||
"operationId": "StoreSkuController.获取各平台所有门店某商品的价格",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "skuID",
|
||
"description": "商品ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorIDs",
|
||
"description": "厂商ID列表",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步,缺省是同步",
|
||
"required": true,
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"required": true,
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/sku/GetVendorStoreSkus": {
|
||
"post": {
|
||
"tags": [
|
||
"store/sku"
|
||
],
|
||
"description": "拉取平台标品",
|
||
"operationId": "StoreSkuController.拉取平台标品",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorID",
|
||
"description": "平台id",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeID",
|
||
"description": "门店ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/sku/GetVendorStoreSkusInfo": {
|
||
"get": {
|
||
"tags": [
|
||
"store/sku"
|
||
],
|
||
"description": "得到异常门店商品数量",
|
||
"operationId": "StoreSkuController.得到门店商品全信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeID",
|
||
"description": "门店ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorIDs",
|
||
"description": "厂商ID列表",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "skuIDs",
|
||
"description": "Sku ID列表对象",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/sku/RefershStoreSkusMidPrice": {
|
||
"put": {
|
||
"tags": [
|
||
"store/sku"
|
||
],
|
||
"description": "根据门店刷新中位价",
|
||
"operationId": "StoreSkuController.根据门店刷新中位价",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isCountry",
|
||
"description": "是否按全国中位价刷新",
|
||
"required": true,
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeIDs",
|
||
"description": "门店列表",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/sku/RefreshJxPriceByExcel": {
|
||
"post": {
|
||
"tags": [
|
||
"store/sku"
|
||
],
|
||
"description": "根据Excel刷新京西门店商品价",
|
||
"operationId": "StoreSkuController.根据Excel刷新京西门店商品价",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeIDs",
|
||
"description": "门店列表",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步,缺省是同步",
|
||
"required": true,
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"required": true,
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/sku/RefreshJxPriceByVendor": {
|
||
"put": {
|
||
"tags": [
|
||
"store/sku"
|
||
],
|
||
"description": "根据平台价反算京西价",
|
||
"operationId": "StoreSkuController.根据平台价反算京西价",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payload",
|
||
"description": "json数据,JdStoreSkus对象",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorID",
|
||
"description": "厂商ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "ignoreLow",
|
||
"description": "是否忽略低价商品",
|
||
"required": true,
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步,缺省是同步",
|
||
"required": true,
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"required": true,
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/sku/RefreshJxPriceByVendor2": {
|
||
"put": {
|
||
"tags": [
|
||
"store/sku"
|
||
],
|
||
"description": "根据平台价反算京西价2",
|
||
"operationId": "StoreSkuController.根据平台价反算京西价2",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeIDs",
|
||
"description": "门店列表",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorID",
|
||
"description": "厂商ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步,缺省是同步",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/sku/RefreshMatterStock": {
|
||
"post": {
|
||
"tags": [
|
||
"store/sku"
|
||
],
|
||
"description": "物料库存刷新(物料店商品上下架)",
|
||
"operationId": "StoreSkuController.物料库存刷新(物料店商品上下架)",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/sku/RefreshStoresSkuByVendor": {
|
||
"put": {
|
||
"tags": [
|
||
"store/sku"
|
||
],
|
||
"description": "根据厂家门店商品信息相应刷新本地数据",
|
||
"operationId": "StoreSkuController.根据厂家门店商品信息相应刷新本地数据",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeIDs",
|
||
"description": "门店ID列表",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorID",
|
||
"description": "厂商ID(当前只支持京东)",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步操作",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/sku/ReturnStoreSkuBind": {
|
||
"post": {
|
||
"tags": [
|
||
"store/sku"
|
||
],
|
||
"description": "恢复门店商品表",
|
||
"operationId": "StoreSkuController.恢复门店商品表",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "snapshotAt",
|
||
"description": "日期,格式2020-03-06 00:00:00",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeIDs",
|
||
"description": "门店列表",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "skuIDs",
|
||
"description": "商品列表",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/sku/SendSeckillSkusCountMsg": {
|
||
"post": {
|
||
"tags": [
|
||
"store/sku"
|
||
],
|
||
"description": "手动爆品预警",
|
||
"operationId": "StoreSkuController.手动爆品预警",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorIDs",
|
||
"description": "厂商ID列表",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步,缺省是同步",
|
||
"required": true,
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"required": true,
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/sku/StoreSkuPriceAudit": {
|
||
"post": {
|
||
"tags": [
|
||
"store/sku"
|
||
],
|
||
"description": "审核商品",
|
||
"operationId": "StoreSkuController.审核商品",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payload",
|
||
"description": "json数据,storeskuaudit对象",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "status",
|
||
"description": "审核标志,1通过,-1 不通过,2 预审核",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步,缺省是同步",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/sku/SyncJdStoreProducts": {
|
||
"put": {
|
||
"tags": [
|
||
"store/sku"
|
||
],
|
||
"description": "京东商家商品状态同步",
|
||
"operationId": "StoreSkuController.京东商家商品状态同步",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeIDs",
|
||
"description": "门店ID列表",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "skuIDs",
|
||
"description": "SKU ID列表,缺省为全部",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步操作",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/sku/SyncMatterC4ToGy": {
|
||
"post": {
|
||
"tags": [
|
||
"store/sku"
|
||
],
|
||
"description": "同步菜市物料到果园",
|
||
"operationId": "StoreSkuController.同步菜市物料到果园",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/sku/SyncStoresSkus": {
|
||
"put": {
|
||
"tags": [
|
||
"store/sku"
|
||
],
|
||
"description": "同步商家商品信息",
|
||
"operationId": "StoreSkuController.同步商家商品信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorIDs",
|
||
"description": "厂商ID列表",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeIDs",
|
||
"description": "门店ID列表",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "skuIDs",
|
||
"description": "SKU ID列表,缺省为全部",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isForce",
|
||
"description": "是否强制(设置修改标志)",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步操作",
|
||
"required": true,
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/sku/UpdateStoreSku": {
|
||
"put": {
|
||
"tags": [
|
||
"store/sku"
|
||
],
|
||
"description": "修改商家商品绑定,请换用UpdateStoresSkus",
|
||
"operationId": "StoreSkuController.修改商家商品绑定",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeID",
|
||
"description": "门店ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payload",
|
||
"description": "json数据,StoreSkuBindInfo对象",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "causeFlag",
|
||
"description": "操作类型",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步操作",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/sku/UpdateStoreSkus": {
|
||
"put": {
|
||
"tags": [
|
||
"store/sku"
|
||
],
|
||
"description": "批量修改商家商品绑定,请换用UpdateStoresSkus",
|
||
"operationId": "StoreSkuController.批量修改商家商品绑定",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeID",
|
||
"description": "门店ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payload",
|
||
"description": "json数据,StoreSkuBindInfo对象数组",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "causeFlag",
|
||
"description": "操作类型",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步操作",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/sku/UpdateStoreSkusSpecTag": {
|
||
"post": {
|
||
"tags": [
|
||
"store/sku"
|
||
],
|
||
"description": "设置平台商品力荐标志",
|
||
"operationId": "StoreSkuController.设置平台商品力荐标志",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorIDs",
|
||
"description": "厂商ID列表",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步,缺省是同步",
|
||
"required": true,
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"required": true,
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/sku/UpdateStoresSkus": {
|
||
"put": {
|
||
"tags": [
|
||
"store/sku"
|
||
],
|
||
"description": "批量修改多商家商品绑定",
|
||
"operationId": "StoreSkuController.批量修改多商家商品绑定",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeIDs",
|
||
"description": "门店ID列表",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payload",
|
||
"description": "json数据,StoreSkuBindInfo对象数组",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isScale",
|
||
"description": "是否按门店结算比例缩放",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "causeFlag",
|
||
"description": "操作类型",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isRefreshHigh",
|
||
"description": "是否只刷门店价高于给的价",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步操作",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/sku/UpdateStoresSkusByBind": {
|
||
"put": {
|
||
"tags": [
|
||
"store/sku"
|
||
],
|
||
"description": "按门店商品维度批量修改多商家商品绑定",
|
||
"operationId": "StoreSkuController.按门店商品维度批量修改多商家商品绑定",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payload",
|
||
"description": "json数据,StoreSkuBindInfo对象数组",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步操作",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/sku/UpdateStoresSkusSale": {
|
||
"put": {
|
||
"tags": [
|
||
"store/sku"
|
||
],
|
||
"description": "批量修改多商家商品可售状态",
|
||
"operationId": "StoreSkuController.批量修改多商家商品可售状态",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeIDs",
|
||
"description": "门店ID列表",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payload",
|
||
"description": "json数据,StoreSkuBindSkuInfo对象数组",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "autoSaleAt",
|
||
"description": "临时不可售到期时间",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "ignoreDontSale",
|
||
"description": "在临时不可售时,是否忽略当前是不可售的商品",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步操作",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/store/sku/UpdateStoresSkusWithoutSync": {
|
||
"put": {
|
||
"tags": [
|
||
"store/sku"
|
||
],
|
||
"description": "批量修改多商家商品绑定(不同步)",
|
||
"operationId": "StoreSkuController.批量修改多商家商品绑定(不同步)",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeIDs",
|
||
"description": "门店ID列表",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payload",
|
||
"description": "json数据,StoreSkuBindInfo对象数组",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isRefreshHigh",
|
||
"description": "是否只刷门店价高于给的价",
|
||
"required": true,
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sync/AddCreateFlagForJxStoreSku": {
|
||
"post": {
|
||
"tags": [
|
||
"sync"
|
||
],
|
||
"description": "把京西有,平台无且没有待创建标记的商品加上待创建标记(已废弃)",
|
||
"operationId": "SyncController.把京西有,平台无且没有待创建标记的商品加上待创建标记",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeIDs",
|
||
"description": "门店ID列表",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorIDs",
|
||
"description": "运营商ID列表(京东0 美团1 饿百3)",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步操作",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sync/AmendAndPruneStoreStuff": {
|
||
"post": {
|
||
"tags": [
|
||
"sync"
|
||
],
|
||
"description": "把京西有,平台无且没有待创建标记的商品加上待创建标记",
|
||
"operationId": "SyncController.把京西有,平台无且没有待创建标记的商品加上待创建标记",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeIDs",
|
||
"description": "门店ID列表",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorIDs",
|
||
"description": "运营商ID列表(京东0 美团1 饿百3)",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "optType",
|
||
"description": "操作方式",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isForce",
|
||
"description": "是否强制刷新",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步操作",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sync/CompareStoreWithOperator": {
|
||
"put": {
|
||
"tags": [
|
||
"sync"
|
||
],
|
||
"description": "由于目前同步会因为类别不同会导致商品每晚无法成功同步 因此在同步功能前新增一个导出查看差异功能 比较商品类别",
|
||
"operationId": "SyncController.比较门店中后台商品和运营商后台商品的差异 导出一个Excel 表格",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeIDs",
|
||
"description": "门店ID列表",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorIDs",
|
||
"description": "厂商ID列表",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步操作",
|
||
"required": true,
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sync/DeleteRemoteStoreSkus": {
|
||
"delete": {
|
||
"tags": [
|
||
"sync"
|
||
],
|
||
"description": "删除门店平台商品信息(包括分类)(!!!此操作会先清除平台上已有的商品及分类信息),此操作只适用于单门店模式平台",
|
||
"operationId": "SyncController.删除门店平台商品信息(包括分类)",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeIDs",
|
||
"description": "门店ID列表",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorIDs",
|
||
"description": "厂商ID列表",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isAsync",
|
||
"description": "是否异步操作",
|
||
"required": true,
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sync/FullSyncStoresSkus": {
|
||
"put": {
|
||
"tags": [
|
||
"sync"
|
||
],
|
||
"description": "全新初始化商家商品信息(!!!此操作会先清除平台上已有的商品及分类信息),此操作只适用于单门店模式平台",
|
||
"operationId": "SyncController.全新初始化商家商品信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeIDs",
|
||
"description": "门店ID列表",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorIDs",
|
||
"description": "厂商ID列表",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步操作",
|
||
"required": true,
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sync/FullSyncVendorStuff": {
|
||
"post": {
|
||
"tags": [
|
||
"sync"
|
||
],
|
||
"description": "初始化多门店平台商品库(及商家分类)",
|
||
"operationId": "SyncController.初始化多门店平台商品库(及商家分类)",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorID",
|
||
"description": "平台ID(京东0 美团1 饿百3)",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorOrgCode",
|
||
"description": "平台账号",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeID",
|
||
"description": "门店ID",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步操作",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sync/PruneMissingStoreSkus": {
|
||
"delete": {
|
||
"tags": [
|
||
"sync"
|
||
],
|
||
"description": "删除本地没有的平台门店商品信息(已废弃)",
|
||
"operationId": "SyncController.删除本地没有的平台门店商品信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeIDs",
|
||
"description": "门店ID列表",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorIDs",
|
||
"description": "厂商ID列表",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isAsync",
|
||
"description": "是否异步操作",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sync/RefreshAllStoresID": {
|
||
"put": {
|
||
"tags": [
|
||
"sync"
|
||
],
|
||
"description": "全部刷新所有门店商家ID",
|
||
"operationId": "SyncController.全部刷新所有门店商家ID",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorIDs",
|
||
"description": "需要刷新的厂商ID列表",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isAsync",
|
||
"description": "起始状态",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sync/SyncCategories": {
|
||
"post": {
|
||
"tags": [
|
||
"sync"
|
||
],
|
||
"description": "同步商家分类(多门店平台)",
|
||
"operationId": "SyncController.同步商家分类(多门店平台)",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorID",
|
||
"description": "平台ID(京东0 美团1 饿百3)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorOrgCode",
|
||
"description": "平台账号",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isForce",
|
||
"description": "是否强制(设置修改标志)",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sync/SyncJdsStoresSkus": {
|
||
"put": {
|
||
"tags": [
|
||
"sync"
|
||
],
|
||
"description": "同步京东商城门店商品和库存",
|
||
"operationId": "SyncController.同步京东商城门店商品和库存",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeIDs",
|
||
"description": "门店ID列表",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步操作",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sync/SyncSkuNames": {
|
||
"put": {
|
||
"tags": [
|
||
"sync"
|
||
],
|
||
"description": "同步SkuName(多门店平台)",
|
||
"operationId": "SyncController.同步SkuName(多门店平台)",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "nameIDs",
|
||
"description": "name ID列表",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isForce",
|
||
"description": "是否强制(设置修改标志)",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorID",
|
||
"description": "平台ID(京东0 美团1 饿百3)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorOrgCode",
|
||
"description": "平台账号",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
},
|
||
"post": {
|
||
"tags": [
|
||
"sync"
|
||
],
|
||
"description": "同步SkuName(多门店平台)",
|
||
"operationId": "SyncController.同步SkuName(多门店平台)",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "nameIDs",
|
||
"description": "name ID列表",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isForce",
|
||
"description": "是否强制(设置修改标志)",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorID",
|
||
"description": "平台ID(京东0 美团1 饿百3)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorOrgCode",
|
||
"description": "平台账号",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sync/SyncStoreSkusFromYb": {
|
||
"put": {
|
||
"tags": [
|
||
"sync"
|
||
],
|
||
"description": "同步银豹到京西商品",
|
||
"operationId": "SyncController.同步银豹到京西商品",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeIDs",
|
||
"description": "门店ID列表",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步操作",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sync/SyncStores": {
|
||
"post": {
|
||
"tags": [
|
||
"sync"
|
||
],
|
||
"description": "同步门店",
|
||
"operationId": "SyncController.同步门店",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorIDs",
|
||
"description": "平台ID(京东0 美团1 饿百3)列表",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorOrgCodes",
|
||
"description": "平台账号列表",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeIDs",
|
||
"description": "门店ID列表",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isForce",
|
||
"description": "是否强制(设置修改标志)",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sync/SyncStoresCategory": {
|
||
"put": {
|
||
"tags": [
|
||
"sync"
|
||
],
|
||
"description": "同步商家分类信息",
|
||
"operationId": "SyncController.同步商家分类信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeIDs",
|
||
"description": "门店ID列表",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorIDs",
|
||
"description": "厂商ID列表",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isForce",
|
||
"description": "是否强制(设置修改标志)",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步操作",
|
||
"required": true,
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sync/SyncStoresSkus": {
|
||
"put": {
|
||
"tags": [
|
||
"sync"
|
||
],
|
||
"description": "同步商家商品信息",
|
||
"operationId": "SyncController.同步商家商品信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeIDs",
|
||
"description": "门店ID列表",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorIDs",
|
||
"description": "厂商ID列表",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "skuIDs",
|
||
"description": "SKU ID列表,缺省为全部",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isForce",
|
||
"description": "是否强制(设置修改标志)",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步操作",
|
||
"required": true,
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sync/UploadFakeJdThingMap": {
|
||
"get": {
|
||
"tags": [
|
||
"sync"
|
||
],
|
||
"description": "上传假京东门店与SKU映射表(并启动同步)",
|
||
"operationId": "SyncController.上传假京东门店与SKU映射表(并启动同步)",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isSyncNow",
|
||
"description": "是否马上同步,一般不建议",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步,缺省是同步",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
},
|
||
"post": {
|
||
"tags": [
|
||
"sync"
|
||
],
|
||
"description": "上传假京东门店与SKU映射表(并启动同步)",
|
||
"operationId": "SyncController.上传假京东门店与SKU映射表(并启动同步)",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isSyncNow",
|
||
"description": "是否马上同步,一般不建议",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步,缺省是同步",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sys/AddVendorOrgCode": {
|
||
"post": {
|
||
"tags": [
|
||
"sys"
|
||
],
|
||
"description": "添加平台账号信息",
|
||
"operationId": "SysController.添加平台账号信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payload",
|
||
"description": "json数据,vendorOrgCode对象()",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sys/GetEbaiRTFDetail": {
|
||
"get": {
|
||
"tags": [
|
||
"sys"
|
||
],
|
||
"description": "得到饿百RTF转换内容",
|
||
"operationId": "SysController.得到饿百RTF转换内容",
|
||
"parameters": [
|
||
{
|
||
"in": "query",
|
||
"name": "imgListStr",
|
||
"description": "逗号分隔的图片列表可以是转义后的",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sys/GetPushToken": {
|
||
"get": {
|
||
"tags": [
|
||
"sys"
|
||
],
|
||
"description": "得到个推token",
|
||
"operationId": "SysController.得到个推token",
|
||
"parameters": [
|
||
{
|
||
"in": "query",
|
||
"name": "accessKey",
|
||
"description": "假token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "oldToken",
|
||
"description": "之前的token",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "waitSecond",
|
||
"description": "等待秒数",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sys/GetVendorOrgCode": {
|
||
"get": {
|
||
"tags": [
|
||
"sys"
|
||
],
|
||
"description": "得到平台账号信息",
|
||
"operationId": "SysController.得到平台账号信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorID",
|
||
"description": "平台ID",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorOrgCode",
|
||
"description": "平台账号",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorType",
|
||
"description": "平台账号类型",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sys/GetWX2Token": {
|
||
"get": {
|
||
"tags": [
|
||
"sys"
|
||
],
|
||
"description": "得到微信小程序2token",
|
||
"operationId": "SysController.得到微信小程序2token",
|
||
"parameters": [
|
||
{
|
||
"in": "query",
|
||
"name": "accessKey",
|
||
"description": "假token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "oldToken",
|
||
"description": "之前的token",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "waitSecond",
|
||
"description": "等待秒数",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sys/GetWXToken": {
|
||
"get": {
|
||
"tags": [
|
||
"sys"
|
||
],
|
||
"description": "得到微信token",
|
||
"operationId": "SysController.得到微信token",
|
||
"parameters": [
|
||
{
|
||
"in": "query",
|
||
"name": "accessKey",
|
||
"description": "假token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "oldToken",
|
||
"description": "之前的token",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "waitSecond",
|
||
"description": "等待秒数",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sys/GetWeimobToken": {
|
||
"get": {
|
||
"tags": [
|
||
"sys"
|
||
],
|
||
"description": "得到微盟token",
|
||
"operationId": "SysController.得到微盟token",
|
||
"parameters": [
|
||
{
|
||
"in": "query",
|
||
"name": "accessKey",
|
||
"description": "假token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "oldToken",
|
||
"description": "之前的token",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "waitSecond",
|
||
"description": "等待秒数",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sys/GetYLYToken": {
|
||
"get": {
|
||
"tags": [
|
||
"sys"
|
||
],
|
||
"description": "得到易联云token",
|
||
"operationId": "SysController.得到易联云token",
|
||
"parameters": [
|
||
{
|
||
"in": "query",
|
||
"name": "accessKey",
|
||
"description": "假token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "oldToken",
|
||
"description": "之前的token",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "waitSecond",
|
||
"description": "等待秒数",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sys/UpdateVendorOrgCode": {
|
||
"post": {
|
||
"tags": [
|
||
"sys"
|
||
],
|
||
"description": "修改平台账号信息",
|
||
"operationId": "SysController.修改平台账号信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "id",
|
||
"description": "ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payload",
|
||
"description": "json数据,vendorOrgCode对象()",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/task/CancelTask": {
|
||
"put": {
|
||
"tags": [
|
||
"task"
|
||
],
|
||
"description": "取消长时间运行任务",
|
||
"operationId": "TaskController.取消长时间运行任务",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "taskID",
|
||
"description": "任务ID",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/task/GetTasks": {
|
||
"get": {
|
||
"tags": [
|
||
"task"
|
||
],
|
||
"description": "查询长时间运行任务",
|
||
"operationId": "TaskController.查询长时间运行任务",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "taskID",
|
||
"description": "任务ID",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "fromStatus",
|
||
"description": "起始状态",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "toStatus",
|
||
"description": "结束状态",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "lastHours",
|
||
"description": "多少小时以内的",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "createdBy",
|
||
"description": "创建人",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/task/UnmanageTasks": {
|
||
"put": {
|
||
"tags": [
|
||
"task"
|
||
],
|
||
"description": "取消管理任务",
|
||
"operationId": "TaskController.取消管理任务",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "taskIDs",
|
||
"description": "任务ID列表",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/tempop/BuildSkuFromEbaiStore": {
|
||
"post": {
|
||
"tags": [
|
||
"tempop"
|
||
],
|
||
"description": "从饿百店建商品",
|
||
"operationId": "TempOpController.从饿百店建商品",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "baiduShopID",
|
||
"description": "skuNameID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步操作",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/tempop/CheckSkuDiffBetweenJxAndVendor": {
|
||
"post": {
|
||
"tags": [
|
||
"tempop"
|
||
],
|
||
"description": "京西平台和其他平台商品的对比",
|
||
"operationId": "TempOpController.京西平台和其他平台商品的对比",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorIDs",
|
||
"description": "运营商ID列表(京东0 美团1 饿百3,14抖音,16淘宝)",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeIDs",
|
||
"description": "京西门店ID列表",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/tempop/CheckStoreAlert": {
|
||
"post": {
|
||
"tags": [
|
||
"tempop"
|
||
],
|
||
"description": "触犯红线通知",
|
||
"operationId": "TempOpController.触犯红线通知",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeIDs",
|
||
"description": "门店列表",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/tempop/CreateConsumerFromOrders": {
|
||
"post": {
|
||
"tags": [
|
||
"tempop"
|
||
],
|
||
"description": "通过订单创建消费者用户",
|
||
"operationId": "TempOpController.通过订单创建消费者用户",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "fromDate",
|
||
"description": "开始日期",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorIDs",
|
||
"description": "运营商ID列表(京东0 美团1 饿百3)",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "toDate",
|
||
"description": "结束日期(缺省不限制)",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isForce",
|
||
"description": "是否强制",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步操作",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/tempop/FixMtwmCategory": {
|
||
"post": {
|
||
"tags": [
|
||
"tempop"
|
||
],
|
||
"description": "修复美团商品分类(emoji)",
|
||
"operationId": "TempOpController.修复美团商品分类(emoji)",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "mtwmStoreIDs",
|
||
"description": "门店列表",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步操作",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/tempop/PrintMsg": {
|
||
"post": {
|
||
"tags": [
|
||
"tempop"
|
||
],
|
||
"description": "测试打印",
|
||
"operationId": "TempOpController.测试打印",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorID",
|
||
"description": "打印机厂商ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "id1",
|
||
"description": "id1",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "id2",
|
||
"description": "id2",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "msgTitle",
|
||
"description": "消息标题",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "msgContent",
|
||
"description": "消息内容",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/tempop/RefreshJXPriceChange": {
|
||
"post": {
|
||
"tags": [
|
||
"tempop"
|
||
],
|
||
"description": "京西刷新调价包和门店价格",
|
||
"operationId": "TempOpController.京西刷新调价包和门店价格",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeID",
|
||
"description": "门店ID",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/tempop/RefreshMtpsWaybillFee": {
|
||
"post": {
|
||
"tags": [
|
||
"tempop"
|
||
],
|
||
"description": "刷新美团配送价格",
|
||
"operationId": "TempOpController.刷新美团配送价格",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步操作",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/tempop/RetrieveEbaiShopLicence": {
|
||
"post": {
|
||
"tags": [
|
||
"tempop"
|
||
],
|
||
"description": "XXXX",
|
||
"operationId": "TempOpController.XXXX",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步操作",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/tempop/StoreOpenAll": {
|
||
"post": {
|
||
"tags": [
|
||
"tempop"
|
||
],
|
||
"description": "对比Test",
|
||
"operationId": "TempOpController.把所有营业的门店,京西商城门店都打开,默认范围3km,默认100-100京西价格套餐",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "",
|
||
"schema": {
|
||
"$ref": "#/definitions/controllers.CallResult"
|
||
}
|
||
},
|
||
"404": {
|
||
"description": "User not found"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/tempop/StoreSkuCheckDiff": {
|
||
"post": {
|
||
"tags": [
|
||
"tempop"
|
||
],
|
||
"description": "对比Test",
|
||
"operationId": "TempOpController.京西平台和其他平台商品的对比Test",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorIDs",
|
||
"description": "运营商ID列表(京东0 美团1 饿百3 14抖音 16淘宝)",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeIDs",
|
||
"description": "京西门店ID列表",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "",
|
||
"schema": {
|
||
"$ref": "#/definitions/controllers.CallResult"
|
||
}
|
||
},
|
||
"404": {
|
||
"description": "User not found"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/tempop/TestIt": {
|
||
"get": {
|
||
"tags": [
|
||
"tempop"
|
||
],
|
||
"description": "查询三方运单费用信息",
|
||
"operationId": "TempOpController.查询三方运单费用信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isAsync",
|
||
"description": "是否异步操作",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/tempop/TestStartOrEndOpStore": {
|
||
"post": {
|
||
"tags": [
|
||
"tempop"
|
||
],
|
||
"description": "开启或结束所有平台商店的额外时间,并且修改所有商品库存为0或99999(开启:0 , 结束:99999)",
|
||
"operationId": "TempOpController.开启或结束所有平台商店的额外时间",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "vendorIDs",
|
||
"description": "运营商ID列表(美团1 饿百3)",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeIDs",
|
||
"description": "京西门店ID列表",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "startOrEndStore",
|
||
"description": "开启或结束",
|
||
"required": true,
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "startTime",
|
||
"description": "开始营业时间(格式:930代表早上9点30分)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "endTime",
|
||
"description": "结束营业时间",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步操作",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/tempop/UpdateAllWeiXinRemark": {
|
||
"post": {
|
||
"tags": [
|
||
"tempop"
|
||
],
|
||
"description": "刷新微信备注",
|
||
"operationId": "TempOpController.刷新微信备注",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步操作",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/tempop/UploadJdsImage": {
|
||
"post": {
|
||
"tags": [
|
||
"tempop"
|
||
],
|
||
"description": "上传京东商城图片",
|
||
"operationId": "TempOpController.上传京东商城图片",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/user2/AddMyDeliveryAddress": {
|
||
"post": {
|
||
"tags": [
|
||
"user2"
|
||
],
|
||
"description": "用户自己增加配送地址",
|
||
"operationId": "User2Controller.用户自己增加配送地址",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "consigneeName",
|
||
"description": "收货人",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "consigneeMobile",
|
||
"description": "收货人手机",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "address",
|
||
"description": "地址(区县以下,门牌号以上的地址信息)",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "detailAddress",
|
||
"description": "门牌号",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "lng",
|
||
"description": "经度",
|
||
"required": true,
|
||
"type": "number",
|
||
"format": "double"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "lat",
|
||
"description": "纬度",
|
||
"required": true,
|
||
"type": "number",
|
||
"format": "double"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "tag",
|
||
"description": "标签",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "remark",
|
||
"description": "备注",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isDefault",
|
||
"description": "是否是默认",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "cityCode",
|
||
"description": "省code",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "districtCode",
|
||
"description": "市code",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/user2/AddRoles4User": {
|
||
"post": {
|
||
"tags": [
|
||
"user2"
|
||
],
|
||
"description": "给指定用户添加角色列表",
|
||
"operationId": "User2Controller.给指定用户添加角色列表",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "userID",
|
||
"description": "用户ID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "roleList",
|
||
"description": "角色列表",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/user2/AddUsers4Role": {
|
||
"post": {
|
||
"tags": [
|
||
"user2"
|
||
],
|
||
"description": "给指定角色添加用户列表",
|
||
"operationId": "User2Controller.给指定角色添加用户列表",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "roleName",
|
||
"description": "角色名",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeID",
|
||
"description": "门店ID",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "userIDs",
|
||
"description": "用户ID列表",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/user2/CreateUserAgreement": {
|
||
"post": {
|
||
"tags": [
|
||
"user2"
|
||
],
|
||
"description": "插入用户协议表",
|
||
"operationId": "User2Controller.插入用户协议表",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payload",
|
||
"description": "格式数据,UserAgreement",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/user2/DeleteMyDeliveryAddress": {
|
||
"delete": {
|
||
"tags": [
|
||
"user2"
|
||
],
|
||
"description": "用户自己删除送地址",
|
||
"operationId": "User2Controller.用户自己删除配送地址",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "id",
|
||
"description": "地址ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/user2/DeleteRoles4User": {
|
||
"delete": {
|
||
"tags": [
|
||
"user2"
|
||
],
|
||
"description": "给指定用户删除角色列表",
|
||
"operationId": "User2Controller.给指定用户删除角色列表",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "userID",
|
||
"description": "用户ID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "roleList",
|
||
"description": "角色列表",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/user2/DeleteUserInfo": {
|
||
"delete": {
|
||
"tags": [
|
||
"user2"
|
||
],
|
||
"description": "禁用用户(删除离职用户信息)",
|
||
"operationId": "User2Controller.禁用用户(删除离职用户信息)",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "userID",
|
||
"description": "用户userID",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/user2/DeleteUsers4Role": {
|
||
"delete": {
|
||
"tags": [
|
||
"user2"
|
||
],
|
||
"description": "给指定角色删除用户列表",
|
||
"operationId": "User2Controller.给指定角色删除用户列表",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "roleName",
|
||
"description": "角色名",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeID",
|
||
"description": "门店ID",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "userIDs",
|
||
"description": "用户ID列表",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/user2/GetBindAuthInfo": {
|
||
"get": {
|
||
"tags": [
|
||
"user2"
|
||
],
|
||
"description": "得到用户已经成功绑定的认证信息",
|
||
"operationId": "User2Controller.得到用户已经成功绑定的认证信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/user2/GetJdUsers": {
|
||
"post": {
|
||
"tags": [
|
||
"user2"
|
||
],
|
||
"description": "查找京东用户",
|
||
"operationId": "User2Controller.查找京东用户",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步操作",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/user2/GetJxShopUsers": {
|
||
"get": {
|
||
"tags": [
|
||
"user2"
|
||
],
|
||
"description": "查询京西商城用户信息",
|
||
"operationId": "User2Controller.查询京西商城用户信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "keyword",
|
||
"description": "关键字",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "fromTime",
|
||
"description": "开始时间",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "toTime",
|
||
"description": "结束时间",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "vendorIDs",
|
||
"description": "平台号",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "offset",
|
||
"description": "结果起始序号(以0开始,缺省为0)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "pageSize",
|
||
"description": "结果页大小(缺省为50,-1表示全部)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/user2/GetMyJxStoreList": {
|
||
"get": {
|
||
"tags": [
|
||
"user2"
|
||
],
|
||
"description": "得到用户自己的门店列表(商城用)",
|
||
"operationId": "User2Controller.得到用户自己的门店列表(商城用)",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "mobile",
|
||
"description": "电话",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/user2/GetMyStoreList": {
|
||
"get": {
|
||
"tags": [
|
||
"user2"
|
||
],
|
||
"description": "得到用户自己的门店列表",
|
||
"operationId": "User2Controller.得到用户自己的门店列表",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "version",
|
||
"description": "当app登录时,需要传版本号",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/user2/GetRoleUserList": {
|
||
"get": {
|
||
"tags": [
|
||
"user2"
|
||
],
|
||
"description": "得到角色包括的用户列表",
|
||
"operationId": "User2Controller.得到角色包括的用户列表",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "roleName",
|
||
"description": "角色名",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeID",
|
||
"description": "门店ID(如果是全局角色不用填)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/user2/GetRolesUserList": {
|
||
"get": {
|
||
"tags": [
|
||
"user2"
|
||
],
|
||
"description": "批量得到角色包括的用户列表",
|
||
"operationId": "User2Controller.批量得到角色包括的用户列表",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "roleNames",
|
||
"description": "角色名",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeIDs",
|
||
"description": "门店ID(如果是全局角色不用填)",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/user2/GetSelfInfo": {
|
||
"get": {
|
||
"tags": [
|
||
"user2"
|
||
],
|
||
"description": "得到用户自己的信息",
|
||
"operationId": "User2Controller.得到用户自己的信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/user2/GetStoreRoleList": {
|
||
"get": {
|
||
"tags": [
|
||
"user2"
|
||
],
|
||
"description": "得到可用的门店角色列表",
|
||
"operationId": "User2Controller.得到可用的门店角色列表",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/user2/GetUserAgreement": {
|
||
"get": {
|
||
"tags": [
|
||
"user2"
|
||
],
|
||
"description": "查询用户协议表",
|
||
"operationId": "User2Controller.查询用户协议表",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "name",
|
||
"description": "名字",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "idNumber",
|
||
"description": "身份证号",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "bankNumber",
|
||
"description": "银行卡号",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "mobile",
|
||
"description": "电话",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/user2/GetUserInfo": {
|
||
"get": {
|
||
"tags": [
|
||
"user2"
|
||
],
|
||
"description": "得到自己登录的信息",
|
||
"operationId": "User2Controller.得到自己登录的信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/user2/GetUserRoleList": {
|
||
"get": {
|
||
"tags": [
|
||
"user2"
|
||
],
|
||
"description": "得到用户所具有的角色列表",
|
||
"operationId": "User2Controller.得到用户所具有的角色列表",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "userID",
|
||
"description": "用户i",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/user2/GetUserStoreAuth": {
|
||
"get": {
|
||
"tags": [
|
||
"user2"
|
||
],
|
||
"description": "查询用户是否拥有当前店铺权限",
|
||
"operationId": "User2Controller.查询用户是否拥有当前店铺权限",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeID",
|
||
"description": "门店ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/user2/GetUsers": {
|
||
"get": {
|
||
"tags": [
|
||
"user2"
|
||
],
|
||
"description": "得到用户列表",
|
||
"operationId": "User2Controller.得到用户列表",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "userType",
|
||
"description": "用户类型(0表示全部)",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "keyword",
|
||
"description": "关键字,可以部分匹配",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "userIDs",
|
||
"description": "用户id列表",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "userID2",
|
||
"description": "用户id2,必须全匹配(外部唯一标识)",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "mobile",
|
||
"description": "用户手机,必须全匹配",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "offset",
|
||
"description": "门店列表起始序号(以0开始,缺省为0)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "pageSize",
|
||
"description": "门店列表页大小(缺省为50,-1表示全部)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/user2/LoadMyCart": {
|
||
"get": {
|
||
"tags": [
|
||
"user2"
|
||
],
|
||
"description": "得到用户指定门店的购物车信息",
|
||
"operationId": "User2Controller.得到用户指定门店的购物车信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "storeIDs",
|
||
"description": "门店ID",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/user2/QueryMyDeliveryAddress": {
|
||
"get": {
|
||
"tags": [
|
||
"user2"
|
||
],
|
||
"description": "用户查询自己的配送地址",
|
||
"operationId": "User2Controller.用户查询自己的配送地址",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/user2/RegisterUser": {
|
||
"post": {
|
||
"tags": [
|
||
"user2"
|
||
],
|
||
"description": "用户注册",
|
||
"operationId": "User2Controller.用户注册",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "管理员token",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payload",
|
||
"description": "json数据,User对象(手机号必填)",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "mobileVerifyCode",
|
||
"description": "手机验证码(通过auth2.SendVerifyCode获得)(mobileVerifyCode与authToken不能同时为空)",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "authToken",
|
||
"description": "之前通过login得到的认证TOKEN(mobileVerifyCode与authToken不能同时为空)",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "version",
|
||
"description": "当app登录时,需要传版本号",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/user2/SaveMyCart": {
|
||
"post": {
|
||
"tags": [
|
||
"user2"
|
||
],
|
||
"description": "存储用户指定门店的购物车信息",
|
||
"operationId": "User2Controller.存储用户指定门店的购物车信息",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeID",
|
||
"description": "门店ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "payload",
|
||
"description": "完整的购物车商品列表",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/user2/SolveNullMobileUser": {
|
||
"post": {
|
||
"tags": [
|
||
"user2"
|
||
],
|
||
"description": "用户手机号为空,不行",
|
||
"operationId": "User2Controller.用户手机号为空,不行",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/user2/TransferLegacyWeixins": {
|
||
"post": {
|
||
"tags": [
|
||
"user2"
|
||
],
|
||
"description": "给指定角色添加用户列表",
|
||
"operationId": "User2Controller.给指定角色添加用户列表",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "mobile",
|
||
"description": "手机号",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/user2/UpdateMyDeliveryAddress": {
|
||
"put": {
|
||
"tags": [
|
||
"user2"
|
||
],
|
||
"description": "用户自己修改配送地址",
|
||
"operationId": "User2Controller.用户自己修改配送地址",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "id",
|
||
"description": "地址ID",
|
||
"required": true,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "consigneeName",
|
||
"description": "收货人",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "consigneeMobile",
|
||
"description": "收货人手机",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "address",
|
||
"description": "地址(区县以下,门牌号以上的地址信息)",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "detailAddress",
|
||
"description": "门牌号",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "lng",
|
||
"description": "经度",
|
||
"type": "number",
|
||
"format": "double"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "lat",
|
||
"description": "纬度",
|
||
"type": "number",
|
||
"format": "double"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "tag",
|
||
"description": "标签",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "remark",
|
||
"description": "备注",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isDefault",
|
||
"description": "是否是默认(0:否,1:是)",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "cityCode",
|
||
"description": "省code",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "districtCode",
|
||
"description": "市code",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/user2/UpdateUserLastInfo": {
|
||
"post": {
|
||
"tags": [
|
||
"user2"
|
||
],
|
||
"description": "更新用户上次浏览门店和品牌",
|
||
"operationId": "User2Controller.更新用户上次浏览门店和品牌",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeID",
|
||
"description": "门店ID",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "brandID",
|
||
"description": "品牌ID",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/user2/UpdateUserWxNoAndPercent": {
|
||
"put": {
|
||
"tags": [
|
||
"user2"
|
||
],
|
||
"description": "更新用户分成比例",
|
||
"operationId": "User2Controller.更新用户分成比例",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "userID",
|
||
"description": "用户userID",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "dividePercentage",
|
||
"description": "用户分成比例",
|
||
"type": "integer",
|
||
"format": "int64"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isReceiver",
|
||
"description": "是否加入分账接收方,默认是",
|
||
"required": true,
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/version/AddVersionController": {
|
||
"post": {
|
||
"tags": [
|
||
"version"
|
||
],
|
||
"description": "添加小程序的版本控制",
|
||
"operationId": "VersionController.添加小程序的版本控制",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "appId",
|
||
"description": "小程序id",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "version",
|
||
"description": "小程序版本",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/version/GetVersionController": {
|
||
"get": {
|
||
"tags": [
|
||
"version"
|
||
],
|
||
"description": "获取版本控制",
|
||
"operationId": "VersionController.获取版本控制",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "appId",
|
||
"description": "小程序id",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/version/UpdateVersionController": {
|
||
"post": {
|
||
"tags": [
|
||
"version"
|
||
],
|
||
"description": "修改小程序的版本控制",
|
||
"operationId": "VersionController.修改小程序的版本控制",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "appId",
|
||
"description": "小程序id",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "version",
|
||
"description": "小程序版本",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/yonghui/GetWeimobOrders": {
|
||
"post": {
|
||
"tags": [
|
||
"yonghui"
|
||
],
|
||
"description": "查询微盟订单",
|
||
"operationId": "YongHuiController.查询微盟订单",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "keyword",
|
||
"description": "查询关键字",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "fromTime",
|
||
"description": "订单起始时间 (yyyy-mm-dd 00:00:00)",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "toTime",
|
||
"description": "订单结束时间 (yyyy-mm-dd 00:00:00)",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/yonghui/GetWeimobOrdersExcel": {
|
||
"post": {
|
||
"tags": [
|
||
"yonghui"
|
||
],
|
||
"description": "根据微盟订单号生成Excel",
|
||
"operationId": "YongHuiController.根据微盟订单号生成Excel",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "orderNo",
|
||
"description": "订单号",
|
||
"required": true,
|
||
"type": "string"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/yonghui/LoadExcelByYongHui": {
|
||
"get": {
|
||
"tags": [
|
||
"yonghui"
|
||
],
|
||
"description": "读取永辉excel文件",
|
||
"operationId": "YongHuiController.读取永辉excel文件",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isAsync",
|
||
"description": "是否异步,缺省是同步",
|
||
"required": true,
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"required": true,
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
},
|
||
"post": {
|
||
"tags": [
|
||
"yonghui"
|
||
],
|
||
"description": "读取永辉excel文件",
|
||
"operationId": "YongHuiController.读取永辉excel文件",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isAsync",
|
||
"description": "是否异步,缺省是同步",
|
||
"required": true,
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "query",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"required": true,
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/yonghui/UpdateJxPriceByWeimob": {
|
||
"post": {
|
||
"tags": [
|
||
"yonghui"
|
||
],
|
||
"description": "根据微盟商品更新京西价格",
|
||
"operationId": "YongHuiController.根据微盟商品更新京西价格",
|
||
"parameters": [
|
||
{
|
||
"in": "header",
|
||
"name": "token",
|
||
"description": "认证token",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "storeIDs",
|
||
"description": "门店ID列表",
|
||
"required": true,
|
||
"type": "string"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isAsync",
|
||
"description": "是否异步,缺省是同步",
|
||
"required": true,
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"in": "formData",
|
||
"name": "isContinueWhenError",
|
||
"description": "单个同步失败是否继续,缺省false",
|
||
"required": true,
|
||
"type": "boolean"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{object} controllers.CallResult"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"definitions": {
|
||
"controllers.CallResult": {
|
||
"title": "CallResult",
|
||
"type": "object",
|
||
"properties": {
|
||
"code": {
|
||
"type": "string"
|
||
},
|
||
"data": {
|
||
"type": "string"
|
||
},
|
||
"desc": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": [
|
||
{
|
||
"name": "order",
|
||
"description": "订单相关API\n"
|
||
},
|
||
{
|
||
"name": "report",
|
||
"description": "统计相关API\n"
|
||
},
|
||
{
|
||
"name": "yonghui",
|
||
"description": "读取永辉excelAPI\n"
|
||
},
|
||
{
|
||
"name": "event",
|
||
"description": "操作事件明细相关API\n"
|
||
}
|
||
]
|
||
} |