xxxrrrdddd 3 jaren geleden
bovenliggende
commit
ed127d46cc
6 gewijzigde bestanden met toevoegingen van 403 en 102 verwijderingen
  1. 18 1
      application/api/controller/UserOrder.php
  2. 14 0
      application/common/model/UserOrder.php
  3. 14 0
      application/service/Pet.php
  4. 111 0
      database/pet.sql
  5. 0 0
      extend/pcas-code.json
  6. 246 101
      public/api.html

+ 18 - 1
application/api/controller/UserOrder.php

@@ -10,7 +10,7 @@ use app\service\Pet;
  */
 class UserOrder extends Api
 {
-    protected $noNeedLogin = ['category','spec'];
+    protected $noNeedLogin = ['category','spec','protect'];
     protected $noNeedRight = '*';
 
     /**
@@ -42,4 +42,21 @@ class UserOrder extends Api
     public function spec(Pet $pet){
         $this->success('',$pet::spec());
     }
+    /**
+     * 宠物保
+     * @ApiReturnParams (name=id,description=id)
+     * @ApiReturnParams (name=name,description=名称)
+     * @ApiReturnParams (name=max,description=最高保多少)
+     * @ApiReturnParams (name=price,description=价格)
+     */
+    public function protect(Pet $pet){
+        $this->success('',$pet::protect());
+    }
+    /**
+     * 预下单
+     * @param
+     */
+    public function prepare(){
+        $data=input();
+    }
 }

+ 14 - 0
application/common/model/UserOrder.php

@@ -10,4 +10,18 @@ class UserOrder extends Model
         'get_time'=>'array',
         'has_cage'=>'boolean',
     ];
+    const FREIGHT_FAST=1;#快车
+    const FREIGHT_AIR=2;#空运
+    const FREIGHT_SPECIAL=3;#专车
+    public static $freights=[
+        self::FREIGHT_FAST=>'快车',
+        self::FREIGHT_AIR=>'空运',
+        self::FREIGHT_SPECIAL=>'专车',
+    ];
+    const STATUS_WAIT_PAY=0;
+    const STATUS_WAIT_GET=1;
+    const STATUS_WAIT_SENDING=10;
+    const STATUS_WAIT_COMPLETE=20;
+    const STATUS_WAIT_SET=30;
+    const STATUS_WAIT_CANCEL=40;
 }

+ 14 - 0
application/service/Pet.php

@@ -21,4 +21,18 @@ class Pet{
             5=>['id'=>1,'name'=>'91*64*75CM','weight'=>'60-80'],
         ];
     }
+    public static function protect(){
+        return [
+            1=>['id'=>1,'name'=>'50元安心保','max'=>1000,'price'=>50],
+            2=>['id'=>2,'name'=>'100元安心保','max'=>2000,'price'=>100],
+            3=>['id'=>3,'name'=>'150元安心保','max'=>3000,'price'=>150],
+            4=>['id'=>4,'name'=>'200元安心保','max'=>4000,'price'=>200],
+            5=>['id'=>5,'name'=>'250元安心保','max'=>5000,'price'=>250],
+            6=>['id'=>6,'name'=>'300元安心保','max'=>6000,'price'=>300],
+            7=>['id'=>7,'name'=>'350元安心保','max'=>7000,'price'=>350],
+            8=>['id'=>8,'name'=>'400元安心保','max'=>8000,'price'=>400],
+            9=>['id'=>9,'name'=>'450元安心保','max'=>9000,'price'=>450],
+            10=>['id'=>10,'name'=>'500元安心保','max'=>10000,'price'=>500],
+        ];
+    }
 }

File diff suppressed because it is too large
+ 111 - 0
database/pet.sql


File diff suppressed because it is too large
+ 0 - 0
extend/pcas-code.json


+ 246 - 101
public/api.html

@@ -241,34 +241,36 @@
                                                             </span>
                         </a>
                                                 <a href="javascript:;" data-id="21" class="list-group-item">宠物规格                            <span class="tag">
-                                                                    <span class="label label-success pull-right noneedlogin">登</span>
+                                                            </span>
+                        </a>
+                                                <a href="javascript:;" data-id="22" class="list-group-item">宠物保                            <span class="tag">
                                                             </span>
                         </a>
                                             </div>
                                         <a href="#验证接口" class="list-group-item" data-toggle="collapse" data-parent="#sidebar">验证接口  <i class="fa fa-caret-down"></i></a>
                     <div class="child collapse" id="验证接口">
