瀏覽代碼

Merge branch 'master' of http://git.9026.com/wesley/furniture

gq 6 年之前
父節點
當前提交
75e2b510c5

+ 1 - 1
app/Http/Controllers/Api/V1/AlbumController.php

xqd
@@ -2118,7 +2118,7 @@ class AlbumController extends Controller
     }
 
     /**
-     * @api {get} /api/album/customer-goods-detail 获取客户浏览商品详细(customer-goods-detail)
+     * @api {post} /api/album/customer-goods-detail 获取客户浏览商品详细(customer-goods-detail)
      * @apiDescription 获取客户浏览商品详细(customer-goods-detail)
      * @apiGroup Album
      * @apiPermission none

+ 34 - 34
public/apidoc/api_data.js

xqd xqd
@@ -304,40 +304,6 @@ define({ "api": [
     "groupTitle": "Album",
     "name": "GetApiAlbumCustomerGoods"
   },
-  {
-    "type": "get",
-    "url": "/api/album/customer-goods-detail",
-    "title": "获取客户浏览商品详细(customer-goods-detail)",
-    "description": "<p>获取客户浏览商品详细(customer-goods-detail)</p>",
-    "group": "Album",
-    "permission": [
-      {
-        "name": "none"
-      }
-    ],
-    "version": "0.1.0",
-    "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             \"time\":\n             \"style\":\n             \"cat\":\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": "GetApiAlbumCustomerGoodsDetail"
-  },
   {
     "type": "get",
     "url": "/api/album/favorite_del",
@@ -845,6 +811,40 @@ define({ "api": [
     "groupTitle": "Album",
     "name": "GetApiAlbumStyle"
   },
+  {
+    "type": "post",
+    "url": "/api/album/customer-goods-detail",
+    "title": "获取客户浏览商品详细(customer-goods-detail)",
+    "description": "<p>获取客户浏览商品详细(customer-goods-detail)</p>",
+    "group": "Album",
+    "permission": [
+      {
+        "name": "none"
+      }
+    ],
+    "version": "0.1.0",
+    "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             \"time\":\n             \"style\":\n             \"cat\":\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": "PostApiAlbumCustomerGoodsDetail"
+  },
   {
     "type": "post",
     "url": "/api/album/get-cart-of-watch",

+ 34 - 34
public/apidoc/api_data.json

xqd xqd
@@ -304,40 +304,6 @@
     "groupTitle": "Album",
     "name": "GetApiAlbumCustomerGoods"
   },
-  {
-    "type": "get",
-    "url": "/api/album/customer-goods-detail",
-    "title": "获取客户浏览商品详细(customer-goods-detail)",
-    "description": "<p>获取客户浏览商品详细(customer-goods-detail)</p>",
-    "group": "Album",
-    "permission": [
-      {
-        "name": "none"
-      }
-    ],
-    "version": "0.1.0",
-    "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             \"time\":\n             \"style\":\n             \"cat\":\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": "GetApiAlbumCustomerGoodsDetail"
-  },
   {
     "type": "get",
     "url": "/api/album/favorite_del",
@@ -845,6 +811,40 @@
     "groupTitle": "Album",
     "name": "GetApiAlbumStyle"
   },
+  {
+    "type": "post",
+    "url": "/api/album/customer-goods-detail",
+    "title": "获取客户浏览商品详细(customer-goods-detail)",
+    "description": "<p>获取客户浏览商品详细(customer-goods-detail)</p>",
+    "group": "Album",
+    "permission": [
+      {
+        "name": "none"
+      }
+    ],
+    "version": "0.1.0",
+    "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             \"time\":\n             \"style\":\n             \"cat\":\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": "PostApiAlbumCustomerGoodsDetail"
+  },
   {
     "type": "post",
     "url": "/api/album/get-cart-of-watch",

+ 1 - 1
public/apidoc/api_project.js

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