fly 5 سال پیش
والد
کامیت
0d7077e4f0

+ 3 - 3
app/Http/Controllers/QuickApp/User/UserController.php

@@ -122,7 +122,7 @@ class UserController extends BaseController
      * @apiHeader {String} [Authorization]  token
      * @apiHeader {String} [Authorization]  token
      * @apiGroup User
      * @apiGroup User
      * @apiName sendCode
      * @apiName sendCode
-     * @apiSuccess {String}  phone 手机号
+     * @apiParam {String}  phone 手机号
      * @apiSuccessExample {json} Success-Response:
      * @apiSuccessExample {json} Success-Response:
      *
      *
      *     {
      *     {
@@ -147,8 +147,8 @@ class UserController extends BaseController
      * @apiHeader {String} [Authorization]  token
      * @apiHeader {String} [Authorization]  token
      * @apiGroup User
      * @apiGroup User
      * @apiName bindPhone
      * @apiName bindPhone
-     * @apiSuccess {String}  phone 手机号
-     * @apiSuccess {String}  code 验证码
+     * @apiParam {String}  phone 手机号
+     * @apiParam {String}  code 验证码
      * @apiSuccessExample {json} Success-Response:
      * @apiSuccessExample {json} Success-Response:
      *
      *
      *     {
      *     {

+ 13 - 9
public/kyydoc/api_data.js

@@ -3436,25 +3436,27 @@ define({ "api": [
     },
     },
     "group": "User",
     "group": "User",
     "name": "bindPhone",
     "name": "bindPhone",
-    "success": {
+    "parameter": {
       "fields": {
       "fields": {
-        "Success 200": [
+        "Parameter": [
           {
           {
-            "group": "Success 200",
+            "group": "Parameter",
             "type": "String",
             "type": "String",
             "optional": false,
             "optional": false,
             "field": "phone",
             "field": "phone",
             "description": "<p>手机号</p>"
             "description": "<p>手机号</p>"
           },
           },
           {
           {
-            "group": "Success 200",
+            "group": "Parameter",
             "type": "String",
             "type": "String",
             "optional": false,
             "optional": false,
             "field": "code",
             "field": "code",
             "description": "<p>验证码</p>"
             "description": "<p>验证码</p>"
           }
           }
         ]
         ]
-      },
+      }
+    },
+    "success": {
       "examples": [
       "examples": [
         {
         {
           "title": "Success-Response:",
           "title": "Success-Response:",
@@ -3626,18 +3628,20 @@ define({ "api": [
     },
     },
     "group": "User",
     "group": "User",
     "name": "sendCode",
     "name": "sendCode",
-    "success": {
+    "parameter": {
       "fields": {
       "fields": {
-        "Success 200": [
+        "Parameter": [
           {
           {
-            "group": "Success 200",
+            "group": "Parameter",
             "type": "String",
             "type": "String",
             "optional": false,
             "optional": false,
             "field": "phone",
             "field": "phone",
             "description": "<p>手机号</p>"
             "description": "<p>手机号</p>"
           }
           }
         ]
         ]
-      },
+      }
+    },
+    "success": {
       "examples": [
       "examples": [
         {
         {
           "title": "Success-Response:",
           "title": "Success-Response:",

+ 13 - 9
public/kyydoc/api_data.json

@@ -3436,25 +3436,27 @@
     },
     },
     "group": "User",
     "group": "User",
     "name": "bindPhone",
     "name": "bindPhone",
-    "success": {
+    "parameter": {
       "fields": {
       "fields": {
-        "Success 200": [
+        "Parameter": [
           {
           {
-            "group": "Success 200",
+            "group": "Parameter",
             "type": "String",
             "type": "String",
             "optional": false,
             "optional": false,
             "field": "phone",
             "field": "phone",
             "description": "<p>手机号</p>"
             "description": "<p>手机号</p>"
           },
           },
           {
           {
-            "group": "Success 200",
+            "group": "Parameter",
             "type": "String",
             "type": "String",
             "optional": false,
             "optional": false,
             "field": "code",
             "field": "code",
             "description": "<p>验证码</p>"
             "description": "<p>验证码</p>"
           }
           }
         ]
         ]
-      },
+      }
+    },
+    "success": {
       "examples": [
       "examples": [
         {
         {
           "title": "Success-Response:",
           "title": "Success-Response:",
@@ -3626,18 +3628,20 @@
     },
     },
     "group": "User",
     "group": "User",
     "name": "sendCode",
     "name": "sendCode",
-    "success": {
+    "parameter": {
       "fields": {
       "fields": {
-        "Success 200": [
+        "Parameter": [
           {
           {
-            "group": "Success 200",
+            "group": "Parameter",
             "type": "String",
             "type": "String",
             "optional": false,
             "optional": false,
             "field": "phone",
             "field": "phone",
             "description": "<p>手机号</p>"
             "description": "<p>手机号</p>"
           }
           }
         ]
         ]
-      },
+      }
+    },
+    "success": {
       "examples": [
       "examples": [
         {
         {
           "title": "Success-Response:",
           "title": "Success-Response:",

+ 1 - 1
public/kyydoc/api_project.js

@@ -17,7 +17,7 @@ define({
   "apidoc": "0.3.0",
   "apidoc": "0.3.0",
   "generator": {
   "generator": {
     "name": "apidoc",
     "name": "apidoc",
-    "time": "2019-10-29T10:39:15.870Z",
+    "time": "2019-10-30T01:44:20.412Z",
     "url": "http://apidocjs.com",
     "url": "http://apidocjs.com",
     "version": "0.17.7"
     "version": "0.17.7"
   }
   }

+ 1 - 1
public/kyydoc/api_project.json

@@ -17,7 +17,7 @@
   "apidoc": "0.3.0",
   "apidoc": "0.3.0",
   "generator": {
   "generator": {
     "name": "apidoc",
     "name": "apidoc",
-    "time": "2019-10-29T10:39:15.870Z",
+    "time": "2019-10-30T01:44:20.412Z",
     "url": "http://apidocjs.com",
     "url": "http://apidocjs.com",
     "version": "0.17.7"
     "version": "0.17.7"
   }
   }