-                                                <a href="javascript:;" data-id="22" class="list-group-item">检测邮箱                            <span class="tag">
+                                                <a href="javascript:;" data-id="23" class="list-group-item">检测邮箱                            <span class="tag">
                                                             </span>
                         </a>
-                                                <a href="javascript:;" data-id="23" class="list-group-item">检测用户名                            <span class="tag">
+                                                <a href="javascript:;" data-id="24" class="list-group-item">检测用户名                            <span class="tag">
                                                             </span>
                         </a>
-                                                <a href="javascript:;" data-id="24" class="list-group-item">检测昵称                            <span class="tag">
+                                                <a href="javascript:;" data-id="25" class="list-group-item">检测昵称                            <span class="tag">
                                                             </span>
                         </a>
-                                                <a href="javascript:;" data-id="25" class="list-group-item">检测手机                            <span class="tag">
+                                                <a href="javascript:;" data-id="26" class="list-group-item">检测手机                            <span class="tag">
                                                             </span>
                         </a>
-                                                <a href="javascript:;" data-id="26" class="list-group-item">检测手机                            <span class="tag">
+                                                <a href="javascript:;" data-id="27" class="list-group-item">检测手机                            <span class="tag">
                                                             </span>
                         </a>
-                                                <a href="javascript:;" data-id="27" class="list-group-item">检测邮箱                            <span class="tag">
+                                                <a href="javascript:;" data-id="28" class="list-group-item">检测邮箱                            <span class="tag">
                                                             </span>
                         </a>
-                                                <a href="javascript:;" data-id="28" class="list-group-item">检测手机验证码                            <span class="tag">
+                                                <a href="javascript:;" data-id="29" class="list-group-item">检测手机验证码                            <span class="tag">
                                                             </span>
                         </a>
-                                                <a href="javascript:;" data-id="29" class="list-group-item">检测邮箱验证码                            <span class="tag">
+                                                <a href="javascript:;" data-id="30" class="list-group-item">检测邮箱验证码                            <span class="tag">
                                                             </span>
                         </a>
                                             </div>
@@ -3295,7 +3297,7 @@
                                                 <tbody>
                                                 <tr>
                                                     <td>登录</td>
-                                                    <td></td>
+                                                    <td></td>
                                                 </tr>
                                                 <tr>
                                                     <td>鉴权</td>
@@ -3403,13 +3405,11 @@
                         </div>
                     </div>
                 </div>
-                                <h2>验证接口</h2>
-                <hr>
                                 <div class="panel panel-default">
                     <div class="panel-heading" id="heading-22">
                         <h4 class="panel-title">
-                            <span class="label label-primary">POST</span>
-                            <a data-toggle="collapse" data-parent="#accordion22" href="#collapseOne22"> 检测邮箱 <span class="text-muted">/api/validate/check_email_available</span></a>
+                            <span class="label label-success">GET</span>
+                            <a data-toggle="collapse" data-parent="#accordion22" href="#collapseOne22"> 宠物保 <span class="text-muted">/api/user_order/protect</span></a>
                         </h4>
                     </div>
                     <div id="collapseOne22" class="panel-collapse collapse">
@@ -3427,7 +3427,7 @@
 
                                 <div class="tab-pane active" id="info22">
                                     <div class="well">
-                                        检测邮箱                                    </div>
+                                        宠物保                                    </div>
                                     <div class="panel panel-default">
                                         <div class="panel-heading"><strong>权限</strong></div>
                                         <div class="panel-body">
@@ -3454,30 +3454,7 @@
                                     <div class="panel panel-default">
                                         <div class="panel-heading"><strong>参数</strong></div>
                                         <div class="panel-body">
-                                                                                        <table class="table table-hover">
-                                                <thead>
-                                                    <tr>
-                                                        <th>名称</th>
-                                                        <th>类型</th>
-                                                        <th>必选</th>
-                                                        <th>描述</th>
-                                                    </tr>
-                                                </thead>
-                                                <tbody>
-                                                                                                        <tr>
-                                                        <td>email</td>
-                                                        <td>string</td>
-                                                        <td>是</td>
-                                                        <td>邮箱</td>
-                                                    </tr>
-                                                                                                        <tr>
-                                                        <td>id</td>
-                                                        <td>string</td>
-                                                        <td>是</td>
-                                                        <td>排除会员ID</td>
-                                                    </tr>
-                                                                                                    </tbody>
-                                            </table>
+                                                                                        无
                                                                                     </div>
                                     </div>
                                     <div class="panel panel-default">
@@ -3497,14 +3474,9 @@
                                                 </div>
                                                 </div>
                                                 <div class="panel-body">
-                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/validate/check_email_available" method="POST" name="form22" id="form22">
+                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user_order/protect" method="get" name="form22" id="form22">
                                                                                                                 <div class="form-group">
-                                                            <label class="control-label" for="email">email</label>
-                                                            <input type="string" class="form-control input-sm" id="email" required placeholder="邮箱" name="email">
-                                                        </div>
-                                                                                                                <div class="form-group">
-                                                            <label class="control-label" for="id">id</label>
-                                                            <input type="string" class="form-control input-sm" id="id" required placeholder="排除会员ID" name="id">
+                                                            无
                                                         </div>
                                                                                                                 <div class="form-group form-group-submit">
                                                             <button type="submit" class="btn btn-success send" rel="22">提交</button>
@@ -3527,7 +3499,37 @@
                                             <div class="panel panel-default">
                                                 <div class="panel-heading"><strong>返回参数</strong></div>
                                                 <div class="panel-body">
-                                                                                                        无
+                                                                                                        <table class="table table-hover">
+                                                        <thead>
+                                                            <tr>
+                                                                <th>名称</th>
+                                                                <th>类型</th>
+                                                                <th>描述</th>
+                                                            </tr>
+                                                        </thead>
+                                                        <tbody>
+                                                                                                                        <tr>
+                                                                <td>id</td>
+                                                                <td>string</td>
+                                                                <td>id</td>
+                                                            </tr>
+                                                                                                                        <tr>
+                                                                <td>name</td>
+                                                                <td>string</td>
+                                                                <td>名称</td>
+                                                            </tr>
+                                                                                                                        <tr>
+                                                                <td>max</td>
+                                                                <td>string</td>
+                                                                <td>最高保多少</td>
+                                                            </tr>
+                                                                                                                        <tr>
+                                                                <td>price</td>
+                                                                <td>string</td>
+                                                                <td>价格</td>
+                                                            </tr>
+                                                                                                                    </tbody>
+                                                    </table>
                                                                                                     </div>
                                             </div>
                                         </div>
@@ -3546,11 +3548,13 @@
                         </div>
                     </div>
                 </div>
+                                <h2>验证接口</h2>
+                <hr>
                                 <div class="panel panel-default">
                     <div class="panel-heading" id="heading-23">
                         <h4 class="panel-title">
                             <span class="label label-primary">POST</span>
-                            <a data-toggle="collapse" data-parent="#accordion23" href="#collapseOne23"> 检测用户名 <span class="text-muted">/api/validate/check_username_available</span></a>
+                            <a data-toggle="collapse" data-parent="#accordion23" href="#collapseOne23"> 检测邮箱 <span class="text-muted">/api/validate/check_email_available</span></a>
                         </h4>
                     </div>
                     <div id="collapseOne23" class="panel-collapse collapse">
@@ -3568,7 +3572,7 @@
 
                                 <div class="tab-pane active" id="info23">
                                     <div class="well">
-                                        检测用户名                                    </div>
+                                        检测邮箱                                    </div>
                                     <div class="panel panel-default">
                                         <div class="panel-heading"><strong>权限</strong></div>
                                         <div class="panel-body">
@@ -3606,10 +3610,10 @@
                                                 </thead>
                                                 <tbody>
                                                                                                         <tr>
-                                                        <td>username</td>
+                                                        <td>email</td>
                                                         <td>string</td>
                                                         <td>是</td>
-                                                        <td>用户名</td>
+                                                        <td>邮箱</td>
                                                     </tr>
                                                                                                         <tr>
                                                         <td>id</td>
@@ -3638,10 +3642,10 @@
                                                 </div>
                                                 </div>
                                                 <div class="panel-body">
-                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/validate/check_username_available" method="POST" name="form23" id="form23">
+                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/validate/check_email_available" method="POST" name="form23" id="form23">
                                                                                                                 <div class="form-group">
