dyjh il y a 6 ans
Parent
commit
0375436411

+ 82 - 0
public/apidoc/api_data.js

xqd xqd
@@ -540,6 +540,53 @@ define({ "api": [
     "groupTitle": "Album",
     "name": "GetApiAlbumStyle"
   },
+  {
+    "type": "post",
+    "url": "/api/album/get-cart-of-watch",
+    "title": "客户浏览情况概览(get-cart-of-watch)",
+    "description": "<p>客户浏览情况概览(get-cart-of-watch)</p>",
+    "group": "Album",
+    "permission": [
+      {
+        "name": "none"
+      }
+    ],
+    "version": "0.1.0",
+    "parameter": {
+      "fields": {
+        "Parameter": [
+          {
+            "group": "Parameter",
+            "type": "int",
+            "optional": true,
+            "field": "store_id",
+            "description": "<p>商户id 模拟值为0</p>"
+          }
+        ]
+      }
+    },
+    "success": {
+      "examples": [
+        {
+          "title": "Success-Response:",
+          "content": "HTTP/1.1 200 OK\n{\n    \"status\": true,\n    \"status_code\": 0,\n    \"message\": \"\",\n    \"data\": [\n        \"user\": {\n             \"username\":\"王小贱\",\n             \"avatar\":\"awdawdawdawdawdawd\",头像\n              \"phone\":\"1123123123123\"\n             }\n        \"count\":6,\n        \"action\":[\n             \"type1\":1,\n             \"type2\":1,\n             \"type3\":1,\n             \"type4\":1,\n             \"type5\":1,\n             \"type6\":1,\n             \"type7\":1,\n         ]\n     ]\n}",
+          "type": "json"
+        }
+      ]
+    },
+    "error": {
+      "examples": [
+        {
+          "title": "Error-Response:",
+          "content": "HTTP/1.1 400 Bad Request\n{\n    \"state\": false,\n    \"code\": 1000,\n    \"message\": \"传入参数不正确\",\n    \"data\": null or []\n}\n可能出现的错误代码:\n   1000    CLIENT_WRONG_PARAMS             传入参数不正确",
+          "type": "json"
+        }
+      ]
+    },
+    "filename": "app/Http/Controllers/Api/V1/AlbumController.php",
+    "groupTitle": "Album",
+    "name": "PostApiAlbumGetCartOfWatch"
+  },
   {
     "type": "post",
     "url": "/api/album/get-watch-recored",
@@ -561,6 +608,41 @@ define({ "api": [
             "optional": true,
             "field": "store_id",
             "description": "<p>商户id 模拟值为0</p>"
+          },
+          {
+            "group": "Parameter",
+            "type": "int",
+            "optional": true,
+            "field": "type",
+            "description": "<p>查询方式 1 按用户 2 按时间 3 按类型</p>"
+          },
+          {
+            "group": "Parameter",
+            "type": "int",
+            "optional": true,
+            "field": "user_id",
+            "description": "<p>用户id</p>"
+          },
+          {
+            "group": "Parameter",
+            "type": "int",
+            "optional": true,
+            "field": "action",
+            "description": "<p>行为类型 1 收藏  2查看类目 3查看商品 4登陆 5点击图片 6 点击导航 7一键拨号</p>"
+          },
+          {
+            "group": "Parameter",
+            "type": "int",
+            "optional": true,
+            "field": "start_time",
+            "description": "<p>查询开始时间</p>"
+          },
+          {
+            "group": "Parameter",
+            "type": "int",
+            "optional": true,
+            "field": "end_time",
+            "description": "<p>查询结束时间</p>"
           }
         ]
       }

+ 82 - 0
public/apidoc/api_data.json

xqd xqd
@@ -540,6 +540,53 @@
     "groupTitle": "Album",
     "name": "GetApiAlbumStyle"
   },
+  {
+    "type": "post",
+    "url": "/api/album/get-cart-of-watch",
+    "title": "客户浏览情况概览(get-cart-of-watch)",
+    "description": "<p>客户浏览情况概览(get-cart-of-watch)</p>",
+    "group": "Album",
+    "permission": [
+      {
+        "name": "none"
+      }
+    ],
+    "version": "0.1.0",
+    "parameter": {
+      "fields": {
+        "Parameter": [
+          {
+            "group": "Parameter",
+            "type": "int",
+            "optional": true,
+            "field": "store_id",
+            "description": "<p>商户id 模拟值为0</p>"
+          }
+        ]
+      }
+    },
+    "success": {
+      "examples": [
+        {
+          "title": "Success-Response:",
+          "content": "HTTP/1.1 200 OK\n{\n    \"status\": true,\n    \"status_code\": 0,\n    \"message\": \"\",\n    \"data\": [\n        \"user\": {\n             \"username\":\"王小贱\",\n             \"avatar\":\"awdawdawdawdawdawd\",头像\n              \"phone\":\"1123123123123\"\n             }\n        \"count\":6,\n        \"action\":[\n             \"type1\":1,\n             \"type2\":1,\n             \"type3\":1,\n             \"type4\":1,\n             \"type5\":1,\n             \"type6\":1,\n             \"type7\":1,\n         ]\n     ]\n}",
+          "type": "json"
+        }
+      ]
+    },
+    "error": {
+      "examples": [
+        {
+          "title": "Error-Response:",
+          "content": "HTTP/1.1 400 Bad Request\n{\n    \"state\": false,\n    \"code\": 1000,\n    \"message\": \"传入参数不正确\",\n    \"data\": null or []\n}\n可能出现的错误代码:\n   1000    CLIENT_WRONG_PARAMS             传入参数不正确",
+          "type": "json"
+        }
+      ]
+    },
+    "filename": "app/Http/Controllers/Api/V1/AlbumController.php",
+    "groupTitle": "Album",
+    "name": "PostApiAlbumGetCartOfWatch"
+  },
   {
     "type": "post",
     "url": "/api/album/get-watch-recored",
@@ -561,6 +608,41 @@
             "optional": true,
             "field": "store_id",
             "description": "<p>商户id 模拟值为0</p>"
+          },
+          {
+            "group": "Parameter",
+            "type": "int",
+            "optional": true,
+            "field": "type",
+            "description": "<p>查询方式 1 按用户 2 按时间 3 按类型</p>"
+          },
+          {
+            "group": "Parameter",
+            "type": "int",
+            "optional": true,
+            "field": "user_id",
+            "description": "<p>用户id</p>"
+          },
+          {
+            "group": "Parameter",
+            "type": "int",
+            "optional": true,
+            "field": "action",
+            "description": "<p>行为类型 1 收藏  2查看类目 3查看商品 4登陆 5点击图片 6 点击导航 7一键拨号</p>"
+          },
+          {
+            "group": "Parameter",
+            "type": "int",
+            "optional": true,
+            "field": "start_time",
+            "description": "<p>查询开始时间</p>"
+          },
+          {
+            "group": "Parameter",
+            "type": "int",
+            "optional": true,
+            "field": "end_time",
+            "description": "<p>查询结束时间</p>"
           }
         ]
       }

+ 1 - 1
public/apidoc/api_project.js

xqd
@@ -9,7 +9,7 @@ define({
   "apidoc": "0.3.0",
   "generator": {
     "name": "apidoc",
-    "time": "2018-11-21T06:03:30.975Z",
+    "time": "2018-11-21T07:59:25.978Z",
     "url": "http://apidocjs.com",
     "version": "0.17.6"
   }

+ 1 - 1
public/apidoc/api_project.json

xqd
@@ -9,7 +9,7 @@
   "apidoc": "0.3.0",
   "generator": {
     "name": "apidoc",
-    "time": "2018-11-21T06:03:30.975Z",
+    "time": "2018-11-21T07:59:25.978Z",
     "url": "http://apidocjs.com",
     "version": "0.17.6"
   }