{ "openapi": "3.1.0", "info": { "title": "百业到家", "description": "", "version": "1.0.0" }, "tags": [ { "name": "product" }, { "name": "category" } ], "paths": { "/prod/create": { "post": { "summary": "创建商品", "deprecated": false, "description": "创建商品", "tags": ["product"], "parameters": [], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProdSaveReqVO", "description": "" }, "examples": {} } } }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CommonResultLong" }, "example": { "code": 0, "data": 0, "msg": "" } } }, "headers": {} } }, "security": [] } }, "/product/prod/create": { "post": { "summary": "创建商品", "deprecated": false, "description": "创建商品", "tags": ["product"], "parameters": [], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProdSaveReqVO", "description": "" } } } }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CommonResultLong" }, "example": { "code": 0, "data": 0, "msg": "" } } }, "headers": {} } }, "security": [] } }, "/product/prod/createProdService": { "post": { "summary": "创建商品服务配置", "deprecated": false, "description": "创建商品服务配置", "tags": ["product"], "parameters": [], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProdServiceVO", "description": "" } } } }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CommonResultBoolean" }, "example": { "code": 0, "data": false, "msg": "" } } }, "headers": {} } }, "security": [] } }, "/product/prod/uptateProdService": { "post": { "summary": "修改商品服务配置", "deprecated": false, "description": "修改商品服务配置", "tags": ["product"], "parameters": [], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProdServiceInfoVO", "description": "" } } } }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CommonResultBoolean" }, "example": { "code": 0, "data": false, "msg": "" } } }, "headers": {} } }, "security": [] } }, "/product/prod/getProdService": { "get": { "summary": "获得商品服务信息", "deprecated": false, "description": "获得商品服务信息", "tags": ["product"], "parameters": [ { "name": "prodId", "in": "query", "description": "商品id", "required": true, "example": 1024, "schema": { "type": "integer" } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CommonResultProdServiceVO" }, "example": { "code": 0, "data": { "prodId": 0, "regionSwitch": 0, "prodServiceAreasInfo": { "id": 0, "prodId": 0, "ruleType": 0, "fee": 0, "areaNameList": [""] }, "reservationSwitch": 0, "prodReservationConfig": { "createTime": "", "updateTime": "", "creator": "", "updater": "", "deleted": 0, "id": 0, "prodId": 0, "reservationTimeSlots": "", "advanceHours": 0, "reservationDateRange": 0, "allowChange": 0, "changeTimeRule": 0, "maxChangeTimes": 0, "blacklistedDates": "", "isBlacklisted": 0, "isBlackAppoint": 0, "blackAppointDates": "", "blackHappy": 0, "blackWeekend": 0 }, "emergencySwitch": 0, "prodEmergencyInfoVO": { "id": 0, "prodId": 0, "responseTimeSlots": "", "blacklistedDates": "", "blackAppointDates": "", "blackHappy": 0, "blackWeekend": 0, "prodEmergencyResponseIntervalsList": [ { "createTime": "", "updateTime": "", "creator": "", "updater": "", "deleted": 0, "id": 0, "configId": 0, "modeName": "", "responseHours": 0, "chargeMode": 0, "floatingPercentage": 0, "price": 0 } ] }, "orderLimitSwitch": 0, "productOrderLimitVO": { "createTime": "", "updateTime": "", "creator": "", "updater": "", "deleted": 0, "id": 0, "prodId": 0, "limitUnit": 0, "maxOrders": 0 }, "additionalSwitch": 0, "prodAdditionalFeeDatesList": [ { "createTime": "", "updateTime": "", "creator": "", "updater": "", "deleted": 0, "id": 0, "prodId": 0, "name": "", "dateType": 0, "customTimeSlots": "", "specificDates": "", "chargeMode": 0, "price": 0, "isEnabled": 0 } ], "additionalFeeSwitch": 0, "prodAdditionalFeePeriodsList": [ { "createTime": "", "updateTime": "", "creator": "", "updater": "", "deleted": 0, "id": 0, "prodId": 0, "name": "", "specialTimeSlots": "", "chargeMode": 0, "price": 0, "floatingPercentage": 0 } ], "weightSwitch": 0, "prodWeightConfig": { "createTime": "", "updateTime": "", "creator": "", "updater": "", "deleted": 0, "id": 0, "prodId": 0, "weightRange": "", "price": 0, "isEnabled": 0 } }, "msg": "" } } }, "headers": {} } }, "security": [] } }, "/product/prod/update": { "put": { "summary": "更新商品", "deprecated": false, "description": "更新商品", "tags": ["product"], "parameters": [], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProdSaveReqVO", "description": "" } } } }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CommonResultBoolean" }, "example": { "code": 0, "data": false, "msg": "" } } }, "headers": {} } }, "security": [] } }, "/product/prod/delete": { "delete": { "summary": "删除商品", "deprecated": false, "description": "删除商品", "tags": ["product"], "parameters": [ { "name": "id", "in": "query", "description": "编号", "required": true, "schema": { "type": "integer" } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CommonResultBoolean" }, "example": { "code": 0, "data": false, "msg": "" } } }, "headers": {} } }, "security": [] } }, "/product/prod/deleteSkuList": { "delete": { "summary": "批量删除商品", "deprecated": false, "description": "批量删除商品", "tags": ["product"], "parameters": [ { "name": "ids", "in": "query", "description": "商品id", "required": true, "schema": { "type": "array", "items": { "type": "integer" } } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CommonResultBoolean" }, "example": { "code": 0, "data": false, "msg": "" } } }, "headers": {} } }, "security": [] } }, "/product/prod/updateSkuShelfList": { "delete": { "summary": "批量上下架", "deprecated": false, "description": "批量上下架", "tags": ["product"], "parameters": [ { "name": "ids", "in": "query", "description": "商品id", "required": true, "schema": { "type": "array", "items": { "type": "integer" } } }, { "name": "status", "in": "query", "description": "", "required": true, "schema": { "type": "integer" } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CommonResultBoolean" }, "example": { "code": 0, "data": false, "msg": "" } } }, "headers": {} } }, "security": [] } }, "/product/prod/page": { "get": { "summary": "获得商品分页", "deprecated": false, "description": "获得商品分页", "tags": ["product"], "parameters": [ { "name": "pageNo", "in": "query", "description": "页码,从 1 开始\", example = \"1", "required": true, "schema": { "type": "integer", "minimum": 1, "default": 1 } }, { "name": "pageSize", "in": "query", "description": "每页条数,最大值为 100\"", "required": true, "schema": { "type": "integer", "minimum": 1, "maximum": 100, "default": 10 } }, { "name": "prodName", "in": "query", "description": "商品名称", "required": false, "example": "赵六", "schema": { "type": "string", "examples": ["赵六"] } }, { "name": "shopId", "in": "query", "description": "店铺id", "required": false, "example": 10843, "schema": { "type": "integer", "format": "int64", "examples": [10843] } }, { "name": "status", "in": "query", "description": "默认是1,正常状态(出售中), 0:下架(仓库中) 2:待审核", "required": false, "example": 2, "schema": { "type": "integer", "examples": [2] } }, { "name": "categoryId", "in": "query", "description": "商品分类", "required": false, "example": 14895, "schema": { "type": "integer", "format": "int64", "examples": [14895] } }, { "name": "categoryName", "in": "query", "description": "商品分类名称", "required": false, "schema": { "type": "string" } }, { "name": "createTime", "in": "query", "description": "创建时间", "required": false, "schema": { "type": "array", "items": { "type": "string" } } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CommonResultPageResultProdListVO" }, "example": { "code": 0, "data": { "list": [ { "createTime": "", "updateTime": "", "creator": "", "updater": "", "deleted": 0, "prodId": 0, "prodName": "", "abbreviation": "", "seoShortName": "", "seoSearch": "", "keyword": "", "shopId": 0, "brief": "", "brand": "", "isProhibit": 0, "processNotes": "", "content": "", "prodNumber": "", "pic": "", "imgs": "", "video": "", "whiteImg": "", "tag": [""], "status": 0, "categoryId": 0, "soldNum": 0, "shareImage": "", "shareContent": "", "regionSwitch": 0, "additionalSwitch": 0, "additionalFeeSwitch": 0, "emergencySwitch": 0, "reservationSwitch": 0, "orderLimitSwitch": 0, "weightSwitch": 0, "version": 0, "top": 0 } ], "total": 0 }, "msg": "" } } }, "headers": {} } }, "security": [] } }, "/product/prod/getProdRecycleBinPageList": { "get": { "summary": "获得商品回收站分页列表", "deprecated": false, "description": "获得商品回收站分页列表", "tags": ["product"], "parameters": [ { "name": "pageNo", "in": "query", "description": "页码,从 1 开始\", example = \"1", "required": true, "schema": { "type": "integer", "minimum": 1, "default": 1 } }, { "name": "pageSize", "in": "query", "description": "每页条数,最大值为 100\"", "required": true, "schema": { "type": "integer", "minimum": 1, "maximum": 100, "default": 10 } }, { "name": "prodName", "in": "query", "description": "商品名称", "required": false, "example": "18784", "schema": { "type": "string", "examples": ["18784"] } }, { "name": "deleteTime", "in": "query", "description": "删除时间", "required": false, "schema": { "type": "array", "items": { "type": "string" } } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CommonResultPageResultProdRestoreListVO" }, "example": { "code": 0, "data": { "list": [ { "skuId": 0, "properties": "", "remainingDays": 0, "deleteTime": "" } ], "total": 0 }, "msg": "" } } }, "headers": {} } }, "security": [] } }, "/product/prod/restoreProdList": { "post": { "summary": "恢复商品", "deprecated": false, "description": "恢复商品", "tags": ["product"], "parameters": [ { "name": "ids", "in": "query", "description": "商品id集合", "required": true, "schema": { "type": "array", "items": { "type": "integer" } } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CommonResultBoolean" }, "example": { "code": 0, "data": false, "msg": "" } } }, "headers": {} } }, "security": [] } }, "/product/category/categoryList": { "get": { "summary": "获取菜单页面的表", "deprecated": false, "description": "", "tags": ["category"], "parameters": [ { "name": "grade", "in": "query", "description": "", "required": false, "schema": { "type": "integer" } }, { "name": "categoryId", "in": "query", "description": "", "required": false, "schema": { "type": "integer" } }, { "name": "categoryName", "in": "query", "description": "", "required": false, "schema": { "type": "string" } }, { "name": "status", "in": "query", "description": "", "required": false, "schema": { "type": "integer" } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CommonResultListCategoryDto", "description": "" }, "example": { "code": 0, "data": [ { "categoryId": 0, "shopId": 0, "parentId": 0, "parentName": "", "categoryName": "", "icon": "", "pic": "", "description": "", "tag": "", "sort": 0, "status": 0, "grade": 0 } ], "msg": "" } } }, "headers": {} } }, "security": [] } }, "/product/category/create": { "post": { "summary": "创建产品类目", "deprecated": false, "description": "创建产品类目", "tags": ["category"], "parameters": [], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CategorySaveReqVO", "description": "" } } } }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CommonResultLong" }, "example": { "code": 0, "data": 0, "msg": "" } } }, "headers": {} } }, "security": [] } }, "/product/category/update": { "put": { "summary": "更新产品类目", "deprecated": false, "description": "更新产品类目", "tags": ["category"], "parameters": [], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CategorySaveReqVO", "description": "" } } } }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CommonResultBoolean" }, "example": { "code": 0, "data": false, "msg": "" } } }, "headers": {} } }, "security": [] } }, "/product/sku/update": { "put": { "summary": "更新单品SKU", "deprecated": false, "description": "更新单品SKU", "tags": ["product"], "parameters": [], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SkuSaveReqVO", "description": "" } } } }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CommonResultBoolean" }, "example": { "code": 0, "data": false, "msg": "" } } }, "headers": {} } }, "security": [] } }, "/product/sku/updateProp": { "put": { "summary": "新增统一保存sku规格", "deprecated": false, "description": "更新sku规格", "tags": ["product"], "parameters": [], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SkuPropVO", "description": "" } } } }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CommonResultBoolean" }, "example": { "code": 0, "data": false, "msg": "" } } }, "headers": {} } }, "security": [] } }, "/product/sku/updatePropValue": { "put": { "summary": "修改属性下面规格值", "deprecated": false, "description": "修改属性下面规格值", "tags": ["product"], "parameters": [ { "name": "id", "in": "query", "description": "", "required": true, "schema": { "type": "integer" } }, { "name": "propValue", "in": "query", "description": "", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CommonResultBoolean" }, "example": { "code": 0, "data": false, "msg": "" } } }, "headers": {} } }, "security": [] } }, "/product/sku/updateProdProp": { "put": { "summary": "修改属性规格值", "deprecated": false, "description": "修改属性规格值", "tags": ["product"], "parameters": [ { "name": "id", "in": "query", "description": "", "required": true, "schema": { "type": "integer" } }, { "name": "propName", "in": "query", "description": "", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CommonResultBoolean" }, "example": { "code": 0, "data": false, "msg": "" } } }, "headers": {} } }, "security": [] } }, "/product/sku/getSKuPropList": { "get": { "summary": "获取sku规格", "deprecated": false, "description": "获取sku规格", "tags": ["product"], "parameters": [ { "name": "prodId", "in": "query", "description": "商品id", "required": true, "schema": { "type": "integer" } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CommonResultSkuPropInfoVO" }, "example": { "code": 0, "data": { "prodId": 0, "isExpire": 0, "isDisable": 0, "prodPropSaveReqVO": [ { "id": 0, "propId": 0, "propName": "", "rule": 0, "shopId": 0, "prodId": 0, "sort": 0, "deleted": 0, "isExist": 0, "state": 0, "prodPropValues": [ { "id": 0, "valueId": 0, "propValue": "", "propId": 0, "deleted": 0, "state": 0, "isExpire": 0, "sort": 0, "isExist": 0 } ] } ] }, "msg": "" } } }, "headers": {} } }, "security": [] } }, "/product/sku/getPropRecycleBinList": { "get": { "summary": "获取规格回收站", "deprecated": false, "description": "获取规格回收站", "tags": ["product"], "parameters": [ { "name": "pageNo", "in": "query", "description": "页码,从 1 开始\", example = \"1", "required": true, "schema": { "type": "integer", "minimum": 1, "default": 1 } }, { "name": "pageSize", "in": "query", "description": "每页条数,最大值为 100\"", "required": true, "schema": { "type": "integer", "minimum": 1, "maximum": 100, "default": 10 } }, { "name": "propValue", "in": "query", "description": "属性规格名称", "required": false, "schema": { "type": "string" } }, { "name": "prodId", "in": "query", "description": "商品id", "required": false, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CommonResultPageResultProPropRecycleBinVO" }, "example": { "code": 0, "data": { "list": [ { "id": 0, "propValue": "", "propId": 0, "remainingDays": 0, "deleteTime": "" } ], "total": 0 }, "msg": "" } } }, "headers": {} } }, "security": [] } }, "/product/sku/restorePropList": { "post": { "summary": "恢复规格", "deprecated": false, "description": "恢复规格", "tags": ["product"], "parameters": [ { "name": "ids", "in": "query", "description": "skuids", "required": true, "schema": { "type": "array", "items": { "type": "integer" } } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CommonResultBoolean" }, "example": { "code": 0, "data": false, "msg": "" } } }, "headers": {} } }, "security": [] } }, "/product/sku/updateSkuShelf": { "post": { "summary": "修改单品上下架", "deprecated": false, "description": "修改单品上下架", "tags": ["product"], "parameters": [ { "name": "id", "in": "query", "description": "", "required": true, "schema": { "type": "integer" } }, { "name": "isShelf", "in": "query", "description": "", "required": true, "schema": { "type": "integer" } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CommonResultBoolean" }, "example": { "code": 0, "data": false, "msg": "" } } }, "headers": {} } }, "security": [] }, "put": { "summary": "修改单品上下架", "deprecated": false, "description": "修改单品上下架", "tags": ["product"], "parameters": [ { "name": "id", "in": "query", "description": "编号", "required": true, "schema": { "type": "integer" } }, { "name": "isShelf", "in": "query", "description": "", "required": true, "schema": { "type": "integer" } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CommonResultBoolean" }, "example": { "code": 0, "data": false, "msg": "" } } }, "headers": {} } }, "security": [] } }, "/product/sku/deleteProp": { "put": { "summary": "删除规格值", "deprecated": false, "description": "删除规格值", "tags": ["product"], "parameters": [ { "name": "id", "in": "query", "description": "", "required": true, "schema": { "type": "integer" } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CommonResultBoolean" }, "example": { "code": 0, "data": false, "msg": "" } } }, "headers": {} } }, "security": [] } }, "/product/sku/updateSkuShelfList": { "post": { "summary": "批量上下架", "deprecated": false, "description": "批量上下架", "tags": ["product"], "parameters": [ { "name": "ids", "in": "query", "description": "编号", "required": true, "schema": { "type": "array", "items": { "type": "integer" } } }, { "name": "isShelf", "in": "query", "description": "", "required": true, "schema": { "type": "integer" } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CommonResultBoolean" }, "example": { "code": 0, "data": false, "msg": "" } } }, "headers": {} } }, "security": [] }, "put": { "summary": "批量上下架", "deprecated": false, "description": "批量上下架", "tags": ["product"], "parameters": [ { "name": "ids", "in": "query", "description": "编号", "required": true, "schema": { "type": "array", "items": { "type": "integer" } } }, { "name": "isShelf", "in": "query", "description": "", "required": true, "schema": { "type": "integer" } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CommonResultBoolean" }, "example": { "code": 0, "data": false, "msg": "" } } }, "headers": {} } }, "security": [] } }, "/product/sku/disableProp": { "put": { "summary": "禁用或者启用规格值", "deprecated": false, "description": "禁用规格值", "tags": ["product"], "parameters": [ { "name": "id", "in": "query", "description": "", "required": false, "schema": { "type": "integer" } }, { "name": "state", "in": "query", "description": "", "required": true, "schema": { "type": "integer" } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CommonResultBoolean" }, "example": { "code": 0, "data": false, "msg": "" } } }, "headers": {} } }, "security": [] } }, "/product/sku/delete": { "delete": { "summary": "删除单品SKU", "deprecated": false, "description": "删除单品SKU", "tags": ["product"], "parameters": [ { "name": "id", "in": "query", "description": "编号", "required": true, "schema": { "type": "integer" } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CommonResultBoolean" }, "example": { "code": 0, "data": false, "msg": "" } } }, "headers": {} } }, "security": [] } }, "/product/sku/deleteSkuList": { "delete": { "summary": "批量删除SKU", "deprecated": false, "description": "批量删除SKU", "tags": ["product"], "parameters": [ { "name": "ids", "in": "query", "description": "编号", "required": true, "schema": { "type": "array", "items": { "type": "integer" } } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CommonResultBoolean" }, "example": { "code": 0, "data": false, "msg": "" } } }, "headers": {} } }, "security": [] } }, "/product/sku/get": { "get": { "summary": "获得单品SKU", "deprecated": false, "description": "获得单品SKU", "tags": ["product"], "parameters": [ { "name": "id", "in": "query", "description": "编号", "required": true, "example": 1024, "schema": { "type": "integer" } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CommonResultSkuRespVO" }, "example": { "code": 0, "data": { "skuId": 0, "prodId": 0, "properties": "", "alias": "", "price": 0, "basePrice": 0, "minPrice": 0, "maxPrice": 0, "originalPrice": 0, "marketPrice": 0, "unit": "", "type": 0, "overview": "", "stocks": 0, "warnStocks": 0, "stocksType": false, "skuCode": "", "modelId": "", "pic": "", "skuName": "", "prodName": "", "version": 0, "weight": 0, "volume": 0, "status": 0, "isDelete": 0, "moq": 0, "createTime": "", "isShelf": 0, "isSpecs": 0, "serviceContent": "", "propIds": "" }, "msg": "" } } }, "headers": {} } }, "security": [] } }, "/product/sku/getSkuRecycleBinPageList": { "get": { "summary": "获得SKU回收站分页列表", "deprecated": false, "description": "获得SKU回收站分页列表", "tags": ["product"], "parameters": [ { "name": "pageNo", "in": "query", "description": "页码,从 1 开始\", example = \"1", "required": true, "schema": { "type": "integer", "minimum": 1, "default": 1 } }, { "name": "pageSize", "in": "query", "description": "每页条数,最大值为 100\"", "required": true, "schema": { "type": "integer", "minimum": 1, "maximum": 100, "default": 10 } }, { "name": "prodId", "in": "query", "description": "商品ID", "required": false, "example": 18784, "schema": { "type": "integer", "format": "int64", "examples": [18784] } }, { "name": "properties", "in": "query", "description": "销售属性组合字符串", "required": false, "schema": { "type": "string" } }, { "name": "skuId", "in": "query", "description": "skuID", "required": false, "example": 18784, "schema": { "type": "integer", "format": "int64", "examples": [18784] } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CommonResultPageResultSkuRecycleBinVO" }, "example": { "code": 0, "data": { "list": [ { "skuId": 0, "properties": "", "remainingDays": 0, "deleteTime": "" } ], "total": 0 }, "msg": "" } } }, "headers": {} } }, "security": [] } }, "/product/sku/restoreSkuList": { "post": { "summary": "恢复SKU", "deprecated": false, "description": "恢复SKU", "tags": ["product"], "parameters": [ { "name": "ids", "in": "query", "description": "skuids", "required": true, "schema": { "type": "array", "items": { "type": "integer" } } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CommonResultBoolean" }, "example": { "code": 0, "data": false, "msg": "" } } }, "headers": {} } }, "security": [] } }, "/product/sku/getSkuPageList": { "get": { "summary": "获得SKU分页列表", "deprecated": false, "description": "获得SKU分页列表", "tags": ["product"], "parameters": [ { "name": "pageNo", "in": "query", "description": "页码,从 1 开始\", example = \"1", "required": true, "schema": { "type": "integer", "minimum": 1, "default": 1 } }, { "name": "pageSize", "in": "query", "description": "每页条数,最大值为 100\"", "required": true, "schema": { "type": "integer", "minimum": 1, "maximum": 100, "default": 10 } }, { "name": "prodId", "in": "query", "description": "商品ID", "required": false, "example": 18784, "schema": { "type": "integer", "format": "int64", "examples": [18784] } }, { "name": "properties", "in": "query", "description": "销售属性组合字符串", "required": false, "schema": { "type": "string" } }, { "name": "skuId", "in": "query", "description": "skuID", "required": false, "example": 18784, "schema": { "type": "integer", "format": "int64", "examples": [18784] } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CommonResultPageResultSkuDO" }, "example": { "code": 0, "data": { "list": [ { "createTime": "", "updateTime": "", "creator": "", "updater": "", "deleted": 0, "skuId": 0, "prodId": 0, "properties": "", "alias": "", "price": 0, "basePrice": 0, "minPrice": 0, "maxPrice": 0, "originalPrice": 0, "marketPrice": 0, "serviceContent": "", "propIds": "", "unit": "", "type": 0, "overview": "", "stocks": 0, "warnStocks": 0, "stocksType": 0, "skuCode": "", "modelId": "", "pic": "", "skuName": "", "prodName": "", "version": 0, "weight": 0, "volume": 0, "status": 0, "moq": 0, "isShelf": 0, "isSpecs": 0, "formId": 0, "isExist": 0, "deleteTime": "" } ], "total": 0 }, "msg": "" } } }, "headers": {} } }, "security": [] } }, "/product/sku/createSkuExtend": { "post": { "summary": "创建sku扩展服务配置", "deprecated": false, "description": "创建sku扩展服务配置", "tags": ["product"], "parameters": [], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SkuExtendVO", "description": "" } } } }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CommonResultBoolean" }, "example": { "code": 0, "data": false, "msg": "" } } }, "headers": {} } }, "security": [] } }, "/product/sku/getSkuExtend": { "post": { "summary": "获取sku扩展服务配置信息", "deprecated": false, "description": "获取sku扩展服务配置信息", "tags": ["product"], "parameters": [ { "name": "formId", "in": "query", "description": "表单id", "required": true, "example": 1, "schema": { "type": "integer" } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CommonResultSkuExtendVO" }, "example": { "code": 0, "data": { "skuFormName": "", "transportCarSwitch": 0, "transportCarList": [ { "createTime": "", "updateTime": "", "creator": "", "updater": "", "deleted": 0, "id": 0, "serviceId": 0, "pic": "", "name": "", "price": 0, "isCharge": 0, "isDefault": 0, "type": 0, "adress": "", "triggerName": "", "triggerId": 0, "isParallel": 0, "describeContent": "" } ], "transportCarMaterialList": [ { "createTime": "", "updateTime": "", "creator": "", "updater": "", "deleted": 0, "id": 0, "serviceId": 0, "name": "", "describeContent": "" } ], "trafficSwitch": 0, "trafficList": [ { "createTime": "", "updateTime": "", "creator": "", "updater": "", "deleted": 0, "id": 0, "serviceId": 0, "contacts": "", "address": "", "province": "", "city": "", "area": "", "tel": "" } ], "trafficMaterialList": [ { "createTime": "", "updateTime": "", "creator": "", "updater": "", "deleted": 0, "id": 0, "serviceId": 0, "name": "", "describeContent": "" } ], "cleanSwitch": 0, "cleanList": [ { "createTime": "", "updateTime": "", "creator": "", "updater": "", "deleted": 0, "id": 0, "serviceId": 0, "pic": "", "name": "", "price": 0, "isCharge": 0, "isDefault": 0, "type": 0, "adress": "", "triggerName": "", "triggerId": 0, "isParallel": 0, "describeContent": "" } ], "cleanMaterialList": [ { "createTime": "", "updateTime": "", "creator": "", "updater": "", "deleted": 0, "id": 0, "serviceId": 0, "name": "", "describeContent": "" } ], "reflectionSwitch": 0, "reflectionList": [ { "createTime": "", "updateTime": "", "creator": "", "updater": "", "deleted": 0, "id": 0, "serviceId": 0, "pic": "", "name": "", "price": 0, "isCharge": 0, "isDefault": 0, "type": 0, "adress": "", "triggerName": "", "triggerId": 0, "isParallel": 0, "describeContent": "" } ], "reflectionMaterialList": [ { "createTime": "", "updateTime": "", "creator": "", "updater": "", "deleted": 0, "id": 0, "serviceId": 0, "name": "", "describeContent": "" } ], "cremationSwitch": 0, "cremationList": [ { "createTime": "", "updateTime": "", "creator": "", "updater": "", "deleted": 0, "id": 0, "serviceId": 0, "pic": "", "name": "", "price": 0, "isCharge": 0, "isDefault": 0, "type": 0, "adress": "", "triggerName": "", "triggerId": 0, "isParallel": 0, "describeContent": "" } ], "cremationMaterialList": [ { "createTime": "", "updateTime": "", "creator": "", "updater": "", "deleted": 0, "id": 0, "serviceId": 0, "name": "", "describeContent": "" } ], "ashProcessingSwitch": 0, "ashProcessingList": [ { "createTime": "", "updateTime": "", "creator": "", "updater": "", "deleted": 0, "id": 0, "serviceId": 0, "pic": "", "name": "", "price": 0, "isCharge": 0, "isDefault": 0, "type": 0, "adress": "", "triggerName": "", "triggerId": 0, "isParallel": 0, "describeContent": "" } ], "ashProcessingDeliverList": [ { "createTime": "", "updateTime": "", "creator": "", "updater": "", "deleted": 0, "id": 0, "serviceId": 0, "type": 0, "price": 0, "isCharge": 0, "address": "", "province": "", "city": "", "area": "", "tel": "" } ], "ashProcessingMaterialList": [ { "createTime": "", "updateTime": "", "creator": "", "updater": "", "deleted": 0, "id": 0, "serviceId": 0, "name": "", "describeContent": "" } ], "boneashSwitch": 0, "boneashList": [ { "createTime": "", "updateTime": "", "creator": "", "updater": "", "deleted": 0, "id": 0, "serviceId": 0, "pic": "", "name": "", "price": 0, "isCharge": 0, "isDefault": 0, "type": 0, "adress": "", "triggerName": "", "triggerId": 0, "isParallel": 0, "describeContent": "" } ], "souvenirSwitch": 0, "souvenirList": [ { "createTime": "", "updateTime": "", "creator": "", "updater": "", "deleted": 0, "id": 0, "serviceId": 0, "pic": "", "name": "", "price": 0, "isCharge": 0, "isDefault": 0, "type": 0, "adress": "", "triggerName": "", "triggerId": 0, "isParallel": 0, "describeContent": "" } ], "souvenirDeliverList": [ { "createTime": "", "updateTime": "", "creator": "", "updater": "", "deleted": 0, "id": 0, "serviceId": 0, "type": 0, "price": 0, "isCharge": 0, "address": "", "province": "", "city": "", "area": "", "tel": "" } ] }, "msg": "" } } }, "headers": {} } }, "security": [] } }, "/product/sku/updateServiceDetails": { "post": { "summary": "修改扩展服务信息配置(遗体接运扩展服务,遗体清洁配置,追思告别配置,骨灰处理配置......)", "deprecated": false, "description": "修改扩展服务信息配置(遗体接运扩展服务,遗体清洁配置,追思告别配置,骨灰处理配置......)", "tags": ["product"], "parameters": [], "requestBody": { "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/SkuServiceDetailsDO", "description": "服务详情 DO" }, "description": "" } } } }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CommonResultBoolean" }, "example": { "code": 0, "data": false, "msg": "" } } }, "headers": {} } }, "security": [] } }, "/product/sku/updateMaterial": { "post": { "summary": "修物料配置", "deprecated": false, "description": "修物料配置", "tags": ["product"], "parameters": [], "requestBody": { "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/SkuServiceMaterialDO", "description": "服务物料详情 DO" }, "description": "" } } } }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CommonResultBoolean" }, "example": { "code": 0, "data": false, "msg": "" } } }, "headers": {} } }, "security": [] } }, "/product/sku/updateTransportAdress": { "post": { "summary": "修改接运地址配置", "deprecated": false, "description": "修改接运地址配置", "tags": ["product"], "parameters": [], "requestBody": { "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/SkuServiceTransportDO", "description": "服务遗体运输 DO" }, "description": "" } } } }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CommonResultBoolean" }, "example": { "code": 0, "data": false, "msg": "" } } }, "headers": {} } }, "security": [] } }, "/product/sku/updateDeliver": { "post": { "summary": "修改配送方式", "deprecated": false, "description": "修改配送方式", "tags": ["product"], "parameters": [], "requestBody": { "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/SkuServiceDeliverDO", "description": "服务交付方式 DO" }, "description": "" } } } }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CommonResultBoolean" }, "example": { "code": 0, "data": false, "msg": "" } } }, "headers": {} } }, "security": [] } } }, "webhooks": {}, "components": { "schemas": { "CommonResultLong": { "type": "object", "properties": { "code": { "type": "integer", "description": "错误码" }, "data": { "type": "integer", "description": "返回数据", "format": "int64" }, "msg": { "type": "string", "description": "错误提示,用户可阅读" } } }, "CategoryDO": { "type": "object", "properties": { "createTime": { "type": "string", "description": "创建时间" }, "updateTime": { "type": "string", "description": "最后更新时间" }, "creator": { "type": "string", "description": "创建者,目前使用 SysUser 的 id 编号\n\n使用 String 类型的原因是,未来可能会存在非数值的情况,留好拓展性。" }, "updater": { "type": "string", "description": "更新者,目前使用 SysUser 的 id 编号\n\n使用 String 类型的原因是,未来可能会存在非数值的情况,留好拓展性。" }, "deleted": { "type": "integer", "description": "是否删除" }, "categoryId": { "type": "integer", "description": "类目ID", "format": "int64" }, "shopId": { "type": "integer", "description": "店铺ID", "format": "int64" }, "parentId": { "type": "integer", "description": "父节点", "format": "int64" }, "parentName": { "type": "string", "description": "父节名称" }, "categoryName": { "type": "string", "description": "产品类目名称" }, "icon": { "type": "string", "description": "类目图标" }, "pic": { "type": "string", "description": "类目的显示图片" }, "description": { "type": "string", "description": "类目描述" }, "tag": { "type": "array", "items": { "type": "string" }, "description": "标签" }, "sort": { "type": "integer", "description": "排序" }, "status": { "type": "integer", "description": "默认是1,表示正常状态,0为下线状态" }, "grade": { "type": "integer", "description": "分类层级 1、2、3级" } } }, "CategoryDto": { "type": "object", "properties": { "categoryId": { "type": "integer", "description": "类目ID", "format": "int64" }, "shopId": { "type": "integer", "description": "店铺ID", "format": "int64" }, "parentId": { "type": "integer", "description": "父节点", "format": "int64" }, "parentName": { "type": "string", "description": "父节名称" }, "categoryName": { "type": "string", "description": "产品类目名称" }, "icon": { "type": "string", "description": "类目图标" }, "pic": { "type": "string", "description": "类目的显示图片" }, "description": { "type": "string", "description": "类目描述" }, "tag": { "type": "string", "description": "标签" }, "sort": { "type": "integer", "description": "排序" }, "status": { "type": "integer", "description": "默认是1,表示正常状态,0为下线状态" }, "grade": { "type": "integer", "description": "分类层级 1、2、3级" } } }, "ProductPropertyValueDetailRespVO": { "type": "object", "properties": { "propertyId": { "type": "integer", "description": "属性的编号 - 必填 - 示例: 1", "format": "int64" }, "propertyName": { "type": "string", "description": "属性的名称 - 必填 - 示例: 颜色" }, "valueId": { "type": "integer", "description": "属性值的编号 - 必填 - 示例: 1024", "format": "int64" }, "valueName": { "type": "string", "description": "属性值的名称 - 必填 - 示例: 红色" } } }, "SkuDO": { "type": "object", "properties": { "createTime": { "type": "string", "description": "创建时间" }, "updateTime": { "type": "string", "description": "最后更新时间" }, "creator": { "type": "string", "description": "创建者,目前使用 SysUser 的 id 编号\n\n使用 String 类型的原因是,未来可能会存在非数值的情况,留好拓展性。" }, "updater": { "type": "string", "description": "更新者,目前使用 SysUser 的 id 编号\n\n使用 String 类型的原因是,未来可能会存在非数值的情况,留好拓展性。" }, "deleted": { "type": "integer", "description": "是否删除" }, "skuId": { "type": "integer", "description": "单品ID", "format": "int64" }, "prodId": { "type": "integer", "description": "商品ID", "format": "int64" }, "properties": { "type": "string", "description": "销售属性组合字符串 格式是p1:v1;p2:v2" }, "alias": { "type": "string", "description": "别名" }, "price": { "type": "number", "description": "价格" }, "basePrice": { "type": "number", "description": "基准价" }, "minPrice": { "type": "number", "description": "最低价格" }, "maxPrice": { "type": "number", "description": "最高价格" }, "originalPrice": { "type": "number", "description": "成本价" }, "marketPrice": { "type": "number", "description": "市场价" }, "serviceContent": { "type": "string", "description": "服务内容" }, "propIds": { "type": "string", "description": "规格id 多个用逗号分隔(1,2,3)" }, "unit": { "type": "string", "description": "单位" }, "type": { "type": "integer", "description": "0:主服务1:待定" }, "overview": { "type": "string", "description": "概述" }, "stocks": { "type": "integer", "description": "库存" }, "stocksFlg": { "type": "integer", "description": "总库存是0 无线库存是1" }, "stocksLockNum": { "type": "integer", "description": "锁定库存数" }, "warnStocks": { "type": "integer", "description": "预警库存" }, "stocksType": { "type": "integer", "description": "库存扣款时机0:付款扣1:下单扣" }, "skuCode": { "type": "string", "description": "sku编码" }, "modelId": { "type": "string", "description": "商品条形码" }, "pic": { "type": "string", "description": "sku图片" }, "skuName": { "type": "string", "description": "sku名称" }, "prodName": { "type": "string", "description": "商品名称" }, "version": { "type": "integer", "description": "版本号" }, "weight": { "type": "number", "description": "商品重量" }, "volume": { "type": "number", "description": "商品体积" }, "status": { "type": "integer", "description": "0 禁用 1 启用" }, "moq": { "type": "integer", "description": "最小购买数量" }, "isShelf": { "type": "integer", "description": "是否上下架0下架1上架" }, "isSpecs": { "type": "integer", "description": "是否默认规则0否1是" }, "formId": { "type": "integer", "description": "扩展服务表单id", "format": "int64" }, "isExist": { "type": "integer", "description": "扩展服务表单id" }, "deleteTime": { "type": "string", "description": "删除时间" } } }, "CommonResultListCategoryDO": { "type": "object", "properties": { "code": { "type": "integer", "description": "错误码" }, "data": { "type": "array", "items": { "$ref": "#/components/schemas/CategoryDO", "description": "产品类目 DO" }, "description": "返回数据" }, "msg": { "type": "string", "description": "错误提示,用户可阅读" } } }, "SkuServiceDetailsDO": { "type": "object", "properties": { "createTime": { "type": "string", "description": "创建时间" }, "updateTime": { "type": "string", "description": "最后更新时间" }, "creator": { "type": "string", "description": "创建者,目前使用 SysUser 的 id 编号\n\n使用 String 类型的原因是,未来可能会存在非数值的情况,留好拓展性。" }, "updater": { "type": "string", "description": "更新者,目前使用 SysUser 的 id 编号\n\n使用 String 类型的原因是,未来可能会存在非数值的情况,留好拓展性。" }, "deleted": { "type": "integer", "description": "是否删除" }, "id": { "type": "integer", "description": "服务详情的唯一标识符", "format": "int64" }, "serviceId": { "type": "integer", "description": "关联的扩展服务ID", "format": "int64" }, "pic": { "type": "string", "description": "图片" }, "name": { "type": "string", "description": "名称" }, "price": { "type": "number", "description": "价格" }, "isCharge": { "type": "integer", "description": "是否收费0:免费1收费" }, "isDefault": { "type": "integer", "description": "是否默认值0否1是" }, "type": { "type": "integer", "description": "类型:0:配置信息1:交付方式" }, "adress": { "type": "string", "description": "地点" }, "triggerName": { "type": "string", "description": "触发节点名称" }, "triggerId": { "type": "integer", "description": "触发节点id(或关联节点)", "format": "int64" }, "isParallel": { "type": "integer", "description": "是否并行0串行1并行" }, "describeContent": { "type": "string", "description": "描述" } } }, "CommonResultListCategoryDto": { "type": "object", "properties": { "code": { "type": "integer", "description": "错误码" }, "data": { "type": "array", "items": { "$ref": "#/components/schemas/CategoryDto", "description": "产品类目 DO" }, "description": "返回数据" }, "msg": { "type": "string", "description": "错误提示,用户可阅读" } } }, "Item": { "type": "object", "properties": { "id": { "type": "integer", "description": "编号 - 必填,示例:1", "format": "int64" }, "userId": { "type": "integer", "description": "用户编号 - 必填,示例:1", "format": "int64" }, "orderId": { "type": "integer", "description": "订单编号 - 必填,示例:1", "format": "int64" }, "spuId": { "type": "integer", "description": "商品 SPU 编号 - 必填,示例:1", "format": "int64" }, "spuName": { "type": "string", "description": "商品 SPU 名称 - 必填,示例:芋道源码" }, "skuId": { "type": "integer", "description": "商品 SKU 编号 - 必填,示例:1", "format": "int64" }, "picUrl": { "type": "string", "description": "商品图片 - 必填,示例:https://www.iocoder.cn/1.png" }, "count": { "type": "integer", "description": "购买数量 - 必填,示例:1" }, "price": { "type": "integer", "description": "商品原价(单) - 必填,示例:100" }, "discountPrice": { "type": "integer", "description": "商品优惠(总) - 必填,示例:100" }, "payPrice": { "type": "integer", "description": "商品实付金额(总) - 必填,示例:100" }, "orderPartPrice": { "type": "integer", "description": "子订单分摊金额(总) - 必填,示例:100" }, "orderDividePrice": { "type": "integer", "description": "分摊后子订单实付金额(总) - 必填,示例:100" }, "afterSaleStatus": { "type": "integer", "description": "售后状态 - 必填,示例:1" }, "properties": { "type": "array", "items": { "$ref": "#/components/schemas/ProductPropertyValueDetailRespVO", "description": "com.tashow.cloud.trade.controller.admin.base.product.property.ProductPropertyValueDetailRespVO" }, "description": "属性列表 - 必填" } } }, "ProdPropValueDO": { "type": "object", "properties": { "id": { "type": "integer", "description": "id", "format": "int64" }, "valueId": { "type": "integer", "description": "属性值ID", "format": "int64" }, "propValue": { "type": "string", "description": "属性值名称" }, "propId": { "type": "integer", "description": "属性ID", "format": "int64" }, "deleted": { "type": "integer", "description": "是否删除0否1是" }, "state": { "type": "integer", "description": "状态0禁用1启用" }, "isExpire": { "type": "integer", "description": "是否失效0否1是" }, "sort": { "type": "integer", "description": "排序" }, "isExist": { "type": "integer", "description": "扩展服务表单id" }, "deleteTime": { "type": "string", "description": "删除时间" } } }, "SkuServiceMaterialDO": { "type": "object", "properties": { "createTime": { "type": "string", "description": "创建时间" }, "updateTime": { "type": "string", "description": "最后更新时间" }, "creator": { "type": "string", "description": "创建者,目前使用 SysUser 的 id 编号\n\n使用 String 类型的原因是,未来可能会存在非数值的情况,留好拓展性。" }, "updater": { "type": "string", "description": "更新者,目前使用 SysUser 的 id 编号\n\n使用 String 类型的原因是,未来可能会存在非数值的情况,留好拓展性。" }, "deleted": { "type": "integer", "description": "是否删除" }, "id": { "type": "integer", "description": "服务物料的唯一标识符", "format": "int64" }, "serviceId": { "type": "integer", "description": "关联的扩展服务ID", "format": "int64" }, "name": { "type": "string", "description": "名称" }, "describeContent": { "type": "string", "description": "描述" } } }, "MemberUserRespVO": { "type": "object", "properties": { "id": { "type": "integer", "description": "用户 ID - 必填 - 示例: 1", "format": "int64" }, "nickname": { "type": "string", "description": "用户昵称 - 必填 - 示例: 芋道源码" }, "avatar": { "type": "string", "description": "用户头像 - 示例: https://www.iocoder.cn/xxx.png" } } }, "ProdPropSaveReqVO": { "type": "object", "properties": { "id": { "type": "integer", "description": "", "format": "int64" }, "propId": { "type": "integer", "description": "属性id", "format": "int64", "examples": [14271] }, "propName": { "type": "string", "description": "属性名称", "examples": ["李四"] }, "rule": { "type": "integer", "description": "ProdPropRule 1:销售属性(规格); 2:参数属性;" }, "shopId": { "type": "integer", "description": "店铺id", "format": "int64", "examples": [2806] }, "prodId": { "type": "integer", "description": "商品id(添加的时候不传)", "examples": [21671] }, "deleted": { "type": "integer", "description": "是否删除0否1是" }, "isExist": { "type": "integer", "description": "扩展服务表单id" }, "prodPropValues": { "type": "array", "items": { "$ref": "#/components/schemas/ProdPropValueDO", "description": "属性规则 DO" }, "description": "属性值" } }, "required": ["prodPropValues"] }, "CategorySaveReqVO": { "type": "object", "properties": { "categoryId": { "type": "integer", "description": "类目ID", "format": "int64", "examples": [15856] }, "shopId": { "type": "integer", "description": "店铺ID", "format": "int64", "examples": [22369] }, "parentId": { "type": "integer", "description": "父节点", "format": "int64", "examples": [16509] }, "parentName": { "type": "string", "description": "父节名称" }, "categoryName": { "type": "string", "description": "产品类目名称", "examples": ["王五"] }, "icon": { "type": "string", "description": "类目图标" }, "pic": { "type": "string", "description": "类目的显示图片" }, "description": { "type": "string", "description": "类目描述" }, "tag": { "type": "array", "items": { "type": "string" }, "description": "标签" }, "sort": { "type": "integer", "description": "排序" }, "status": { "type": "integer", "description": "默认是1,表示正常状态,0为下线状态", "examples": [1] }, "grade": { "type": "integer", "description": "分类层级 1级 2级 3级" } } }, "SkuServiceTransportDO": { "type": "object", "properties": { "createTime": { "type": "string", "description": "创建时间" }, "updateTime": { "type": "string", "description": "最后更新时间" }, "creator": { "type": "string", "description": "创建者,目前使用 SysUser 的 id 编号\n\n使用 String 类型的原因是,未来可能会存在非数值的情况,留好拓展性。" }, "updater": { "type": "string", "description": "更新者,目前使用 SysUser 的 id 编号\n\n使用 String 类型的原因是,未来可能会存在非数值的情况,留好拓展性。" }, "deleted": { "type": "integer", "description": "是否删除" }, "id": { "type": "integer", "description": "服务遗体运输唯一标识符", "format": "int64" }, "serviceId": { "type": "integer", "description": "关联的扩展服务ID", "format": "int64" }, "contacts": { "type": "string", "description": "联系人" }, "address": { "type": "string", "description": "详细地址" }, "province": { "type": "string", "description": "省" }, "city": { "type": "string", "description": "市" }, "area": { "type": "string", "description": "区" }, "tel": { "type": "string", "description": "电话号码" } } }, "TradeOrderPageItemRespVO": { "type": "object", "properties": { "id": { "type": "integer", "description": "订单编号 - 必填,示例:1024", "format": "int64" }, "orderNum": { "type": "string", "description": "订单流水号 - 必填,示例:1146347329394184195" }, "createTime": { "type": "string", "description": "下单时间 - 必填" }, "type": { "type": "integer", "description": "订单类型 - 必填,示例:1" }, "terminal": { "type": "integer", "description": "订单来源 - 必填,示例:1" }, "userId": { "type": "integer", "description": "用户编号 - 必填,示例:2048", "format": "int64" }, "userIp": { "type": "string", "description": "用户 IP - 必填,示例:127.0.0.1" }, "userRemark": { "type": "string", "description": "用户备注 - 必填,示例:你猜" }, "status": { "type": "integer", "description": "订单状态 - 必填,示例:1" }, "productCount": { "type": "integer", "description": "购买的商品数量 - 必填,示例:10" }, "finishTime": { "type": "string", "description": "订单完成时间" }, "cancelTime": { "type": "string", "description": "订单取消时间" }, "cancelType": { "type": "integer", "description": "取消类型,示例:10" }, "remark": { "type": "string", "description": "商家备注,示例:你猜一下" }, "payOrderId": { "type": "integer", "description": "支付订单编号 - 必填,示例:1024", "format": "int64" }, "payStatus": { "type": "boolean", "description": "是否已支付 - 必填,示例:true" }, "payTime": { "type": "string", "description": "付款时间" }, "payChannelCode": { "type": "string", "description": "支付渠道 - 必填,示例:wx_lite" }, "totalPrice": { "type": "integer", "description": "商品原价(总) - 必填,示例:1000" }, "discountPrice": { "type": "integer", "description": "订单优惠(总) - 必填,示例:100" }, "deliveryPrice": { "type": "integer", "description": "运费金额 - 必填,示例:100" }, "adjustPrice": { "type": "integer", "description": "订单调价(总) - 必填,示例:100" }, "payPrice": { "type": "integer", "description": "应付金额(总) - 必填,示例:1000" }, "deliveryType": { "type": "integer", "description": "配送方式,示例:10" }, "pickUpStoreId": { "type": "integer", "description": "自提门店,示例:10", "format": "int64" }, "pickUpVerifyCode": { "type": "integer", "description": "自提核销码,示例:10", "format": "int64" }, "deliveryTemplateId": { "type": "integer", "description": "配送模板编号,示例:1024", "format": "int64" }, "logisticsId": { "type": "integer", "description": "发货物流公司编号,示例:1024", "format": "int64" }, "logisticsNo": { "type": "string", "description": "发货物流单号,示例:1024" }, "deliveryTime": { "type": "string", "description": "发货时间" }, "receiveTime": { "type": "string", "description": "收货时间" }, "receiverName": { "type": "string", "description": "收件人名称 - 必填,示例:张三" }, "receiverMobile": { "type": "string", "description": "收件人手机 - 必填,示例:13800138000" }, "receiverAreaId": { "type": "integer", "description": "收件人地区编号 - 必填,示例:110000" }, "receiverDetailAddress": { "type": "string", "description": "收件人详细地址 - 必填,示例:中关村大街 1 号" }, "afterSaleStatus": { "type": "integer", "description": "售后状态,示例:1" }, "refundPrice": { "type": "integer", "description": "退款金额 - 必填,示例:100" }, "couponId": { "type": "integer", "description": "优惠劵编号,示例:1024", "format": "int64" }, "couponPrice": { "type": "integer", "description": "优惠劵减免金额 - 必填,示例:100" }, "pointPrice": { "type": "integer", "description": "积分抵扣的金额 - 必填,示例:100" }, "vipPrice": { "type": "integer", "description": "VIP 减免金额 - 必填,示例:888" }, "brokerageUserId": { "type": "integer", "description": "推广人编号,示例:1", "format": "int64" }, "receiverAreaName": { "type": "string", "description": "收件人地区名字 - 必填,示例:上海 上海市 普陀区" }, "items": { "type": "array", "items": { "$ref": "#/components/schemas/Item", "description": "com.tashow.cloud.trade.controller.admin.order.vo.TradeOrderPageItemRespVO.Item" }, "description": "订单项列表 - 必填" }, "user": { "$ref": "#/components/schemas/MemberUserRespVO", "description": "用户信息 - 必填" }, "brokerageUser": { "$ref": "#/components/schemas/MemberUserRespVO", "description": "推广人信息" } } }, "ProdSaveReqVO": { "type": "object", "properties": { "prodId": { "type": "integer", "description": "产品ID", "format": "int64", "examples": [6943] }, "prodName": { "type": "string", "description": "商品名称" }, "abbreviation": { "type": "string", "description": "商品简称" }, "seoShortName": { "type": "string", "description": "seo标题", "examples": ["李四"] }, "seoSearch": { "type": "string", "description": "seo搜索" }, "keyword": { "type": "string", "description": "关键词" }, "categoryName": { "type": "string", "description": "商品分类名称" }, "shopId": { "type": "integer", "description": "店铺id", "format": "int64", "examples": [10843] }, "brief": { "type": "string", "description": "简要描述,卖点等" }, "brand": { "type": "string", "description": "品牌" }, "content": { "type": "string", "description": "详细描述" }, "video": { "type": "string", "description": "视频" }, "whiteImg": { "type": "string", "description": "商品轮播图片,以,分割" }, "prodNumber": { "type": "string", "description": "商品编号" }, "pic": { "type": "string", "description": "商品主图" }, "imgs": { "type": "string", "description": "商品轮播图片,以,分割" }, "status": { "type": "integer", "description": "默认是1,表示正常状态, -1表示删除, 0下架", "examples": [2] }, "isProhibit": { "type": "integer", "description": "'是否置灰0否1是'" }, "processNotes": { "type": "string", "description": "审核备注" }, "categoryId": { "type": "integer", "description": "商品分类", "format": "int64", "examples": [14895] }, "soldNum": { "type": "integer", "description": "销量" }, "shareImage": { "type": "string", "description": "分享图" }, "tag": { "type": "array", "items": { "type": "string" }, "description": "标签" }, "shareContent": { "type": "string", "description": "分享话术" }, "regionSwitch": { "type": "integer", "description": "是否开启区域0关1开" }, "additionalSwitch": { "type": "integer", "description": "是否特殊时段0关1开" }, "additionalFeeSwitch": { "type": "integer", "description": "是否特殊日期(节假日周末什么的)0关1开" }, "emergencySwitch": { "type": "integer", "description": "是否紧急响应服务0关1开" }, "reservationSwitch": { "type": "integer", "description": "是否预约0关1开" }, "orderLimitSwitch": { "type": "integer", "description": "是否接单上线0关1开" }, "weightSwitch": { "type": "integer", "description": "是否开启体重配置0关1开" }, "createBy": { "type": "string", "description": "创建人" }, "updateBy": { "type": "string", "description": "修改人" }, "version": { "type": "integer", "description": "版本 乐观锁" }, "top": { "type": "integer", "description": "展示的权重" }, "skuList": { "type": "array", "items": { "$ref": "#/components/schemas/SkuDO", "description": "单品SKU DO" }, "description": "sku列表" }, "prodPropSaveReqVO": { "type": "array", "items": { "$ref": "#/components/schemas/ProdPropSaveReqVO", "description": "com.tashow.cloud.product.vo.prodprop.ProdPropSaveReqVO" }, "description": "规格" } } }, "CommonResultBoolean": { "type": "object", "properties": { "code": { "type": "integer", "description": "错误码" }, "data": { "type": "boolean", "description": "返回数据" }, "msg": { "type": "string", "description": "错误提示,用户可阅读" } } }, "SkuServiceDeliverDO": { "type": "object", "properties": { "createTime": { "type": "string", "description": "创建时间" }, "updateTime": { "type": "string", "description": "最后更新时间" }, "creator": { "type": "string", "description": "创建者,目前使用 SysUser 的 id 编号\n\n使用 String 类型的原因是,未来可能会存在非数值的情况,留好拓展性。" }, "updater": { "type": "string", "description": "更新者,目前使用 SysUser 的 id 编号\n\n使用 String 类型的原因是,未来可能会存在非数值的情况,留好拓展性。" }, "deleted": { "type": "integer", "description": "是否删除" }, "id": { "type": "integer", "description": "服务遗体运输唯一标识符", "format": "int64" }, "serviceId": { "type": "integer", "description": "关联的扩展服务ID", "format": "int64" }, "type": { "type": "integer", "description": "交互方式0:快递物流 1:到店自提 2:商家自送" }, "price": { "type": "number", "description": "价格" }, "isCharge": { "type": "integer", "description": "是否收费0:免费1收费" }, "address": { "type": "string", "description": "详细地址" }, "province": { "type": "string", "description": "省" }, "city": { "type": "string", "description": "市" }, "area": { "type": "string", "description": "区" }, "tel": { "type": "string", "description": "电话号码" } } }, "ProdDO": { "type": "object", "properties": { "createTime": { "type": "string", "description": "创建时间" }, "updateTime": { "type": "string", "description": "最后更新时间" }, "creator": { "type": "string", "description": "创建者,目前使用 SysUser 的 id 编号\n\n使用 String 类型的原因是,未来可能会存在非数值的情况,留好拓展性。" }, "updater": { "type": "string", "description": "更新者,目前使用 SysUser 的 id 编号\n\n使用 String 类型的原因是,未来可能会存在非数值的情况,留好拓展性。" }, "deleted": { "type": "integer", "description": "是否删除" }, "prodId": { "type": "integer", "description": "产品ID", "format": "int64" }, "prodName": { "type": "string", "description": "商品名称" }, "abbreviation": { "type": "string", "description": "商品简称" }, "seoShortName": { "type": "string", "description": "seo标题" }, "seoSearch": { "type": "string", "description": "seo搜索" }, "keyword": { "type": "string", "description": "关键词" }, "shopId": { "type": "integer", "description": "店铺id", "format": "int64" }, "brief": { "type": "string", "description": "简要描述,卖点等" }, "brand": { "type": "string", "description": "品牌" }, "isProhibit": { "type": "integer", "description": "是否置灰0否1是" }, "processNotes": { "type": "string", "description": "审核备注" }, "content": { "type": "string", "description": "详细描述" }, "prodNumber": { "type": "string", "description": "商品编号" }, "pic": { "type": "string", "description": "商品主图" }, "imgs": { "type": "string", "description": "商品轮播图片,以,分割" }, "video": { "type": "string", "description": "视频" }, "whiteImg": { "type": "string", "description": "商品轮播图片,以,分割" }, "tag": { "type": "array", "items": { "type": "string" }, "description": "标签" }, "status": { "type": "integer", "description": "默认是1,正常状态(出售中), 0:下架(仓库中) 2:待审核" }, "categoryId": { "type": "integer", "description": "商品分类", "format": "int64" }, "categoryName": { "type": "string", "description": "商品分类名称" }, "soldNum": { "type": "integer", "description": "销量" }, "shareImage": { "type": "string", "description": "分享图" }, "shareContent": { "type": "string", "description": "分享话术" }, "regionSwitch": { "type": "integer", "description": "是否开启区域0关1开" }, "additionalSwitch": { "type": "integer", "description": "是否特殊时段0关1开" }, "additionalFeeSwitch": { "type": "integer", "description": "是否特殊日期(节假日周末什么的)0关1开" }, "emergencySwitch": { "type": "integer", "description": "是否紧急响应服务0关1开" }, "reservationSwitch": { "type": "integer", "description": "是否预约0关1开" }, "orderLimitSwitch": { "type": "integer", "description": "是否接单上线0关1开" }, "weightSwitch": { "type": "integer", "description": "是否开启体重配置0关1开" }, "version": { "type": "integer", "description": "版本 乐观锁" }, "top": { "type": "integer", "description": "展示的权重" }, "deleteTime": { "type": "string", "description": "删除时间" } } }, "SkuExtendVO": { "type": "object", "properties": { "skuFormName": { "type": "string", "description": "表单名称" }, "transportCarSwitch": { "type": "integer", "description": "遗体接运车辆配置0关1开" }, "transportCarList": { "type": "array", "items": { "$ref": "#/components/schemas/SkuServiceDetailsDO", "description": "服务详情 DO" }, "description": "遗体接运扩展服务配置" }, "transportCarMaterialList": { "type": "array", "items": { "$ref": "#/components/schemas/SkuServiceMaterialDO", "description": "服务物料详情 DO" }, "description": "遗体接运服务物料" }, "trafficSwitch": { "type": "integer", "description": "遗体运输目的地配置0关1开" }, "trafficList": { "type": "array", "items": { "$ref": "#/components/schemas/SkuServiceTransportDO", "description": "服务遗体运输 DO" }, "description": "遗体运输目的地配置" }, "trafficMaterialList": { "type": "array", "items": { "$ref": "#/components/schemas/SkuServiceMaterialDO", "description": "服务物料详情 DO" }, "description": "遗体运输目的地物料" }, "cleanSwitch": { "type": "integer", "description": "遗体清洁配置0关1开" }, "cleanList": { "type": "array", "items": { "$ref": "#/components/schemas/SkuServiceDetailsDO", "description": "服务详情 DO" }, "description": "遗体清洁配置" }, "cleanMaterialList": { "type": "array", "items": { "$ref": "#/components/schemas/SkuServiceMaterialDO", "description": "服务物料详情 DO" }, "description": "遗体清洁物料" }, "reflectionSwitch": { "type": "integer", "description": "追思告别配置0关1开" }, "reflectionList": { "type": "array", "items": { "$ref": "#/components/schemas/SkuServiceDetailsDO", "description": "服务详情 DO" }, "description": "追思告别配置" }, "reflectionMaterialList": { "type": "array", "items": { "$ref": "#/components/schemas/SkuServiceMaterialDO", "description": "服务物料详情 DO" }, "description": "追思告别物料" }, "cremationSwitch": { "type": "integer", "description": "遗体火化配置0关1开" }, "cremationList": { "type": "array", "items": { "$ref": "#/components/schemas/SkuServiceDetailsDO", "description": "服务详情 DO" }, "description": "遗体火化配置" }, "cremationMaterialList": { "type": "array", "items": { "$ref": "#/components/schemas/SkuServiceMaterialDO", "description": "服务物料详情 DO" }, "description": "遗体火化物料" }, "ashProcessingSwitch": { "type": "integer", "description": "骨灰处理配置0关1开" }, "ashProcessingList": { "type": "array", "items": { "$ref": "#/components/schemas/SkuServiceDetailsDO", "description": "服务详情 DO" }, "description": "骨灰处理配置" }, "ashProcessingDeliverList": { "type": "array", "items": { "$ref": "#/components/schemas/SkuServiceDeliverDO", "description": "服务交付方式 DO" }, "description": "骨灰处理配送方式配置" }, "ashProcessingMaterialList": { "type": "array", "items": { "$ref": "#/components/schemas/SkuServiceMaterialDO", "description": "服务物料详情 DO" }, "description": "骨灰处理物料" }, "boneashSwitch": { "type": "integer", "description": "骨灰装殓配置0关1开" }, "boneashList": { "type": "array", "items": { "$ref": "#/components/schemas/SkuServiceDetailsDO", "description": "服务详情 DO" }, "description": "骨灰装殓配置" }, "souvenirSwitch": { "type": "integer", "description": "纪念品配置0关1开" }, "souvenirList": { "type": "array", "items": { "$ref": "#/components/schemas/SkuServiceDetailsDO", "description": "服务详情 DO" }, "description": "纪念品配置" }, "souvenirDeliverList": { "type": "array", "items": { "$ref": "#/components/schemas/SkuServiceDeliverDO", "description": "服务交付方式 DO" }, "description": "纪念品配送方式配置" } } }, "SkuPropVO": { "type": "object", "properties": { "prodId": { "type": "integer", "description": "产品id", "format": "int64" }, "isExpire": { "type": "integer", "description": "是否显示失效规格值 0否1是", "default": 1 }, "isDisable": { "type": "integer", "description": "是否显示禁用规格值 0否1是", "default": 1 }, "skuList": { "type": "array", "items": { "$ref": "#/components/schemas/SkuDO", "description": "单品SKU DO" }, "description": "sku列表" }, "prodPropSaveReqVO": { "type": "array", "items": { "$ref": "#/components/schemas/ProdPropSaveReqVO", "description": "com.tashow.cloud.product.vo.prodprop.ProdPropSaveReqVO" }, "description": "规格" } } }, "PageResultProdDO": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/components/schemas/ProdDO", "description": "商品 DO" }, "description": "数据" }, "total": { "type": "integer", "description": "总量", "format": "int64" } } }, "ProdServiceOverAreaRulesDO": { "type": "object", "properties": { "createTime": { "type": "string", "description": "创建时间" }, "updateTime": { "type": "string", "description": "最后更新时间" }, "creator": { "type": "string", "description": "创建者,目前使用 SysUser 的 id 编号\n\n使用 String 类型的原因是,未来可能会存在非数值的情况,留好拓展性。" }, "updater": { "type": "string", "description": "更新者,目前使用 SysUser 的 id 编号\n\n使用 String 类型的原因是,未来可能会存在非数值的情况,留好拓展性。" }, "deleted": { "type": "boolean", "description": "是否删除" }, "id": { "type": "integer", "description": "超区规则的唯一标识符", "format": "int64" }, "prodId": { "type": "integer", "description": "关联的商品ID", "format": "int64" }, "ruleType": { "type": "boolean", "description": "超区规则类型(0:拒单、2:接单并收取超区费、3:接单并免超区费)" }, "fee": { "type": "number", "description": "超区费用(仅在rule_type为accept_with_fee时有效)" } } }, "SkuSaveReqVO": { "type": "object", "properties": { "skuId": { "type": "integer", "description": "单品ID", "format": "int64", "examples": [32230] }, "prodId": { "type": "integer", "description": "商品ID", "format": "int64", "examples": [18784] }, "properties": { "type": "string", "description": "销售属性组合字符串 格式是p1:v1;p2:v2" }, "alias": { "type": "string", "description": "别名" }, "price": { "type": "number", "description": "价格", "examples": [32405] }, "basePrice": { "type": "number", "description": "基准价" }, "minPrice": { "type": "number", "description": "最低价格", "examples": [5040] }, "maxPrice": { "type": "number", "description": "最高价格", "examples": [11547] }, "originalPrice": { "type": "number", "description": "成本价", "examples": [28062] }, "marketPrice": { "type": "number", "description": "市场价", "examples": [11547] }, "unit": { "type": "string", "description": "单位" }, "type": { "type": "integer", "description": "0:主服务1:待定", "examples": [1] }, "overview": { "type": "string", "description": "概述" }, "stocks": { "type": "integer", "description": "库存" }, "stocksFlg": { "type": "integer", "description": "总库存是0 无线库存是1" }, "stocksLockNum": { "type": "integer", "description": "锁定库存数" }, "warnStocks": { "type": "integer", "description": "预警库存" }, "stocksType": { "type": "boolean", "description": "库存扣款时机0:付款扣1:下单扣", "examples": [true] }, "skuCode": { "type": "string", "description": "sku编码" }, "modelId": { "type": "string", "description": "商品条形码", "examples": ["14390"] }, "pic": { "type": "string", "description": "sku图片" }, "skuName": { "type": "string", "description": "sku名称", "examples": ["张三"] }, "prodName": { "type": "string", "description": "商品名称", "examples": ["芋艿"] }, "version": { "type": "integer", "description": "版本号" }, "weight": { "type": "number", "description": "商品重量" }, "volume": { "type": "number", "description": "商品体积" }, "status": { "type": "integer", "description": "0 禁用 1 启用", "examples": [1] }, "isDelete": { "type": "integer", "description": "0 正常 1 已被删除" }, "moq": { "type": "integer", "description": "最小购买数量" }, "isSpecs": { "type": "integer", "description": "是否默认规则0否1是" }, "formId": { "type": "integer", "description": "扩展服务表单id", "format": "int64" }, "serviceContent": { "type": "string", "description": "服务内容" }, "propIds": { "type": "string", "description": "规格id 多个用逗号分隔(1,2,3)" } } }, "ProdPropDO": { "type": "object", "properties": { "id": { "type": "integer", "description": "属性id", "format": "int64" }, "propId": { "type": "integer", "description": "属性id", "format": "int64" }, "propName": { "type": "string", "description": "属性名称" }, "rule": { "type": "integer", "description": "ProdPropRule 1:销售属性(规格); 2:参数属性;" }, "shopId": { "type": "integer", "description": "店铺id", "format": "int64" }, "prodId": { "type": "integer", "description": "商品id", "format": "int64" }, "sort": { "type": "integer", "description": "排序" }, "deleted": { "type": "integer", "description": "是否删除0否1是" }, "isExist": { "type": "integer", "description": "isExist 是否新增 0否1是" }, "state": { "type": "integer", "description": "状态0禁用1启用" }, "prodPropValues": { "type": "array", "items": { "$ref": "#/components/schemas/ProdPropValueDO", "description": "属性规则 DO" }, "description": "属性值" } } }, "Item1": { "type": "object", "properties": { "id": { "type": "integer", "description": "编号 - 必填,示例:1", "format": "int64" }, "userId": { "type": "integer", "description": "用户编号 - 必填,示例:1", "format": "int64" }, "orderId": { "type": "integer", "description": "订单编号 - 必填,示例:1", "format": "int64" }, "spuId": { "type": "integer", "description": "商品 SPU 编号 - 必填,示例:1", "format": "int64" }, "spuName": { "type": "string", "description": "商品 SPU 名称 - 必填,示例:芋道源码" }, "skuId": { "type": "integer", "description": "商品 SKU 编号 - 必填,示例:1", "format": "int64" }, "picUrl": { "type": "string", "description": "商品图片 - 必填,示例:https://www.iocoder.cn/1.png" }, "count": { "type": "integer", "description": "购买数量 - 必填,示例:1" }, "price": { "type": "integer", "description": "商品原价(单) - 必填,示例:100" }, "discountPrice": { "type": "integer", "description": "商品优惠(总) - 必填,示例:100" }, "payPrice": { "type": "integer", "description": "商品实付金额(总) - 必填,示例:100" }, "orderPartPrice": { "type": "integer", "description": "子订单分摊金额(总) - 必填,示例:100" }, "orderDividePrice": { "type": "integer", "description": "分摊后子订单实付金额(总) - 必填,示例:100" }, "afterSaleStatus": { "type": "integer", "description": "售后状态 - 必填,示例:1" }, "properties": { "type": "array", "items": { "$ref": "#/components/schemas/ProductPropertyValueDetailRespVO", "description": "com.tashow.cloud.trade.controller.admin.base.product.property.ProductPropertyValueDetailRespVO" }, "description": "属性数组" } } }, "CommonResultPageResultProdDO": { "type": "object", "properties": { "code": { "type": "integer", "description": "错误码" }, "data": { "$ref": "#/components/schemas/PageResultProdDO", "description": "返回数据" }, "msg": { "type": "string", "description": "错误提示,用户可阅读" } } }, "ProdServiceAreasInfoVO": { "type": "object", "properties": { "id": { "type": "integer", "description": "超区规则的唯一标识符", "format": "int64" }, "prodId": { "type": "integer", "description": "关联的商品ID", "format": "int64" }, "ruleType": { "type": "integer", "description": "超区规则类型(0:拒单、2:接单并收取超区费、3:接单并免超区费)" }, "fee": { "type": "number", "description": "超区费用(仅在rule_type为accept_with_fee时有效)" }, "areaNameList": { "type": "array", "items": { "type": "string" }, "description": "服务区域地址名称" } } }, "SkuRespVO": { "type": "object", "properties": { "skuId": { "type": "integer", "description": "单品ID", "format": "int64", "examples": [32230] }, "prodId": { "type": "integer", "description": "商品ID", "format": "int64", "examples": [18784] }, "properties": { "type": "string", "description": "销售属性组合字符串 格式是p1:v1;p2:v2" }, "alias": { "type": "string", "description": "别名" }, "price": { "type": "number", "description": "价格", "examples": [32405] }, "basePrice": { "type": "number", "description": "基准价" }, "minPrice": { "type": "number", "description": "最低价格", "examples": [5040] }, "maxPrice": { "type": "number", "description": "最高价格", "examples": [11547] }, "originalPrice": { "type": "number", "description": "成本价", "examples": [28062] }, "marketPrice": { "type": "number", "description": "市场价", "examples": [11547] }, "unit": { "type": "string", "description": "单位" }, "type": { "type": "integer", "description": "0:主服务1:待定", "examples": [1] }, "overview": { "type": "string", "description": "概述" }, "stocks": { "type": "integer", "description": "库存" }, "stocksFlg": { "type": "integer", "description": "总库存是0 无线库存是1" }, "stocksLockNum": { "type": "integer", "description": "锁定库存数" }, "warnStocks": { "type": "integer", "description": "预警库存" }, "stocksType": { "type": "boolean", "description": "库存扣款时机0:付款扣1:下单扣", "examples": [true] }, "skuCode": { "type": "string", "description": "sku编码" }, "modelId": { "type": "string", "description": "商品条形码", "examples": ["14390"] }, "pic": { "type": "string", "description": "sku图片" }, "skuName": { "type": "string", "description": "sku名称", "examples": ["张三"] }, "prodName": { "type": "string", "description": "商品名称", "examples": ["芋艿"] }, "version": { "type": "integer", "description": "版本号" }, "weight": { "type": "number", "description": "商品重量" }, "volume": { "type": "number", "description": "商品体积" }, "status": { "type": "integer", "description": "0 禁用 1 启用", "examples": [1] }, "isDelete": { "type": "integer", "description": "0 正常 1 已被删除" }, "moq": { "type": "integer", "description": "最小购买数量" }, "createTime": { "type": "string", "description": "创建时间" }, "isShelf": { "type": "integer", "description": "是否上下架0下架1上架" }, "isSpecs": { "type": "integer", "description": "是否默认规则0否1是" }, "serviceContent": { "type": "string", "description": "服务内容" }, "propIds": { "type": "string", "description": "规格id 多个用逗号分隔(1,2,3)" } } }, "CommonResultListProdPropDO": { "type": "object", "properties": { "code": { "type": "integer", "description": "错误码" }, "data": { "type": "array", "items": { "$ref": "#/components/schemas/ProdPropDO", "description": "商品属性 DO" }, "description": "返回数据" }, "msg": { "type": "string", "description": "错误提示,用户可阅读" } } }, "SkuPropInfoVO": { "type": "object", "properties": { "prodId": { "type": "integer", "description": "产品id", "format": "int64" }, "isExpire": { "type": "integer", "description": "是否显示失效规格值 0否1是" }, "isDisable": { "type": "integer", "description": "是否显示禁用规格值 0否1是" }, "prodPropSaveReqVO": { "type": "array", "items": { "$ref": "#/components/schemas/ProdPropDO", "description": "商品属性 DO" }, "description": "规格" } } }, "TimeBookVO": { "type": "object", "properties": { "reservationTimeSlots": { "type": "array", "items": { "type": "string" }, "description": "预约时段设置" }, "timeSlot": { "type": "integer", "description": "时间段" } } }, "OrderLog": { "type": "object", "properties": { "content": { "type": "string", "description": "操作详情 - 必填,示例:订单发货" }, "createTime": { "type": "string", "description": "创建时间 - 必填,示例:2023-06-01 10:50:20" }, "userType": { "type": "integer", "description": "用户类型 - 必填,示例:1" } } }, "ProdReservationConfigDO": { "type": "object", "properties": { "createTime": { "type": "string", "description": "创建时间" }, "updateTime": { "type": "string", "description": "最后更新时间" }, "creator": { "type": "string", "description": "创建者,目前使用 SysUser 的 id 编号\n\n使用 String 类型的原因是,未来可能会存在非数值的情况,留好拓展性。" }, "updater": { "type": "string", "description": "更新者,目前使用 SysUser 的 id 编号\n\n使用 String 类型的原因是,未来可能会存在非数值的情况,留好拓展性。" }, "deleted": { "type": "integer", "description": "是否删除" }, "id": { "type": "integer", "description": "预约配置的唯一标识符", "format": "int64" }, "prodId": { "type": "integer", "description": "关联的商品ID", "format": "int64" }, "reservationTimeSlots": { "type": "array", "items": { "type": "string" }, "description": "预约时段设置(JSON格式存储)" }, "advanceHours": { "type": "integer", "description": "需提前多少小时预约" }, "reservationDateRange": { "type": "integer", "description": "预约日期范围 7天 10天 15天 30天" }, "allowChange": { "type": "integer", "description": "是否允许更改预约时间 1可以 0不可以" }, "timeSlot": { "type": "integer", "description": "时间段" }, "changeTimeRule": { "type": "integer", "description": "更改预约时间的时间规则(如服务开始前1小时可更改)" }, "maxChangeTimes": { "type": "integer", "description": "允许更改预约时间的最大次数" }, "blacklistedDates": { "type": "array", "items": { "type": "string" }, "description": "黑名自定义日期(JSON格式存储)" }, "isBlacklisted": { "type": "integer", "description": "'是否开启黑名单自定义0关1开'" }, "isBlackAppoint": { "type": "integer", "description": "'是否开启黑名单指定日期0关1开'" }, "blackAppointDates": { "type": "array", "items": { "type": "string" }, "description": "黑名单指定日期(JSON格式存储)" }, "blackHappy": { "type": "integer", "description": "法定节假日是否开启0:关闭1开启" }, "blackWeekend": { "type": "integer", "description": "固定休息日周末是否开启0关闭1开启" }, "timeBook": { "$ref": "#/components/schemas/TimeBookVO", "description": "" } } }, "CommonResultSkuRespVO": { "type": "object", "properties": { "code": { "type": "integer", "description": "错误码" }, "data": { "$ref": "#/components/schemas/SkuRespVO", "description": "返回数据" }, "msg": { "type": "string", "description": "错误提示,用户可阅读" } } }, "CommonResultSkuPropInfoVO": { "type": "object", "properties": { "code": { "type": "integer", "description": "错误码" }, "data": { "$ref": "#/components/schemas/SkuPropInfoVO", "description": "返回数据" }, "msg": { "type": "string", "description": "错误提示,用户可阅读" } } }, "ProdAdditionalFeeBlackVO": { "type": "object", "properties": { "id": { "type": "integer", "description": "特殊日期规则的唯一标识符", "format": "int64" }, "dateType": { "type": "integer", "description": "日期类型0:'自定义日期范围':1:'指定日期':2:'法定节假日',3:'固定休息日'" }, "customTimeSlots": { "type": "array", "items": { "type": "string" }, "description": "黑名单日期设置" }, "type": { "type": "integer", "description": "类型:1:特殊日期 2:可预约时段黑名单日期 3:紧急相应服务黑名单日期" }, "isEnabled": { "type": "integer", "description": "是否启用该规则是否启用该规则0关1开" } } }, "TradeOrderDetailRespVO": { "type": "object", "properties": { "id": { "type": "integer", "description": "订单编号 - 必填,示例:1024", "format": "int64" }, "orderNum": { "type": "string", "description": "订单流水号 - 必填,示例:1146347329394184195" }, "createTime": { "type": "string", "description": "下单时间 - 必填" }, "type": { "type": "integer", "description": "订单类型 - 必填,示例:1" }, "terminal": { "type": "integer", "description": "订单来源 - 必填,示例:1" }, "userId": { "type": "integer", "description": "用户编号 - 必填,示例:2048", "format": "int64" }, "userIp": { "type": "string", "description": "用户 IP - 必填,示例:127.0.0.1" }, "userRemark": { "type": "string", "description": "用户备注 - 必填,示例:你猜" }, "status": { "type": "integer", "description": "订单状态 - 必填,示例:1" }, "productCount": { "type": "integer", "description": "购买的商品数量 - 必填,示例:10" }, "finishTime": { "type": "string", "description": "订单完成时间" }, "cancelTime": { "type": "string", "description": "订单取消时间" }, "cancelType": { "type": "integer", "description": "取消类型,示例:10" }, "remark": { "type": "string", "description": "商家备注,示例:你猜一下" }, "payOrderId": { "type": "integer", "description": "支付订单编号 - 必填,示例:1024", "format": "int64" }, "payStatus": { "type": "boolean", "description": "是否已支付 - 必填,示例:true" }, "payTime": { "type": "string", "description": "付款时间" }, "payChannelCode": { "type": "string", "description": "支付渠道 - 必填,示例:wx_lite" }, "totalPrice": { "type": "integer", "description": "商品原价(总) - 必填,示例:1000" }, "discountPrice": { "type": "integer", "description": "订单优惠(总) - 必填,示例:100" }, "deliveryPrice": { "type": "integer", "description": "运费金额 - 必填,示例:100" }, "adjustPrice": { "type": "integer", "description": "订单调价(总) - 必填,示例:100" }, "payPrice": { "type": "integer", "description": "应付金额(总) - 必填,示例:1000" }, "deliveryType": { "type": "integer", "description": "配送方式,示例:10" }, "pickUpStoreId": { "type": "integer", "description": "自提门店,示例:10", "format": "int64" }, "pickUpVerifyCode": { "type": "integer", "description": "自提核销码,示例:10", "format": "int64" }, "deliveryTemplateId": { "type": "integer", "description": "配送模板编号,示例:1024", "format": "int64" }, "logisticsId": { "type": "integer", "description": "发货物流公司编号,示例:1024", "format": "int64" }, "logisticsNo": { "type": "string", "description": "发货物流单号,示例:1024" }, "deliveryTime": { "type": "string", "description": "发货时间" }, "receiveTime": { "type": "string", "description": "收货时间" }, "receiverName": { "type": "string", "description": "收件人名称 - 必填,示例:张三" }, "receiverMobile": { "type": "string", "description": "收件人手机 - 必填,示例:13800138000" }, "receiverAreaId": { "type": "integer", "description": "收件人地区编号 - 必填,示例:110000" }, "receiverDetailAddress": { "type": "string", "description": "收件人详细地址 - 必填,示例:中关村大街 1 号" }, "afterSaleStatus": { "type": "integer", "description": "售后状态,示例:1" }, "refundPrice": { "type": "integer", "description": "退款金额 - 必填,示例:100" }, "couponId": { "type": "integer", "description": "优惠劵编号,示例:1024", "format": "int64" }, "couponPrice": { "type": "integer", "description": "优惠劵减免金额 - 必填,示例:100" }, "pointPrice": { "type": "integer", "description": "积分抵扣的金额 - 必填,示例:100" }, "vipPrice": { "type": "integer", "description": "VIP 减免金额 - 必填,示例:888" }, "brokerageUserId": { "type": "integer", "description": "推广人编号,示例:1", "format": "int64" }, "items": { "type": "array", "items": { "$ref": "#/components/schemas/Item1", "description": "com.tashow.cloud.trade.controller.admin.order.vo.TradeOrderDetailRespVO.Item" }, "description": "订单项列表" }, "user": { "$ref": "#/components/schemas/MemberUserRespVO", "description": "下单用户信息" }, "brokerageUser": { "$ref": "#/components/schemas/MemberUserRespVO", "description": "推广用户信息" }, "logs": { "type": "array", "items": { "$ref": "#/components/schemas/OrderLog", "description": "com.tashow.cloud.trade.controller.admin.order.vo.TradeOrderDetailRespVO.OrderLog" }, "description": "操作日志列表" }, "receiverAreaName": { "type": "string", "description": "收件人地区名字 - 必填,示例:上海 上海市 普陀区" } } }, "ProdEmergencyResponseDO": { "type": "object", "properties": { "createTime": { "type": "string", "description": "创建时间" }, "updateTime": { "type": "string", "description": "最后更新时间" }, "creator": { "type": "string", "description": "创建者,目前使用 SysUser 的 id 编号\n\n使用 String 类型的原因是,未来可能会存在非数值的情况,留好拓展性。" }, "updater": { "type": "string", "description": "更新者,目前使用 SysUser 的 id 编号\n\n使用 String 类型的原因是,未来可能会存在非数值的情况,留好拓展性。" }, "deleted": { "type": "boolean", "description": "是否删除" }, "id": { "type": "integer", "description": "紧急响应服务配置的唯一标识符", "format": "int64" }, "prodId": { "type": "integer", "description": "关联的商品ID", "format": "int64" }, "responseTimeSlots": { "type": "string", "description": "可响应时间段(JSON格式存储)" }, "blacklistedDates": { "type": "string", "description": "黑名自定义日期(JSON格式存储)" }, "blackAppointDates": { "type": "string", "description": "黑名单指定日期(JSON格式存储)" }, "blackHappy": { "type": "boolean", "description": "法定节假日是否开启0:关闭1开启" }, "blackWeekend": { "type": "boolean", "description": "固定休息日周末是否开启0关闭1开启" } } }, "CommonResultSkuExtendVO": { "type": "object", "properties": { "code": { "type": "integer", "description": "错误码" }, "data": { "$ref": "#/components/schemas/SkuExtendVO", "description": "返回数据" }, "msg": { "type": "string", "description": "错误提示,用户可阅读" } } }, "ProdReservationInfoVO": { "type": "object", "properties": { "id": { "type": "integer", "description": "预约配置的唯一标识符", "format": "int64" }, "prodId": { "type": "integer", "description": "关联的商品ID", "format": "int64" }, "reservationTimeSlots": { "type": "array", "items": { "type": "string" }, "description": "预约时段设置" }, "advanceHours": { "type": "integer", "description": "需提前多少小时预约" }, "reservationDateRange": { "type": "integer", "description": "预约日期范围 7天 10天 15天 30天" }, "allowChange": { "type": "integer", "description": "是否允许更改预约时间 1可以 0不可以" }, "timeSlot": { "type": "integer", "description": "时间段" }, "changeTimeRule": { "type": "integer", "description": "更改预约时间的时间规则(如服务开始前1小时可更改)" }, "maxChangeTimes": { "type": "integer", "description": "允许更改预约时间的最大次数" }, "timeBook": { "$ref": "#/components/schemas/TimeBookVO", "description": "预约时间区间设置" }, "prodReservationBlackList": { "type": "array", "items": { "$ref": "#/components/schemas/ProdAdditionalFeeBlackVO", "description": "com.tashow.cloud.productapi.api.product.vo.prodadditionalfeedates.ProdAdditionalFeeBlackVO" }, "description": "预约黑名单日期设置" } } }, "ProPropRecycleBinVO": { "type": "object", "properties": { "id": { "type": "integer", "description": "规格值id", "format": "int64" }, "propValue": { "type": "string", "description": "属性规格名称" }, "propId": { "type": "integer", "description": "关联规格属性id", "format": "int64" }, "remainingDays": { "type": "integer", "description": "还剩多少天", "format": "int64" }, "deleteTime": { "type": "string", "description": "删除时间" } } }, "CommonResultTradeOrderDetailRespVO": { "type": "object", "properties": { "code": { "type": "integer", "description": "错误码" }, "data": { "$ref": "#/components/schemas/TradeOrderDetailRespVO", "description": "返回数据" }, "msg": { "type": "string", "description": "错误提示,用户可阅读" } } }, "ProdEmergencyResponseIntervalsDO": { "type": "object", "properties": { "createTime": { "type": "string", "description": "创建时间" }, "updateTime": { "type": "string", "description": "最后更新时间" }, "creator": { "type": "string", "description": "创建者,目前使用 SysUser 的 id 编号\n\n使用 String 类型的原因是,未来可能会存在非数值的情况,留好拓展性。" }, "updater": { "type": "string", "description": "更新者,目前使用 SysUser 的 id 编号\n\n使用 String 类型的原因是,未来可能会存在非数值的情况,留好拓展性。" }, "deleted": { "type": "integer", "description": "是否删除" }, "id": { "type": "integer", "description": "响应时间区间的唯一标识符", "format": "int64" }, "configId": { "type": "integer", "description": "关联的紧急响应服务配置ID", "format": "int64" }, "prodId": { "type": "integer", "description": "商品ID", "format": "int64" }, "name": { "type": "string", "description": "响应模式名称modeName" }, "responseHours": { "type": "number", "description": "响应时间(小时)" }, "chargeMode": { "type": "integer", "description": "收费模式0:固定收费 1:浮动收费" }, "floatingPercentage": { "type": "number", "description": "浮动百分比" }, "price": { "type": "number", "description": "价格或上浮百分比" } } }, "PageResultProPropRecycleBinVO": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/components/schemas/ProPropRecycleBinVO", "description": "com.tashow.cloud.productapi.api.product.vo.prodpropvalue.ProPropRecycleBinVO" }, "description": "数据" }, "total": { "type": "integer", "description": "总量", "format": "int64" } } }, "TradeOrderSummaryRespVO": { "type": "object", "properties": { "orderCount": { "type": "integer", "description": "订单数量 - 必填,示例:1024", "format": "int64" }, "orderPayPrice": { "type": "integer", "description": "订单金额 - 必填,示例:1024", "format": "int64" }, "afterSaleCount": { "type": "integer", "description": "退款单数 - 必填,示例:1024", "format": "int64" }, "afterSalePrice": { "type": "integer", "description": "退款金额 - 必填,示例:1024", "format": "int64" } } }, "ProdEmergencyInfoVO": { "type": "object", "properties": { "id": { "type": "integer", "description": "紧急响应服务配置的唯一标识符", "format": "int64" }, "prodId": { "type": "integer", "description": "关联的商品ID", "format": "int64" }, "responseTimeSlots": { "type": "array", "items": { "type": "string" }, "description": "可响应时间段(JSON格式存储)" }, "prodEmergencyResponseIntervalsList": { "type": "array", "items": { "$ref": "#/components/schemas/ProdEmergencyResponseIntervalsDO", "description": "紧急响应时间区间设置 DO" }, "description": "紧急响应时间区间设置" }, "prodEmergencyResponseBlackList": { "type": "array", "items": { "$ref": "#/components/schemas/ProdAdditionalFeeBlackVO", "description": "com.tashow.cloud.productapi.api.product.vo.prodadditionalfeedates.ProdAdditionalFeeBlackVO" }, "description": "紧急响应黑名单日期设置" } } }, "SkuRecycleBinVO": { "type": "object", "properties": { "skuId": { "type": "integer", "description": "单品ID", "format": "int64", "examples": [32230] }, "properties": { "type": "string", "description": "是否显示失效规格值 0否1是" }, "skuName": { "type": "string", "description": "是否显示失效规格值 0否1是" }, "remainingDays": { "type": "integer", "description": "还剩多少天", "format": "int64" }, "deleteTime": { "type": "string", "description": "删除时间" }, "prodId": { "type": "integer", "description": "商品ID", "format": "int64", "examples": [18784] }, "alias": { "type": "string", "description": "别名" }, "price": { "type": "number", "description": "当前价格", "examples": [32405] }, "basePrice": { "type": "number", "description": "基准价" }, "minPrice": { "type": "number", "description": "最低价格", "examples": [5040] }, "maxPrice": { "type": "number", "description": "最高价格", "examples": [11547] }, "originalPrice": { "type": "number", "description": "成本价", "examples": [28062] }, "marketPrice": { "type": "number", "description": "市场价", "examples": [11547] }, "unit": { "type": "string", "description": "单位" }, "type": { "type": "integer", "description": "0:主服务1:待定", "examples": [1] }, "overview": { "type": "string", "description": "概述" }, "stocks": { "type": "integer", "description": "库存" }, "stocksFlg": { "type": "integer", "description": "总库存是0 无线库存是1" }, "stocksLockNum": { "type": "integer", "description": "锁定库存数" }, "warnStocks": { "type": "integer", "description": "预警库存" }, "stocksType": { "type": "boolean", "description": "库存扣款时机0:付款扣1:下单扣", "examples": [true] }, "skuCode": { "type": "string", "description": "sku编码" }, "modelId": { "type": "string", "description": "商品条形码", "examples": ["14390"] }, "pic": { "type": "string", "description": "sku图片" }, "prodName": { "type": "string", "description": "商品名称", "examples": ["芋艿"] }, "version": { "type": "integer", "description": "版本号" }, "weight": { "type": "number", "description": "商品重量" }, "volume": { "type": "number", "description": "商品体积" }, "status": { "type": "integer", "description": "0 禁用 1 启用", "examples": [1] }, "isDelete": { "type": "integer", "description": "0 正常 1 已被删除" }, "moq": { "type": "integer", "description": "最小购买数量" }, "createTime": { "type": "string", "description": "创建时间" }, "isShelf": { "type": "integer", "description": "是否上下架0下架1上架" }, "isSpecs": { "type": "integer", "description": "是否默认规则0否1是" }, "serviceContent": { "type": "string", "description": "服务内容" }, "propIds": { "type": "string", "description": "规格id 多个用逗号分隔(1,2,3)" } } }, "CommonResultPageResultProPropRecycleBinVO": { "type": "object", "properties": { "code": { "type": "integer", "description": "错误码" }, "data": { "$ref": "#/components/schemas/PageResultProPropRecycleBinVO", "description": "返回数据" }, "msg": { "type": "string", "description": "错误提示,用户可阅读" } } }, "CommonResultTradeOrderSummaryRespVO": { "type": "object", "properties": { "code": { "type": "integer", "description": "错误码" }, "data": { "$ref": "#/components/schemas/TradeOrderSummaryRespVO", "description": "返回数据" }, "msg": { "type": "string", "description": "错误提示,用户可阅读" } } }, "ProductOrderLimitDO": { "type": "object", "properties": { "createTime": { "type": "string", "description": "创建时间" }, "updateTime": { "type": "string", "description": "最后更新时间" }, "creator": { "type": "string", "description": "创建者,目前使用 SysUser 的 id 编号\n\n使用 String 类型的原因是,未来可能会存在非数值的情况,留好拓展性。" }, "updater": { "type": "string", "description": "更新者,目前使用 SysUser 的 id 编号\n\n使用 String 类型的原因是,未来可能会存在非数值的情况,留好拓展性。" }, "deleted": { "type": "integer", "description": "是否删除" }, "id": { "type": "integer", "description": "接单上限配置的唯一标识符", "format": "int64" }, "prodId": { "type": "integer", "description": "关联的商品ID", "format": "int64" }, "limitUnit": { "type": "integer", "description": "限制单位'0:按自然天',1:'按自然周',2:'按自然月'" }, "maxOrders": { "type": "integer", "description": "上限阈值" } } }, "PageResultSkuRecycleBinVO": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/components/schemas/SkuRecycleBinVO", "description": "com.tashow.cloud.product.vo.sku.SkuRecycleBinVO" }, "description": "数据" }, "total": { "type": "integer", "description": "总量", "format": "int64" } } }, "CommonResultList?": { "type": "object", "properties": { "code": { "type": "integer", "description": "错误码" }, "data": { "type": "array", "items": { "type": "object", "properties": {} }, "description": "返回数据" }, "msg": { "type": "string", "description": "错误提示,用户可阅读" } } }, "ProdAdditionalFeeDatesDO": { "type": "object", "properties": { "createTime": { "type": "string", "description": "创建时间" }, "updateTime": { "type": "string", "description": "最后更新时间" }, "creator": { "type": "string", "description": "创建者,目前使用 SysUser 的 id 编号\n\n使用 String 类型的原因是,未来可能会存在非数值的情况,留好拓展性。" }, "updater": { "type": "string", "description": "更新者,目前使用 SysUser 的 id 编号\n\n使用 String 类型的原因是,未来可能会存在非数值的情况,留好拓展性。" }, "deleted": { "type": "integer", "description": "是否删除" }, "id": { "type": "integer", "description": "特殊日期规则的唯一标识符", "format": "int64" }, "prodId": { "type": "integer", "description": "商品id", "format": "int64" }, "name": { "type": "string", "description": "名称" }, "dateType": { "type": "integer", "description": "日期类型0:'自定义日期范围':1:'指定日期':2:'法定节假日',3:'固定休息日'" }, "type": { "type": "integer", "description": "类型:1:特殊日期 2:可预约时段黑名单日期 3:紧急相应服务黑名单日期" }, "customTimeSlots": { "type": "array", "items": { "type": "string" }, "description": "自定义日期时间段(JSON格式存储)" }, "chargeMode": { "type": "integer", "description": "收费方式" }, "price": { "type": "number", "description": "价格或上浮百分比" }, "isEnabled": { "type": "integer", "description": "是否启用该规则" } } }, "CommonResultPageResultSkuRecycleBinVO": { "type": "object", "properties": { "code": { "type": "integer", "description": "错误码" }, "data": { "$ref": "#/components/schemas/PageResultSkuRecycleBinVO", "description": "返回数据" }, "msg": { "type": "string", "description": "错误提示,用户可阅读" } } }, "ProdAdditionalFeePeriodsDO": { "type": "object", "properties": { "createTime": { "type": "string", "description": "创建时间" }, "updateTime": { "type": "string", "description": "最后更新时间" }, "creator": { "type": "string", "description": "创建者,目前使用 SysUser 的 id 编号\n\n使用 String 类型的原因是,未来可能会存在非数值的情况,留好拓展性。" }, "updater": { "type": "string", "description": "更新者,目前使用 SysUser 的 id 编号\n\n使用 String 类型的原因是,未来可能会存在非数值的情况,留好拓展性。" }, "deleted": { "type": "integer", "description": "是否删除" }, "id": { "type": "integer", "description": "特殊时段规则的唯一标识符", "format": "int64" }, "prodId": { "type": "integer", "description": "商品ID", "format": "int64" }, "name": { "type": "string", "description": "名称" }, "specialTimeSlots": { "type": "array", "items": { "type": "string" }, "description": "特殊时段设置(JSON格式存储)" }, "chargeMode": { "type": "integer", "description": "收费方式0:'固定金额',1:'基准价上浮'" }, "price": { "type": "number", "description": "价格或上浮百分比" }, "floatingPercentage": { "type": "number", "description": "浮动百分比" } } }, "PageResultSkuDO": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/components/schemas/SkuDO", "description": "单品SKU DO" }, "description": "数据" }, "total": { "type": "integer", "description": "总量", "format": "int64" } } }, "TradeOrderDeliveryReqVO": { "type": "object", "properties": { "id": { "type": "integer", "description": "订单编号 - 必填,示例:1024", "format": "int64" }, "logisticsId": { "type": "integer", "description": "发货物流公司编号,示例:1", "format": "int64" }, "logisticsNo": { "type": "string", "description": "发货物流单号,示例:SF123456789" } }, "required": ["id", "logisticsId"] }, "ProdWeightRangePricesDO": { "type": "object", "properties": { "createTime": { "type": "string", "description": "创建时间" }, "updateTime": { "type": "string", "description": "最后更新时间" }, "creator": { "type": "string", "description": "创建者,目前使用 SysUser 的 id 编号\n\n使用 String 类型的原因是,未来可能会存在非数值的情况,留好拓展性。" }, "updater": { "type": "string", "description": "更新者,目前使用 SysUser 的 id 编号\n\n使用 String 类型的原因是,未来可能会存在非数值的情况,留好拓展性。" }, "deleted": { "type": "integer", "description": "是否删除" }, "id": { "type": "integer", "description": "体重区间价格的唯一标识符", "format": "int64" }, "prodId": { "type": "integer", "description": "关联的体重配置ID", "format": "int64" }, "weightRange": { "type": "string", "description": "体重区间" }, "price": { "type": "number", "description": "价格" }, "isEnabled": { "type": "integer", "description": "是否启用该规则0否1是" } } }, "CommonResultPageResultSkuDO": { "type": "object", "properties": { "code": { "type": "integer", "description": "错误码" }, "data": { "$ref": "#/components/schemas/PageResultSkuDO", "description": "返回数据" }, "msg": { "type": "string", "description": "错误提示,用户可阅读" } } }, "TradeOrderRemarkReqVO": { "type": "object", "properties": { "id": { "type": "integer", "description": "订单编号 - 必填,示例:1024", "format": "int64" }, "remark": { "type": "string", "description": "商家备注,示例:你猜一下" } }, "required": ["id", "remark"] }, "ProdServiceVO": { "type": "object", "properties": { "prodId": { "type": "integer", "description": "产品ID", "format": "int64", "examples": [6943] }, "createTime": { "type": "string", "description": "创建时间" }, "updateTime": { "type": "string", "description": "修改时间" }, "creator": { "type": "string", "description": "新建人" }, "updater": { "type": "string", "description": "修改人" }, "categoryName": { "type": "string", "description": "分类名称" }, "regionSwitch": { "type": "integer", "description": "是否开启服务区域配置0关1开" }, "prodServiceAreasInfo": { "$ref": "#/components/schemas/ProdServiceAreasInfoVO", "description": "服务区域配置" }, "reservationSwitch": { "type": "integer", "description": "是否预约0关1开" }, "prodReservationConfig": { "$ref": "#/components/schemas/ProdReservationInfoVO", "description": "预约配置" }, "emergencySwitch": { "type": "integer", "description": "是否紧急响应服务0关1开" }, "prodEmergencyInfoVO": { "$ref": "#/components/schemas/ProdEmergencyInfoVO", "description": "急响应服务配置" }, "orderLimitSwitch": { "type": "integer", "description": "是否接单上线0关1开" }, "productOrderLimitVO": { "$ref": "#/components/schemas/ProductOrderLimitDO", "description": "接单上线配置" }, "additionalSwitch": { "type": "integer", "description": "是否特殊时段0关1开" }, "prodAdditionalFeeDatesList": { "type": "array", "items": { "$ref": "#/components/schemas/ProdAdditionalFeeDatesDO", "description": "特殊日期附加费用规则 DO" }, "description": "特殊时段规则配置" }, "additionalFeeSwitch": { "type": "integer", "description": "是否特殊日期(节假日周末什么的)0关1开" }, "prodAdditionalFeePeriodsList": { "type": "array", "items": { "$ref": "#/components/schemas/ProdAdditionalFeePeriodsDO", "description": "特殊时段附加费用规则 DO" }, "description": "特殊日期规则配置" }, "weightSwitch": { "type": "integer", "description": "是否开启体重配置0关1开" }, "prodWeightConfig": { "$ref": "#/components/schemas/ProdWeightRangePricesSaveInfoVO", "description": "体重配置" } } }, "ProdWeightRangePricesSaveInfoVO": { "type": "object", "properties": { "isWeightCharge": { "type": "integer", "description": "体重是否收费0否1是" }, "prodWeightConfigList": { "type": "array", "items": { "$ref": "#/components/schemas/ProdWeightRangePricesDO", "description": "体重区间价格 DO" }, "description": "体重配置" } } }, "TradeOrderUpdatePriceReqVO": { "type": "object", "properties": { "id": { "type": "integer", "description": "订单编号 - 必填,示例:1024", "format": "int64" }, "adjustPrice": { "type": "integer", "description": "订单调价,单位:分。正数,加价;负数,减价 - 必填,示例:-100" } }, "required": ["id", "adjustPrice"] }, "CommonResultProdServiceVO": { "type": "object", "properties": { "code": { "type": "integer", "description": "错误码" }, "data": { "$ref": "#/components/schemas/ProdServiceVO", "description": "返回数据" }, "msg": { "type": "string", "description": "错误提示,用户可阅读" } } }, "TradeOrderUpdateAddressReqVO": { "type": "object", "properties": { "id": { "type": "integer", "description": "订单编号 - 必填,示例:1", "format": "int64" }, "receiverName": { "type": "string", "description": "收件人名称 - 必填,示例:z张三" }, "receiverMobile": { "type": "string", "description": "收件人手机 - 必填,示例:19988188888" }, "receiverAreaId": { "type": "integer", "description": "收件人地区编号 - 必填,示例:7310" }, "receiverDetailAddress": { "type": "string", "description": "收件人详细地址 - 必填,示例:昆明市五华区xxx小区xxx" } }, "required": [ "id", "receiverName", "receiverMobile", "receiverAreaId", "receiverDetailAddress" ] }, "ProdReservationInfoReqVO": { "type": "object", "properties": { "id": { "type": "integer", "description": "预约配置的唯一标识符", "format": "int64" }, "prodId": { "type": "integer", "description": "关联的商品ID", "format": "int64" }, "reservationTimeSlots": { "type": "array", "items": { "type": "string" }, "description": "预约时段设置" }, "advanceHours": { "type": "integer", "description": "需提前多少小时预约" }, "reservationDateRange": { "type": "integer", "description": "预约日期范围 7天 10天 15天 30天" }, "allowChange": { "type": "integer", "description": "是否允许更改预约时间 1可以 0不可以" }, "timeSlot": { "type": "integer", "description": "时间段" }, "changeTimeRule": { "type": "integer", "description": "更改预约时间的时间规则(如服务开始前1小时可更改)" }, "maxChangeTimes": { "type": "integer", "description": "允许更改预约时间的最大次数" }, "timeBook": { "$ref": "#/components/schemas/TimeBookVO", "description": "预约时间区间设置" }, "prodReservationBlackList": { "type": "array", "items": { "$ref": "#/components/schemas/ProdAdditionalFeeBlackVO", "description": "com.tashow.cloud.productapi.api.product.vo.prodadditionalfeedates.ProdAdditionalFeeBlackVO" }, "description": "预约黑名单日期设置", "default": "new ArrayList<>()" } } }, "ProdListVO": { "type": "object", "properties": { "prodId": { "type": "integer", "description": "产品ID", "format": "int64" }, "prodName": { "type": "string", "description": "商品名称" }, "categoryName": { "type": "string", "description": "分类名称" }, "shopId": { "type": "integer", "description": "店铺id", "format": "int64" }, "shopName": { "type": "string", "description": "店铺id" }, "status": { "type": "integer", "description": "默认是1,正常状态(出售中), 0:下架(仓库中) 2:待审核" }, "isProhibit": { "type": "integer", "description": "是否置灰0否1是" }, "areaNameList": { "type": "array", "items": { "type": "string" }, "description": "服务区域地址名称集合" }, "responseHours": { "type": "number", "description": "紧急服务最快响应时间(小时)" }, "reservationTimeSlots": { "type": "array", "items": { "type": "string" }, "description": "服务时段" }, "remainingDays": { "type": "integer", "description": "还剩多少天", "format": "int64" }, "processNotes": { "type": "string", "description": "审核备注" }, "deleteTime": { "type": "string", "description": "删除时间" }, "createTime": { "type": "string", "description": "创建时间" }, "updateTime": { "type": "string", "description": "更新时间" } } }, "ProdRestoreListVO": { "type": "object", "properties": { "prodId": { "type": "integer", "description": "产品ID", "format": "int64" }, "prodName": { "type": "string", "description": "商品名称" }, "categoryName": { "type": "string", "description": "分类名称" }, "shopId": { "type": "integer", "description": "店铺id", "format": "int64" }, "shopName": { "type": "string", "description": "店铺id" }, "areaNameList": { "type": "array", "items": { "type": "string" }, "description": "服务区域地址名称集合" }, "responseHours": { "type": "number", "description": "紧急服务最快响应时间(小时)" }, "reservationTimeSlots": { "type": "array", "items": { "type": "string" }, "description": "服务时段" }, "remainingDays": { "type": "integer", "description": "还剩多少天", "format": "int64" }, "deleteTime": { "type": "string", "description": "删除时间" }, "createTime": { "type": "string", "description": "创建时间" } } }, "ProdEmergencyInfoReqVO": { "type": "object", "properties": { "id": { "type": "integer", "description": "紧急响应服务配置的唯一标识符", "format": "int64" }, "prodId": { "type": "integer", "description": "关联的商品ID", "format": "int64" }, "responseTimeSlots": { "type": "array", "items": { "type": "string" }, "description": "可响应时间段" }, "prodEmergencyResponseIntervalsList": { "type": "array", "items": { "$ref": "#/components/schemas/ProdEmergencyResponseIntervalsDO", "description": "紧急响应时间区间设置 DO" }, "description": "紧急响应时间区间设置" }, "prodEmergencyResponseBlackList": { "type": "array", "items": { "$ref": "#/components/schemas/ProdAdditionalFeeBlackVO", "description": "com.tashow.cloud.productapi.api.product.vo.prodadditionalfeedates.ProdAdditionalFeeBlackVO" }, "description": "紧急响应黑名单日期设置" } } }, "PageResultProdListVO": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/components/schemas/ProdListVO", "description": "com.tashow.cloud.productapi.api.product.vo.prod.ProdListVO" }, "description": "数据" }, "total": { "type": "integer", "description": "总量", "format": "int64" } } }, "PageResultProdRestoreListVO": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/components/schemas/ProdRestoreListVO", "description": "com.tashow.cloud.productapi.api.product.vo.prod.ProdRestoreListVO" }, "description": "数据" }, "total": { "type": "integer", "description": "总量", "format": "int64" } } }, "ProdServiceInfoVO": { "type": "object", "properties": { "prodId": { "type": "integer", "description": "产品ID", "format": "int64", "examples": [6943] }, "createTime": { "type": "string", "description": "创建时间" }, "updateTime": { "type": "string", "description": "修改时间" }, "creator": { "type": "string", "description": "新建人" }, "updater": { "type": "string", "description": "修改人" }, "categoryName": { "type": "string", "description": "分类名称" }, "regionSwitch": { "type": "integer", "description": "是否开启服务区域配置0关1开" }, "prodServiceAreasInfo": { "$ref": "#/components/schemas/ProdServiceAreasInfoVO", "description": "服务区域配置" }, "reservationSwitch": { "type": "integer", "description": "是否预约0关1开" }, "prodReservationConfig": { "$ref": "#/components/schemas/ProdReservationInfoReqVO", "description": "预约配置" }, "emergencySwitch": { "type": "integer", "description": "是否紧急响应服务0关1开" }, "prodEmergencyInfoVO": { "$ref": "#/components/schemas/ProdEmergencyInfoReqVO", "description": "急响应服务配置" }, "orderLimitSwitch": { "type": "integer", "description": "是否接单上线0关1开" }, "productOrderLimitVO": { "$ref": "#/components/schemas/ProductOrderLimitDO", "description": "接单上线配置" }, "additionalSwitch": { "type": "integer", "description": "是否特殊时段0关1开" }, "prodAdditionalFeeDatesList": { "type": "array", "items": { "$ref": "#/components/schemas/ProdAdditionalFeeDatesDO", "description": "特殊日期附加费用规则 DO" }, "description": "特殊时段规则配置" }, "additionalFeeSwitch": { "type": "integer", "description": "是否特殊日期(节假日周末什么的)0关1开" }, "prodAdditionalFeePeriodsList": { "type": "array", "items": { "$ref": "#/components/schemas/ProdAdditionalFeePeriodsDO", "description": "特殊时段附加费用规则 DO" }, "description": "特殊日期规则配置" }, "weightSwitch": { "type": "integer", "description": "是否开启体重配置0关1开" }, "prodWeightConfig": { "$ref": "#/components/schemas/ProdWeightRangePricesSaveInfoVO", "description": "体重配置" } } }, "CommonResultPageResultProdListVO": { "type": "object", "properties": { "code": { "type": "integer", "description": "错误码" }, "data": { "$ref": "#/components/schemas/PageResultProdListVO", "description": "返回数据" }, "msg": { "type": "string", "description": "错误提示,用户可阅读" } } }, "CommonResultPageResultProdRestoreListVO": { "type": "object", "properties": { "code": { "type": "integer", "description": "错误码" }, "data": { "$ref": "#/components/schemas/PageResultProdRestoreListVO", "description": "返回数据" }, "msg": { "type": "string", "description": "错误提示,用户可阅读" } } } }, "securitySchemes": {} }, "servers": [], "security": [] }