-                                                            <label class="control-label" for="username">username</label>
-                                                            <input type="string" class="form-control input-sm" id="username" required placeholder="用户名" name="username">
+                                                            <label class="control-label" for="email">email</label>
+                                                            <input type="string" class="form-control input-sm" id="email" required placeholder="邮箱" name="email">
                                                         </div>
                                                                                                                 <div class="form-group">
                                                             <label class="control-label" for="id">id</label>
@@ -3691,7 +3695,7 @@
                     <div class="panel-heading" id="heading-24">
                         <h4 class="panel-title">
                             <span class="label label-primary">POST</span>
-                            <a data-toggle="collapse" data-parent="#accordion24" href="#collapseOne24"> 检测昵称 <span class="text-muted">/api/validate/check_nickname_available</span></a>
+                            <a data-toggle="collapse" data-parent="#accordion24" href="#collapseOne24"> 检测用户名 <span class="text-muted">/api/validate/check_username_available</span></a>
                         </h4>
                     </div>
                     <div id="collapseOne24" class="panel-collapse collapse">
@@ -3709,7 +3713,7 @@
 
                                 <div class="tab-pane active" id="info24">
                                     <div class="well">
-                                        检测昵称                                    </div>
+                                        检测用户名                                    </div>
                                     <div class="panel panel-default">
                                         <div class="panel-heading"><strong>权限</strong></div>
                                         <div class="panel-body">
@@ -3747,10 +3751,10 @@
                                                 </thead>
                                                 <tbody>
                                                                                                         <tr>
-                                                        <td>nickname</td>
+                                                        <td>username</td>
                                                         <td>string</td>
                                                         <td>是</td>
-                                                        <td>昵称</td>
+                                                        <td>用户名</td>
                                                     </tr>
                                                                                                         <tr>
                                                         <td>id</td>
@@ -3779,10 +3783,10 @@
                                                 </div>
                                                 </div>
                                                 <div class="panel-body">
-                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/validate/check_nickname_available" method="POST" name="form24" id="form24">
+                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/validate/check_username_available" method="POST" name="form24" id="form24">
                                                                                                                 <div class="form-group">
-                                                            <label class="control-label" for="nickname">nickname</label>
-                                                            <input type="string" class="form-control input-sm" id="nickname" required placeholder="昵称" name="nickname">
+                                                            <label class="control-label" for="username">username</label>
+                                                            <input type="string" class="form-control input-sm" id="username" required placeholder="用户名" name="username">
                                                         </div>
                                                                                                                 <div class="form-group">
                                                             <label class="control-label" for="id">id</label>
@@ -3832,7 +3836,7 @@
                     <div class="panel-heading" id="heading-25">
                         <h4 class="panel-title">
                             <span class="label label-primary">POST</span>
-                            <a data-toggle="collapse" data-parent="#accordion25" href="#collapseOne25"> 检测手机 <span class="text-muted">/api/validate/check_mobile_available</span></a>
+                            <a data-toggle="collapse" data-parent="#accordion25" href="#collapseOne25"> 检测昵称 <span class="text-muted">/api/validate/check_nickname_available</span></a>
                         </h4>
                     </div>
                     <div id="collapseOne25" class="panel-collapse collapse">
@@ -3850,7 +3854,7 @@
 
                                 <div class="tab-pane active" id="info25">
                                     <div class="well">
-                                        检测手机                                    </div>
+                                        检测昵称                                    </div>
                                     <div class="panel panel-default">
                                         <div class="panel-heading"><strong>权限</strong></div>
                                         <div class="panel-body">
@@ -3888,10 +3892,10 @@
                                                 </thead>
                                                 <tbody>
                                                                                                         <tr>
-                                                        <td>mobile</td>
+                                                        <td>nickname</td>
                                                         <td>string</td>
                                                         <td>是</td>
-                                                        <td>手机号</td>
+                                                        <td>昵称</td>
                                                     </tr>
                                                                                                         <tr>
                                                         <td>id</td>
@@ -3920,10 +3924,10 @@
                                                 </div>
                                                 </div>
                                                 <div class="panel-body">
-                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/validate/check_mobile_available" method="POST" name="form25" id="form25">
+                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/validate/check_nickname_available" method="POST" name="form25" id="form25">
                                                                                                                 <div class="form-group">
