Commit 1d67b481 by 陈海枫

Upload New File

parent 04ff3899
{
"info": {
"name": "陈海枫的私有项目",
"description": "",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"variable": [],
"auth": {
"type": "noauth",
"apikey": [
{
"key": "value",
"value": "",
"type": "string"
},
{
"key": "key",
"value": "",
"type": "string"
}
],
"bearer": [
{
"key": "token",
"value": "",
"type": "string"
}
],
"basic": [
{
"key": "username",
"value": "",
"type": "string"
},
{
"key": "password",
"value": "",
"type": "string"
}
]
},
"env": [],
"item": [
{
"name": "小工蚁",
"item": [
{
"name": "管理后台",
"item": [
{
"name": "商品库分类搜索商品",
"request": {
"method": "POST",
"url": {
"raw": "https://admin.mayi888.com/innerApi/goodsService/product/page",
"host": [
"https"
],
"query": [],
"variable": [],
"path": [
"admin.mayi888.com",
"innerApi",
"goodsService",
"product",
"page"
]
},
"header": [
{
"key": "Mayi-Token",
"value": "{{Mayi-Token}}",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json;charset=UTF-8",
"type": "text"
},
{
"key": "Accept",
"value": "application/json, text/plain, */*",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"pageNum\": 1,\n \"pageSize\": 10,\n \"isDataPermission\": true,\n \"brandIdsStr\": \"\",\n \"categoryId\": \"\",\n \"productSaleType\": \"\",\n \"oversoldFlag\": \"\",\n \"preferredSupplierNames\": [],\n \"channelSource\": \"\",\n \"productCategoryIdsStr\": \"3581\",\n \"builtInFlag\": 0,\n \"sourceWay\": null\n}"
},
"auth": {
"type": "noauth",
"apikey": [
{
"key": "value",
"value": "",
"type": "string"
},
{
"key": "key",
"value": "",
"type": "string"
}
],
"bearer": [
{
"key": "token",
"value": "",
"type": "string"
}
],
"basic": [
{
"key": "username",
"value": "",
"type": "string"
},
{
"key": "password",
"value": "",
"type": "string"
}
]
},
"description": "asd"
}
},
{
"name": "商品库名称搜索商品",
"request": {
"method": "POST",
"url": {
"raw": "https://admin.mayi888.com/innerApi/goodsService/product/page",
"host": [
"https"
],
"query": [],
"variable": [],
"path": [
"admin.mayi888.com",
"innerApi",
"goodsService",
"product",
"page"
]
},
"header": [
{
"key": "Mayi-Token",
"value": "{{Mayi-Token}}",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json;charset=UTF-8",
"type": "text"
},
{
"key": "Accept",
"value": "application/json, text/plain, */*",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"pageNum\": 1,\n \"pageSize\": 10,\n \"isDataPermission\": true,\n \"preferredSupplierNames\": [],\n \"productAttributeSearchType\": \"\",\n \"productAttributeIds\": [],\n \"channelSource\": \"\",\n \"brandIdsStr\": \"\",\n \"productSaleType\": \"\",\n \"productCategoryIdsStr\": \"\",\n \"builtInFlag\": 0,\n \"productName\": \"高级全棉床单款婚庆四件套\"\n}"
},
"auth": {
"type": "noauth",
"apikey": [
{
"key": "value",
"value": "",
"type": "string"
},
{
"key": "key",
"value": "",
"type": "string"
}
],
"bearer": [
{
"key": "token",
"value": "",
"type": "string"
}
],
"basic": [
{
"key": "username",
"value": "",
"type": "string"
},
{
"key": "password",
"value": "",
"type": "string"
}
]
},
"description": "asd"
}
},
{
"name": "商品库货号搜索商品",
"request": {
"method": "POST",
"url": {
"raw": "https://admin.mayi888.com/innerApi/goodsService/product/page",
"host": [
"https"
],
"query": [],
"variable": [],
"path": [
"admin.mayi888.com",
"innerApi",
"goodsService",
"product",
"page"
]
},
"header": [
{
"key": "Mayi-Token",
"value": "{{Mayi-Token}}",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json;charset=UTF-8",
"type": "text"
},
{
"key": "Accept",
"value": "application/json, text/plain, */*",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"pageNum\": 1,\n \"pageSize\": 10,\n \"isDataPermission\": true,\n \"preferredSupplierNames\": [],\n \"productAttributeSearchType\": \"\",\n \"productAttributeIds\": [],\n \"channelSource\": \"\",\n \"brandIdsStr\": \"\",\n \"productSaleType\": \"\",\n \"productCategoryIdsStr\": \"\",\n \"builtInFlag\": 0,\n \"productName\": \"\",\n \"productCode\": \"m1YeBnC5\"\n}"
},
"auth": {
"type": "noauth",
"apikey": [
{
"key": "value",
"value": "",
"type": "string"
},
{
"key": "key",
"value": "",
"type": "string"
}
],
"bearer": [
{
"key": "token",
"value": "",
"type": "string"
}
],
"basic": [
{
"key": "username",
"value": "",
"type": "string"
},
{
"key": "password",
"value": "",
"type": "string"
}
]
},
"description": "asd"
}
},
{
"name": "管理后台登录",
"request": {
"method": "POST",
"url": {
"raw": "https://admin.mayi888.com/innerApi/baseService/employeeInfo/loginByRole",
"host": [
"https"
],
"query": [],
"variable": [],
"path": [
"admin.mayi888.com",
"innerApi",
"baseService",
"employeeInfo",
"loginByRole"
]
},
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"username\": \"13037555524\",\n \"password\": \"123456\",\n \"loginType\": 1\n}"
},
"auth": {
"type": "noauth",
"apikey": [
{
"key": "value",
"value": "",
"type": "string"
},
{
"key": "key",
"value": "",
"type": "string"
}
],
"bearer": [
{
"key": "token",
"value": "",
"type": "string"
}
],
"basic": [
{
"key": "username",
"value": "",
"type": "string"
},
{
"key": "password",
"value": "",
"type": "string"
}
]
},
"description": "asd"
}
},
{
"name": "删除商品库新增商品",
"request": {
"method": "POST",
"url": {
"raw": "https://admin.mayi888.com/innerApi/goodsService/product/remove_to_garbage/{{addproductID}}",
"host": [
"https"
],
"query": [],
"variable": [],
"path": [
"admin.mayi888.com",
"innerApi",
"goodsService",
"product",
"remove_to_garbage",
"%7B%7BaddproductID%7D%7D"
]
},
"header": [
{
"key": "Mayi-Token",
"value": "{{Mayi-Token}}",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json;charset=UTF-8",
"type": "text"
},
{
"key": "Accept",
"value": "application/json, text/plain, */*",
"type": "text"
}
],
"body": {
"mode": "raw"
},
"auth": {
"type": "noauth",
"apikey": [
{
"key": "value",
"value": "",
"type": "string"
},
{
"key": "key",
"value": "",
"type": "string"
}
],
"bearer": [
{
"key": "token",
"value": "",
"type": "string"
}
],
"basic": [
{
"key": "username",
"value": "",
"type": "string"
},
{
"key": "password",
"value": "",
"type": "string"
}
]
},
"description": "asd"
}
},
{
"name": "新建商品库商品",
"request": {
"method": "POST",
"url": {
"raw": "https://admin.mayi888.com/innerApi/goodsService/product/add_product",
"host": [
"https"
],
"query": [],
"variable": [],
"path": [
"admin.mayi888.com",
"innerApi",
"goodsService",
"product",
"add_product"
]
},
"header": [
{
"key": "Mayi-Token",
"value": "{{Mayi-Token}}",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json;charset=UTF-8",
"type": "text"
},
{
"key": "Accept",
"value": "application/json, text/plain, */*",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"coverImage\": \"\",\n \"multiSpecificationFlag\": 0,\n \"productSaleType\": \"0\",\n \"marketingModel\": \"1\",\n \"inventoryModel\": \"\",\n \"directionsForUse\": \"\",\n \"limitPurchaseFlag\": false,\n \"limitPurchaseNumber\": \"\",\n \"virtualBookType\": \"0\",\n \"categoryId\": \"2\",\n \"productNature\": \"1\",\n \"eBookId\": null,\n \"audioBookId\": null,\n \"physicalBookId\": null,\n \"productName\": \"接口自动化测试商品\",\n \"electronicImg\": \"\",\n \"saveOrUpdateProductResourceRequestDTOs\": [\n {\n \"url\": \"/product/HSCJreM7s5.jpg\",\n \"sequenceNumber\": 0,\n \"type\": 1\n }\n ],\n \"saveOrUpdateSingleSpeGoodsInfoRequestDTO\": {\n \"enableFlag\": 1,\n \"goodsCode\": \"\",\n \"goodsBarCode\": \"\",\n \"weight\": \"\",\n \"sizeLong\": \"\",\n \"sizeWidth\": \"\",\n \"sizeHeight\": \"\",\n \"cTn\": \"\",\n \"goodsSuggestedRetailPrice\": \"\",\n \"goodsDefaultSellPrice\": \"\",\n \"goodsPriceIntervalMinimum\": \"\",\n \"goodsPriceIntervalBiggest\": \"\",\n \"periodOfValidityType\": \"\",\n \"periodOfValidityStartTime\": \"\",\n \"periodOfValidityEndTime\": \"\",\n \"periodOfValidityDay\": \"\",\n \"oversoldFlag\": false,\n \"saveCombinationGoodsRelationshipRequestDTOS\": [],\n \"outId\": \"\"\n },\n \"productAttributeIdsStr\": \"\",\n \"classIdsStr\": \"\",\n \"clearPreferredSupplierId\": true\n}"
},
"auth": {
"type": "noauth",
"apikey": [
{
"key": "value",
"value": "",
"type": "string"
},
{
"key": "key",
"value": "",
"type": "string"
}
],
"bearer": [
{
"key": "token",
"value": "",
"type": "string"
}
],
"basic": [
{
"key": "username",
"value": "",
"type": "string"
},
{
"key": "password",
"value": "",
"type": "string"
}
]
},
"description": "asd"
}
}
]
},
{
"name": "微商城",
"item": [
{
"name": "商城添加购物车商品",
"request": {
"method": "POST",
"url": {
"raw": "https://shop.mayi888.com/innerApi/shopApiService/cart/add_item",
"host": [
"https"
],
"query": [],
"variable": [],
"path": [
"shop.mayi888.com",
"innerApi",
"shopApiService",
"cart",
"add_item"
]
},
"header": [
{
"key": "Accept",
"value": "application/json, text/plain, */*",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json;charset=UTF-8",
"type": "text"
},
{
"key": "Shop-Mixid",
"value": "TZYLX",
"type": "text"
},
{
"key": "Authorization",
"value": "{{SESSION_ID}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "[\n {\n \"productGoodsId\": \"258781\",\n \"qty\": 1,\n \"addChannel\": 2\n }\n]"
},
"auth": {
"type": "noauth",
"apikey": [
{
"key": "value",
"value": "",
"type": "string"
},
{
"key": "key",
"value": "",
"type": "string"
}
],
"bearer": [
{
"key": "token",
"value": "",
"type": "string"
}
],
"basic": [
{
"key": "username",
"value": "",
"type": "string"
},
{
"key": "password",
"value": "",
"type": "string"
}
]
},
"description": "asd"
}
},
{
"name": "商城搜索商品",
"request": {
"method": "POST",
"url": {
"raw": "https://shop.mayi888.com/innerApi/shopApiService/product/query_product_info",
"host": [
"https"
],
"query": [],
"variable": [],
"path": [
"shop.mayi888.com",
"innerApi",
"shopApiService",
"product",
"query_product_info"
]
},
"header": [
{
"key": "Accept",
"value": "application/json, text/plain, */*",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json;charset=UTF-8",
"type": "text"
},
{
"key": "Shop-Mixid",
"value": "TZYLX",
"type": "text"
},
{
"key": "Authorization",
"value": "{{SESSION_ID}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"searchWord\": \"枕头\",\n \"categoryName\": \"\",\n \"categoryBigImg\": null,\n \"categoryId\": \"\",\n \"sortColumn\": 9,\n \"sortType\": \"0\",\n \"colorList\": [],\n \"sizeList\": [],\n \"page\": 1,\n \"couponId\": \"\",\n \"rows\": 6,\n \"goodsSpecificationIds\": [],\n \"categoryIncludeChild\": true,\n \"whetherFindDistributionCommission\": 1,\n \"whetherShowGoodsDefaultTagFlag\": 1,\n \"whetherFindMultiShopFlag\": 1,\n \"whetherQueryGoodsAttributeFlag\": 1,\n \"whetherQueryCollectCount\": true,\n \"whetherUseVirtualSalesQty\": true,\n \"whetherUseVirtualCollectCount\": true,\n \"whetherToEnableQuickPurchase\": \"1\",\n \"searchScopeFlag\": 1\n}"
},
"auth": {
"type": "noauth",
"apikey": [
{
"key": "value",
"value": "",
"type": "string"
},
{
"key": "key",
"value": "",
"type": "string"
}
],
"bearer": [
{
"key": "token",
"value": "",
"type": "string"
}
],
"basic": [
{
"key": "username",
"value": "",
"type": "string"
},
{
"key": "password",
"value": "",
"type": "string"
}
]
},
"description": "asd"
}
},
{
"name": "商城登录",
"request": {
"method": "POST",
"url": {
"raw": "https://shop.mayi888.com/innerApi/shopApiService/login",
"host": [
"https"
],
"query": [],
"variable": [],
"path": [
"shop.mayi888.com",
"innerApi",
"shopApiService",
"login"
]
},
"header": [
{
"key": "Accept",
"value": "application/json, text/plain, */*",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json;charset=UTF-8",
"type": "text"
},
{
"key": "Shop-Mixid",
"value": "TZYLX",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"account\": \"13037555524\",\n \"password\": \"123456\",\n \"loginType\": 0\n}"
},
"auth": {
"type": "noauth",
"apikey": [
{
"key": "value",
"value": "",
"type": "string"
},
{
"key": "key",
"value": "",
"type": "string"
}
],
"bearer": [
{
"key": "token",
"value": "",
"type": "string"
}
],
"basic": [
{
"key": "username",
"value": "",
"type": "string"
},
{
"key": "password",
"value": "",
"type": "string"
}
]
},
"description": "asd"
}
}
]
},
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment