dyjh před 6 roky
rodič
revize
e132a07cec

+ 80 - 0
public/apidoc/api_data.js

xqd xqd xqd
@@ -282,6 +282,19 @@ define({ "api": [
       }
     ],
     "version": "0.1.0",
+    "parameter": {
+      "fields": {
+        "Parameter": [
+          {
+            "group": "Parameter",
+            "type": "int",
+            "optional": true,
+            "field": "store_id",
+            "description": "<p>商户id</p>"
+          }
+        ]
+      }
+    },
     "success": {
       "examples": [
         {
@@ -823,6 +836,26 @@ define({ "api": [
       }
     ],
     "version": "0.1.0",
+    "parameter": {
+      "fields": {
+        "Parameter": [
+          {
+            "group": "Parameter",
+            "type": "int",
+            "optional": true,
+            "field": "store_id",
+            "description": "<p>商户id</p>"
+          },
+          {
+            "group": "Parameter",
+            "type": "string",
+            "optional": true,
+            "field": "open_id",
+            "description": "<p>openid</p>"
+          }
+        ]
+      }
+    },
     "success": {
       "examples": [
         {
@@ -892,6 +925,53 @@ define({ "api": [
     "groupTitle": "Album",
     "name": "PostApiAlbumGetCartOfWatch"
   },
+  {
+    "type": "post",
+    "url": "/api/album/get-count-favorite",
+    "title": "获取客户收藏商品详细(get-count-favorite)",
+    "description": "<p>获取客户收藏商品详细(get-count-favorite)</p>",
+    "group": "Album",
+    "permission": [
+      {
+        "name": "AUTH"
+      }
+    ],
+    "version": "0.1.0",
+    "parameter": {
+      "fields": {
+        "Parameter": [
+          {
+            "group": "Parameter",
+            "type": "int",
+            "optional": true,
+            "field": "store_id",
+            "description": "<p>商户id</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         {\n             \"name\":\n             \"count\":\n             \"product_id\":\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": "PostApiAlbumGetCountFavorite"
+  },
   {
     "type": "post",
     "url": "/api/album/get-watch-recored",

+ 80 - 0
public/apidoc/api_data.json

xqd xqd xqd
@@ -282,6 +282,19 @@
       }
     ],
     "version": "0.1.0",
+    "parameter": {
+      "fields": {
+        "Parameter": [
+          {
+            "group": "Parameter",
+            "type": "int",
+            "optional": true,
+            "field": "store_id",
+            "description": "<p>商户id</p>"
+          }
+        ]
+      }
+    },
     "success": {
       "examples": [
         {
@@ -823,6 +836,26 @@
       }
     ],
     "version": "0.1.0",
+    "parameter": {
+      "fields": {
+        "Parameter": [
+          {
+            "group": "Parameter",
+            "type": "int",
+            "optional": true,
+            "field": "store_id",
+            "description": "<p>商户id</p>"
+          },
+          {
+            "group": "Parameter",
+            "type": "string",
+            "optional": true,
+            "field": "open_id",
+            "description": "<p>openid</p>"
+          }
+        ]
+      }
+    },
     "success": {
       "examples": [
         {
@@ -892,6 +925,53 @@
     "groupTitle": "Album",
     "name": "PostApiAlbumGetCartOfWatch"
   },
+  {
+    "type": "post",
+    "url": "/api/album/get-count-favorite",
+    "title": "获取客户收藏商品详细(get-count-favorite)",
+    "description": "<p>获取客户收藏商品详细(get-count-favorite)</p>",
+    "group": "Album",
+    "permission": [
+      {
+        "name": "AUTH"
+      }
+    ],
+    "version": "0.1.0",
+    "parameter": {
+      "fields": {
+        "Parameter": [
+          {
+            "group": "Parameter",
+            "type": "int",
+            "optional": true,
+            "field": "store_id",
+            "description": "<p>商户id</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         {\n             \"name\":\n             \"count\":\n             \"product_id\":\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": "PostApiAlbumGetCountFavorite"
+  },
   {
     "type": "post",
     "url": "/api/album/get-watch-recored",

+ 1 - 1
public/apidoc/api_project.js

xqd
@@ -9,7 +9,7 @@ define({
   "apidoc": "0.3.0",
   "generator": {
     "name": "apidoc",
-    "time": "2019-02-11T01:07:37.254Z",
+    "time": "2019-02-11T05:47:45.907Z",
     "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": "2019-02-11T01:07:37.254Z",
+    "time": "2019-02-11T05:47:45.907Z",
     "url": "http://apidocjs.com",
     "version": "0.17.6"
   }