-                                                            <label class="control-label" for="mobile">mobile</label>
-                                                            <input type="string" class="form-control input-sm" id="mobile" required placeholder="手机号" name="mobile">
+                                                            <label class="control-label" for="nickname">nickname</label>
+                                                            <input type="string" class="form-control input-sm" id="nickname" required placeholder="昵称" name="nickname">
                                                         </div>
                                                                                                                 <div class="form-group">
                                                             <label class="control-label" for="id">id</label>
@@ -3973,7 +3977,7 @@
                     <div class="panel-heading" id="heading-26">
                         <h4 class="panel-title">
                             <span class="label label-primary">POST</span>
-                            <a data-toggle="collapse" data-parent="#accordion26" href="#collapseOne26"> 检测手机 <span class="text-muted">/api/validate/check_mobile_exist</span></a>
+                            <a data-toggle="collapse" data-parent="#accordion26" href="#collapseOne26"> 检测手机 <span class="text-muted">/api/validate/check_mobile_available</span></a>
                         </h4>
                     </div>
                     <div id="collapseOne26" class="panel-collapse collapse">
@@ -4034,6 +4038,12 @@
                                                         <td>是</td>
                                                         <td>手机号</td>
                                                     </tr>
+                                                                                                        <tr>
+                                                        <td>id</td>
+                                                        <td>string</td>
+                                                        <td>是</td>
+                                                        <td>排除会员ID</td>
+                                                    </tr>
                                                                                                     </tbody>
                                             </table>
                                                                                     </div>
@@ -4055,11 +4065,15 @@
                                                 </div>
                                                 </div>
                                                 <div class="panel-body">
-                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/validate/check_mobile_exist" method="POST" name="form26" id="form26">
+                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/validate/check_mobile_available" method="POST" name="form26" id="form26">
                                                                                                                 <div class="form-group">
                                                             <label class="control-label" for="mobile">mobile</label>
                                                             <input type="string" class="form-control input-sm" id="mobile" required placeholder="手机号" name="mobile">
                                                         </div>
+                                                                                                                <div class="form-group">
+                                                            <label class="control-label" for="id">id</label>
+                                                            <input type="string" class="form-control input-sm" id="id" required placeholder="排除会员ID" name="id">
+                                                        </div>
                                                                                                                 <div class="form-group form-group-submit">
                                                             <button type="submit" class="btn btn-success send" rel="26">提交</button>
                                                             <button type="reset" class="btn btn-info" rel="26">重置</button>
@@ -4104,7 +4118,7 @@
                     <div class="panel-heading" id="heading-27">
                         <h4 class="panel-title">
                             <span class="label label-primary">POST</span>
-                            <a data-toggle="collapse" data-parent="#accordion27" href="#collapseOne27"> 检测邮箱 <span class="text-muted">/api/validate/check_email_exist</span></a>
+                            <a data-toggle="collapse" data-parent="#accordion27" href="#collapseOne27"> 检测手机 <span class="text-muted">/api/validate/check_mobile_exist</span></a>
                         </h4>
                     </div>
                     <div id="collapseOne27" class="panel-collapse collapse">
@@ -4122,7 +4136,7 @@
 
                                 <div class="tab-pane active" id="info27">
                                     <div class="well">
-                                        检测邮箱                                    </div>
+                                        检测手机                                    </div>
                                     <div class="panel panel-default">
                                         <div class="panel-heading"><strong>权限</strong></div>
                                         <div class="panel-body">
@@ -4163,7 +4177,7 @@
                                                         <td>mobile</td>
                                                         <td>string</td>
                                                         <td>是</td>
-                                                        <td>邮箱</td>
+                                                        <td>手机号</td>
                                                     </tr>
                                                                                                     </tbody>
                                             </table>
@@ -4186,10 +4200,10 @@
                                                 </div>
                                                 </div>
                                                 <div class="panel-body">
-                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/validate/check_email_exist" method="POST" name="form27" id="form27">
+                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/validate/check_mobile_exist" method="POST" name="form27" id="form27">
                                                                                                                 <div class="form-group">
                                                             <label class="control-label" for="mobile">mobile</label>
