diff --git a/document/axure/app-design.md b/document/axure/app-design.md deleted file mode 100644 index db2167c..0000000 --- a/document/axure/app-design.md +++ /dev/null @@ -1,61 +0,0 @@ -## app-design - -### 原型尺寸 - -名称 | 尺寸 -----|---- -android|360x640 -ios|375x667 - -### 尺寸 - -#### 字体大小 - -名称 | 尺寸 -----|---- -标题栏标题|17 -标题栏编辑|15 -标题字体1|17 -标题字体2|15 -正文字体|13 - -#### 中继器尺寸 - -名称 | 尺寸 -----|---- -单列宽度|375 -双列宽度|150 -双列左右填充|30 -双列水平垂直边距|15 - -#### 图标尺寸 - -名称 | 尺寸 -----|---- -图标|24x24 - -#### 通用尺寸 - -名称 | 尺寸 -----|---- -标题栏高度|44 -单行列表高度|44或48 -矩形内部填充间距|20 -分隔条宽度|15 -分隔条宽度2|20 - -### 颜色 - -名称 | 尺寸 -----|---- -app主色|#2AB795 -屏幕背景色|#EEEEEE -弹框背景色|#04040F(40%) -醒目色1|#FB0017 -醒目色2|#FD994B -文字颜色1|#333333 -文字颜色2|#666666 -文字颜色3|#999999 -边框及分隔线颜色|#CCCCCC -图标颜色|#666666或主色 -半透明色|纯黑色调整透明度 \ No newline at end of file diff --git a/document/axure/mall-flow.rp b/document/axure/mall-flow.rp deleted file mode 100644 index 266ca0f..0000000 Binary files a/document/axure/mall-flow.rp and /dev/null differ diff --git a/document/postman/mall-admin.postman_collection.json b/document/postman/mall-admin.postman_collection.json deleted file mode 100644 index 3aaa57f..0000000 --- a/document/postman/mall-admin.postman_collection.json +++ /dev/null @@ -1,188 +0,0 @@ -{ - "variables": [], - "info": { - "name": "mall-admin", - "_postman_id": "f4a4382c-ee6c-975f-99ac-7645532458ba", - "description": "", - "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json" - }, - "item": [ - { - "name": "添加优惠券", - "request": { - "url": "{{admin.mall}}/coupon/add", - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"amount\": 50,\r\n \"count\": 100,\r\n \"enableTime\": \"2018-08-27T08:40:46.973Z\",\r\n \"endTime\": \"2018-08-31T08:40:46.973Z\",\r\n \"minPoint\": 500,\r\n \"name\": \"T恤分类专用优惠券\",\r\n \"note\": \"满500减50\",\r\n \"perLimit\": 1,\r\n \"platform\": 0,\r\n \"publishCount\": 100,\r\n \"receiveCount\": 0,\r\n \"startTime\": \"2018-08-27T08:40:46.973Z\",\r\n \"type\": 0,\r\n \"useCount\": 0,\r\n \"useType\": 1,\r\n \"productCategoryRelationList\": [\r\n {\r\n \"productCategoryId\": 8\r\n }\r\n ]\r\n}" - }, - "description": "" - }, - "response": [] - }, - { - "name": "删除指定优惠券", - "request": { - "url": "{{admin.mall}}/coupon/delete/6", - "method": "POST", - "header": [], - "body": {}, - "description": "" - }, - "response": [] - }, - { - "name": "修改指定优惠券", - "request": { - "url": "{{admin.mall}}/coupon/update/6", - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"amount\": 300,\r\n \"count\": 100,\r\n \"enableTime\": \"2018-08-27T08:40:46.973Z\",\r\n \"endTime\": \"2018-08-31T08:40:46.973Z\",\r\n \"minPoint\": 2000,\r\n \"name\": \"满2000减200\",\r\n \"note\": \"手机分类专用优惠券\",\r\n \"perLimit\": 1,\r\n \"platform\": 0,\r\n \"publishCount\": 100,\r\n \"receiveCount\": 0,\r\n \"startTime\": \"2018-08-27T08:40:46.973Z\",\r\n \"type\": 0,\r\n \"useCount\": 0,\r\n \"useType\": 1,\r\n \"productCategoryRelationList\": [\r\n {\r\n \"productCategoryId\": 18\r\n }\r\n ]\r\n}" - }, - "description": "" - }, - "response": [] - }, - { - "name": "登录", - "request": { - "url": "{{admin.mall}}/admin/login", - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"password\": \"123456\",\r\n \"username\": \"admin\"\r\n}" - }, - "description": "" - }, - "response": [] - }, - { - "name": "查看商品列表", - "request": { - "url": "{{admin.mall}}/product/list", - "method": "GET", - "header": [ - { - "key": "Authorization", - "value": "Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsImNyZWF0ZWQiOjE1Mzg5OTExNzkwODAsImV4cCI6MTUzOTU5NTk3OX0.u_fUHf09ONw6CCQW0ERufOgfuGUY1g7hu-o9thMl6wsFlBlkn1QmOZJwlU1ejsc65-N3p3k1pb11vTeqrVnYIw", - "description": "" - } - ], - "body": {}, - "description": "" - }, - "response": [] - }, - { - "name": "批量修改商品的删除状态", - "request": { - "url": "{{admin.mall}}/product/update/deleteStatus", - "method": "POST", - "header": [ - { - "key": "Authorization", - "value": "Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsImNyZWF0ZWQiOjE1Mzg5OTExNzkwODAsImV4cCI6MTUzOTU5NTk3OX0.u_fUHf09ONw6CCQW0ERufOgfuGUY1g7hu-o9thMl6wsFlBlkn1QmOZJwlU1ejsc65-N3p3k1pb11vTeqrVnYIw", - "description": "" - }, - { - "key": "Content-Type", - "value": "application/x-www-form-urlencoded", - "description": "" - } - ], - "body": { - "mode": "urlencoded", - "urlencoded": [ - { - "key": "ids", - "value": "1,2", - "description": "", - "type": "text" - }, - { - "key": "deleteStatus", - "value": "1", - "description": "", - "type": "text" - } - ] - }, - "description": "" - }, - "response": [] - }, - { - "name": "查询所有一级分类及子分类", - "request": { - "url": "{{admin.mall}}/productCategory/list/withChildren", - "method": "GET", - "header": [ - { - "key": "Authorization", - "value": "Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsImNyZWF0ZWQiOjE1Mzg5OTExNzkwODAsImV4cCI6MTUzOTU5NTk3OX0.u_fUHf09ONw6CCQW0ERufOgfuGUY1g7hu-o9thMl6wsFlBlkn1QmOZJwlU1ejsc65-N3p3k1pb11vTeqrVnYIw", - "description": "" - } - ], - "body": {}, - "description": "" - }, - "response": [] - }, - { - "name": "获取全部品牌列表", - "request": { - "url": "{{admin.mall}}/brand/listAll", - "method": "GET", - "header": [ - { - "key": "Authorization", - "value": "Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsImNyZWF0ZWQiOjE1Mzg5OTExNzkwODAsImV4cCI6MTUzOTU5NTk3OX0.u_fUHf09ONw6CCQW0ERufOgfuGUY1g7hu-o9thMl6wsFlBlkn1QmOZJwlU1ejsc65-N3p3k1pb11vTeqrVnYIw", - "description": "" - } - ], - "body": {}, - "description": "" - }, - "response": [] - }, - { - "name": "刷新token", - "request": { - "url": "{{admin.mall}}/admin/token/refresh", - "method": "GET", - "header": [ - { - "key": "Authorization", - "value": "Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsImNyZWF0ZWQiOjE1NTIzNTYzNzg0NjUsImV4cCI6MTU1Mjk2MTE3OH0.cxT6ULWfA17_QOh5nAcdU8FVldrSxLC2yi3y4fiHetCCrNzBBF9k6iRN-gfFmYa1_Ptav4WjgUAspZDBQa7SsA", - "description": "" - } - ], - "body": {}, - "description": "" - }, - "response": [] - } - ] -} \ No newline at end of file diff --git a/document/postman/mall-portal.postman_collection.json b/document/postman/mall-portal.postman_collection.json deleted file mode 100644 index 6ed9626..0000000 --- a/document/postman/mall-portal.postman_collection.json +++ /dev/null @@ -1,328 +0,0 @@ -{ - "variables": [], - "info": { - "name": "mall-portal", - "_postman_id": "bb2ab4ed-fa53-9c01-9fe1-ef1568038701", - "description": "", - "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json" - }, - "item": [ - { - "name": "会员登录", - "request": { - "url": "{{portal.mall}}/sso/login", - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/x-www-form-urlencoded", - "description": "" - } - ], - "body": { - "mode": "urlencoded", - "urlencoded": [ - { - "key": "username", - "value": "test", - "description": "", - "type": "text" - }, - { - "key": "password", - "value": "123", - "description": "", - "type": "text" - } - ] - }, - "description": "" - }, - "response": [] - }, - { - "name": "获取购物车列表", - "request": { - "url": "{{portal.mall}}/cart/list", - "method": "GET", - "header": [], - "body": {}, - "description": "" - }, - "response": [] - }, - { - "name": "清空购物车", - "request": { - "url": "{{portal.mall}}/cart/clear", - "method": "POST", - "header": [], - "body": {}, - "description": "" - }, - "response": [] - }, - { - "name": "加入购物车", - "request": { - "url": "{{portal.mall}}/cart/add", - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"price\": 5499,\r\n \"productId\": 29,\r\n \"productName\": \"Apple iPhone 8 Plus\",\r\n \"productSkuCode\": \"201808270029001\",\r\n \"productSkuId\": 106,\r\n \"productSubTitle\": \"【限时限量抢购】Apple产品年中狂欢节,好物尽享,美在智慧!速来 >> 勾选[保障服务][原厂保2年],获得AppleCare+全方位服务计划,原厂延保售后无忧。\",\r\n \"quantity\": 1,\r\n \"sp1\": \"金色\",\r\n \"sp2\": \"32G\",\r\n \"sp3\": null\r\n}" - }, - "description": "" - }, - "response": [] - }, - { - "name": "获取购物车列表(包括促销信息)", - "request": { - "url": "{{portal.mall}}/cart/list/promotion", - "method": "GET", - "header": [], - "body": {}, - "description": "" - }, - "response": [] - }, - { - "name": "修改购物车中商品数量", - "request": { - "url": { - "raw": "{{portal.mall}}/cart/update/quantity?id=15&quantity=1", - "host": [ - "{{portal.mall}}" - ], - "path": [ - "cart", - "update", - "quantity" - ], - "query": [ - { - "key": "id", - "value": "15", - "equals": true, - "description": "" - }, - { - "key": "quantity", - "value": "1", - "equals": true, - "description": "" - } - ], - "variable": [] - }, - "method": "GET", - "header": [], - "body": {}, - "description": "" - }, - "response": [] - }, - { - "name": "添加收货地址", - "request": { - "url": "{{portal.mall}}/member/address/add", - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"defaultStatus\": 1,\r\n \"name\": \"大梨\",\r\n \"phoneNumber\": \"18033441849\",\r\n \"postCode\": \"518000\",\r\n \"city\": \"深圳市\",\r\n \"detailAddress\": \"东晓街道\",\r\n \"province\": \"广东省\",\r\n \"region\": \"福田区\"\r\n}" - }, - "description": "" - }, - "response": [] - }, - { - "name": "删除收货地址", - "request": { - "url": "{{portal.mall}}/member/address/delete/2", - "method": "POST", - "header": [], - "body": {}, - "description": "" - }, - "response": [] - }, - { - "name": "查询指定收货地址", - "request": { - "url": "{{portal.mall}}/member/address/3", - "method": "GET", - "header": [], - "body": {}, - "description": "" - }, - "response": [] - }, - { - "name": "修改收货地址", - "request": { - "url": "{{portal.mall}}/member/address/update/3", - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"id\": 3,\n \"memberId\": 1,\n \"name\": \"大梨\",\n \"phoneNumber\": \"18033441849\",\n \"defaultStatus\": 0,\n \"postCode\": \"518000\",\n \"province\": \"广东省\",\n \"city\": \"深圳市\",\n \"region\": \"福田区\",\n \"detailAddress\": \"清水河街道\"\n }" - }, - "description": "" - }, - "response": [] - }, - { - "name": "领取优惠券", - "request": { - "url": "{{portal.mall}}/member/coupon/add/7", - "method": "POST", - "header": [], - "body": {}, - "description": "" - }, - "response": [] - }, - { - "name": "获取会员优惠券列表", - "request": { - "url": "{{portal.mall}}/member/coupon/list", - "method": "GET", - "header": [], - "body": {}, - "description": "" - }, - "response": [] - }, - { - "name": "获取购物车可用优惠券", - "request": { - "url": "{{portal.mall}}/member/coupon/list/cart/1", - "method": "GET", - "header": [], - "body": {}, - "description": "" - }, - "response": [] - }, - { - "name": "根据购物车信息生成确认单", - "request": { - "url": "{{portal.mall}}/order/confirmOrder", - "method": "POST", - "header": [], - "body": {}, - "description": "" - }, - "response": [] - }, - { - "name": "下单", - "request": { - "url": "{{portal.mall}}/order/generateOrder", - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"couponId\": 2,\r\n \"memberReceiveAddressId\": 4,\r\n \"payType\": 0\r\n}" - }, - "description": "" - }, - "response": [] - }, - { - "name": "订单支付成功回调", - "request": { - "url": { - "raw": "{{portal.mall}}/order/paySuccess?orderId=12", - "host": [ - "{{portal.mall}}" - ], - "path": [ - "order", - "paySuccess" - ], - "query": [ - { - "key": "orderId", - "value": "12", - "equals": true, - "description": "" - } - ], - "variable": [] - }, - "method": "POST", - "header": [], - "body": {}, - "description": "" - }, - "response": [] - }, - { - "name": "取消超时订单", - "request": { - "url": "{{portal.mall}}/order/cancelTimeOutOrder", - "method": "POST", - "header": [], - "body": {}, - "description": "" - }, - "response": [] - }, - { - "name": "取消单个超时订单", - "request": { - "url": { - "raw": "{{portal.mall}}/order/cancelOrder?orderId=13", - "host": [ - "{{portal.mall}}" - ], - "path": [ - "order", - "cancelOrder" - ], - "query": [ - { - "key": "orderId", - "value": "13", - "equals": true, - "description": "" - } - ], - "variable": [] - }, - "method": "POST", - "header": [], - "body": {}, - "description": "" - }, - "response": [] - } - ] -} \ No newline at end of file