-                                                            <input type="string" class="form-control input-sm" id="mobile" required placeholder="邮箱" name="mobile">
+                                                            <input type="string" class="form-control input-sm" id="mobile" required placeholder="手机号" name="mobile">
                                                         </div>
                                                                                                                 <div class="form-group form-group-submit">
                                                             <button type="submit" class="btn btn-success send" rel="27">提交</button>
@@ -4235,7 +4249,7 @@
                     <div class="panel-heading" id="heading-28">
                         <h4 class="panel-title">
                             <span class="label label-primary">POST</span>
-                            <a data-toggle="collapse" data-parent="#accordion28" href="#collapseOne28"> 检测手机验证码 <span class="text-muted">/api/validate/check_sms_correct</span></a>
+                            <a data-toggle="collapse" data-parent="#accordion28" href="#collapseOne28"> 检测邮箱 <span class="text-muted">/api/validate/check_email_exist</span></a>
                         </h4>
                     </div>
                     <div id="collapseOne28" class="panel-collapse collapse">
@@ -4253,6 +4267,137 @@
 
                                 <div class="tab-pane active" id="info28">
                                     <div class="well">
+                                        检测邮箱                                    </div>
+                                    <div class="panel panel-default">
+                                        <div class="panel-heading"><strong>权限</strong></div>
+                                        <div class="panel-body">
+                                            <table class="table table-hover">
+                                                <tbody>
+                                                <tr>
+                                                    <td>登录</td>
+                                                    <td>否</td>
+                                                </tr>
+                                                <tr>
+                                                    <td>鉴权</td>
+                                                    <td>否</td>
+                                                </tr>
+                                                </tbody>
+                                            </table>
+                                        </div>
+                                    </div>
+                                    <div class="panel panel-default">
+                                        <div class="panel-heading"><strong>Headers</strong></div>
+                                        <div class="panel-body">
+                                                                                        无
+                                                                                    </div>
+                                    </div>
+                                    <div class="panel panel-default">
+                                        <div class="panel-heading"><strong>参数</strong></div>
+                                        <div class="panel-body">
+                                                                                        <table class="table table-hover">
+                                                <thead>
+                                                    <tr>
+                                                        <th>名称</th>
+                                                        <th>类型</th>
+                                                        <th>必选</th>
+                                                        <th>描述</th>
+                                                    </tr>
+                                                </thead>
+                                                <tbody>
+                                                                                                        <tr>
+                                                        <td>mobile</td>
+                                                        <td>string</td>
+                                                        <td>是</td>
+                                                        <td>邮箱</td>
+                                                    </tr>
+                                                                                                    </tbody>
+                                            </table>
+                                                                                    </div>
+                                    </div>
+                                    <div class="panel panel-default">
+                                        <div class="panel-heading"><strong>正文</strong></div>
+                                        <div class="panel-body">
+                                            无                                        </div>
+                                    </div>
+                                </div><!-- #info -->
+
+                                <div class="tab-pane" id="sandbox28">
+                                    <div class="row">
+                                        <div class="col-md-12">
+                                                                                        <div class="panel panel-default">
+                                                <div class="panel-heading"><strong>参数</strong>
+                                                <div class="pull-right">
+                                                    <a href="javascript:" class="btn btn-xs btn-info btn-append">追加</a>
+                                                </div>
+                                                </div>
+                                                <div class="panel-body">
+                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/validate/check_email_exist" method="POST" name="form28" id="form28">
+                                                                                                                <div class="form-group">
+                                                            <label class="control-label" for="mobile">mobile</label>
+                                                            <input type="string" class="form-control input-sm" id="mobile" required placeholder="邮箱" name="mobile">
+                                                        </div>
+                                                                                                                <div class="form-group form-group-submit">
+                                                            <button type="submit" class="btn btn-success send" rel="28">提交</button>
+                                                            <button type="reset" class="btn btn-info" rel="28">重置</button>
+                                                        </div>
+                                                    </form>
+                                                </div>
+                                            </div>
+                                            <div class="panel panel-default">
+                                                <div class="panel-heading"><strong>响应输出</strong></div>
+                                                <div class="panel-body">
+                                                    <div class="row">
+                                                        <div class="col-md-12" style="overflow-x:auto">
+                                                            <pre id="response_headers28"></pre>
+                                                            <pre id="response28"></pre>
+                                                        </div>
+                                                    </div>
+                                                </div>
+                                            </div>
+                                            <div class="panel panel-default">
+                                                <div class="panel-heading"><strong>返回参数</strong></div>
+                                                <div class="panel-body">
+                                                                                                        无
+                                                                                                    </div>
+                                            </div>
+                                        </div>
+                                    </div>
+                                </div><!-- #sandbox -->
+
+                                <div class="tab-pane" id="sample28">
+                                    <div class="row">
+                                        <div class="col-md-12">
+                                            <pre id="sample_response28">无</pre>
+                                        </div>
+                                    </div>
+                                </div><!-- #sample -->
+
+                            </div><!-- .tab-content -->
+                        </div>
+                    </div>
+                </div>
+                                <div class="panel panel-default">
+                    <div class="panel-heading" id="heading-29">
+                        <h4 class="panel-title">
+                            <span class="label label-primary">POST</span>
+                            <a data-toggle="collapse" data-parent="#accordion29" href="#collapseOne29"> 检测手机验证码 <span class="text-muted">/api/validate/check_sms_correct</span></a>
+                        </h4>
+                    </div>
+                    <div id="collapseOne29" class="panel-collapse collapse">
+                        <div class="panel-body">
+
+                            <!-- Nav tabs -->
+                            <ul class="nav nav-tabs" id="doctab29">
+                                <li class="active"><a href="#info29" data-toggle="tab">基础信息</a></li>
+                                <li><a href="#sandbox29" data-toggle="tab">在线测试</a></li>
+                                <li><a href="#sample29" data-toggle="tab">返回示例</a></li>
+                            </ul>
+
+                            <!-- Tab panes -->
+                            <div class="tab-content">
+
+                                <div class="tab-pane active" id="info29">
+                                    <div class="well">
                                         检测手机验证码                                    </div>
                                     <div class="panel panel-default">
                                         <div class="panel-heading"><strong>权限</strong></div>
@@ -4319,7 +4464,7 @@
                                     </div>
                                 </div><!-- #info -->
 
-                                <div class="tab-pane" id="sandbox28">
+                                <div class="tab-pane" id="sandbox29">
                                     <div class="row">
                                         <div class="col-md-12">
                                                                                         <div class="panel panel-default">
@@ -4329,7 +4474,7 @@
                                                 </div>
                                                 </div>
                                                 <div class="panel-body">
-                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/validate/check_sms_correct" method="POST" name="form28" id="form28">
+                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/validate/check_sms_correct" method="POST" name="form29" id="form29">
                                                                                                                 <div class="form-group">
                                                             <label class="control-label" for="mobile">mobile</label>
                                                             <input type="string" class="form-control input-sm" id="mobile" required placeholder="手机号" name="mobile">
@@ -4343,8 +4488,8 @@
                                                             <input type="string" class="form-control input-sm" id="event" required placeholder="事件" name="event">
                                                         </div>
                                                                                                                 <div class="form-group form-group-submit">
-                                                            <button type="submit" class="btn btn-success send" rel="28">提交</button>
-                                                            <button type="reset" class="btn btn-info" rel="28">重置</button>
+                                                            <button type="submit" class="btn btn-success send" rel="29">提交</button>
+                                                            <button type="reset" class="btn btn-info" rel="29">重置</button>
                                                         </div>
                                                     </form>
                                                 </div>
@@ -4354,8 +4499,8 @@
                                                 <div class="panel-body">
                                                     <div class="row">
                                                         <div class="col-md-12" style="overflow-x:auto">
-                                                            <pre id="response_headers28"></pre>
-                                                            <pre id="response28"></pre>
+                                                            <pre id="response_headers29"></pre>
+                                                            <pre id="response29"></pre>
                                                         </div>
                                                     </div>
                                                 </div>
@@ -4370,10 +4515,10 @@
                                     </div>
                                 </div><!-- #sandbox -->
 
-                                <div class="tab-pane" id="sample28">
+                                <div class="tab-pane" id="sample29">
                                     <div class="row">
                                         <div class="col-md-12">
-                                            <pre id="sample_response28">无</pre>
+                                            <pre id="sample_response29">无</pre>
                                         </div>
                                     </div>
                                 </div><!-- #sample -->
@@ -4383,26 +4528,26 @@
                     </div>
                 </div>
                                 <div class="panel panel-default">
-                    <div class="panel-heading" id="heading-29">
+                    <div class="panel-heading" id="heading-30">
                         <h4 class="panel-title">
                             <span class="label label-primary">POST</span>
-                            <a data-toggle="collapse" data-parent="#accordion29" href="#collapseOne29"> 检测邮箱验证码 <span class="text-muted">/api/validate/check_ems_correct</span></a>
+                            <a data-toggle="collapse" data-parent="#accordion30" href="#collapseOne30"> 检测邮箱验证码 <span class="text-muted">/api/validate/check_ems_correct</span></a>
                         </h4>
                     </div>
-                    <div id="collapseOne29" class="panel-collapse collapse">
+                    <div id="collapseOne30" class="panel-collapse collapse">
                         <div class="panel-body">
 
                             <!-- Nav tabs -->
-                            <ul class="nav nav-tabs" id="doctab29">
-                                <li class="active"><a href="#info29" data-toggle="tab">基础信息</a></li>
-                                <li><a href="#sandbox29" data-toggle="tab">在线测试</a></li>
-                                <li><a href="#sample29" data-toggle="tab">返回示例</a></li>
+                            <ul class="nav nav-tabs" id="doctab30">
+                                <li class="active"><a href="#info30" data-toggle="tab">基础信息</a></li>
+                                <li><a href="#sandbox30" data-toggle="tab">在线测试</a></li>
+                                <li><a href="#sample30" data-toggle="tab">返回示例</a></li>
                             </ul>
 
                             <!-- Tab panes -->
                             <div class="tab-content">
 
-                                <div class="tab-pane active" id="info29">
+                                <div class="tab-pane active" id="info30">
                                     <div class="well">
                                         检测邮箱验证码                                    </div>
                                     <div class="panel panel-default">
@@ -4470,7 +4615,7 @@
                                     </div>
                                 </div><!-- #info -->
 
-                                <div class="tab-pane" id="sandbox29">
+                                <div class="tab-pane" id="sandbox30">
                                     <div class="row">
                                         <div class="col-md-12">
                                                                                         <div class="panel panel-default">
@@ -4480,7 +4625,7 @@
                                                 </div>
                                                 </div>
                                                 <div class="panel-body">
-                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/validate/check_ems_correct" method="POST" name="form29" id="form29">
+                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/validate/check_ems_correct" method="POST" name="form30" id="form30">
                                                                                                                 <div class="form-group">
                                                             <label class="control-label" for="email">email</label>
                                                             <input type="string" class="form-control input-sm" id="email" required placeholder="邮箱" name="email">
@@ -4494,8 +4639,8 @@
                                                             <input type="string" class="form-control input-sm" id="event" required placeholder="事件" name="event">
                                                         </div>
                                                                                                                 <div class="form-group form-group-submit">
-                                                            <button type="submit" class="btn btn-success send" rel="29">提交</button>
-                                                            <button type="reset" class="btn btn-info" rel="29">重置</button>
+                                                            <button type="submit" class="btn btn-success send" rel="30">提交</button>
+                                                            <button type="reset" class="btn btn-info" rel="30">重置</button>
                                                         </div>
                                                     </form>
                                                 </div>
@@ -4505,8 +4650,8 @@
                                                 <div class="panel-body">
                                                     <div class="row">
                                                         <div class="col-md-12" style="overflow-x:auto">
-                                                            <pre id="response_headers29"></pre>
-                                                            <pre id="response29"></pre>
+                                                            <pre id="response_headers30"></pre>
+                                                            <pre id="response30"></pre>
                                                         </div>
                                                     </div>
                                                 </div>
@@ -4521,10 +4666,10 @@
                                     </div>
                                 </div><!-- #sandbox -->
 
-                                <div class="tab-pane" id="sample29">
+                                <div class="tab-pane" id="sample30">
                                     <div class="row">
                                         <div class="col-md-12">
-                                            <pre id="sample_response29">无</pre>
+                                            <pre id="sample_response30">无</pre>
                                         </div>
                                     </div>
                                 </div><!-- #sample -->
@@ -4542,7 +4687,7 @@
 
                 </div>
                 <div class="col-md-6" align="right">
-                    Generated on 2021-09-22 17:55:06 <a href="./" target="_blank">宠365</a>
+                    Generated on 2021-09-23 09:37:25 <a href="./" target="_blank">宠365</a>
                 </div>
             </div>
 

Some files were not shown because too many files changed in this diff