xxxrrrdddd 3 gadi atpakaļ
vecāks
revīzija
ce58a6cf2c

+ 1 - 1
application/admin/command/Api/template/index.html

@@ -638,7 +638,7 @@
                 if(hash){
                     hash=hash.replace('#','')
                     let api=$('.api-list[md5='+hash+']')
-                    api.click()
+                    api.trigger('click')
                     api.parent().prev().click()
                 }
             });

+ 0 - 3
application/api/controller/User.php

@@ -422,9 +422,6 @@ class User extends Api
      * @ApiParams (name=level,description=级别)
      */
     public function rights(){
-        $res=tm()->getLocation('39.984154,116.307490');
-        dump($res);
-        exit;
         $data=$this->_validate([
             'level'=>['require']
         ]);

+ 2 - 2
public/api.html

@@ -17053,7 +17053,7 @@
 
                 </div>
                 <div class="col-md-6" align="right">
-                    Generated on 2021-10-25 11:00:31 <a href="./" target="_blank">宠365</a>
+                    Generated on 2021-10-25 11:15:42 <a href="./" target="_blank">宠365</a>
                 </div>
             </div>
 
@@ -17297,7 +17297,7 @@
                 if(hash){
                     hash=hash.replace('#','')
                     let api=$('.api-list[md5='+hash+']')
-                    api.click()
+                    api.trigger('click')
                     api.parent().prev().click()
                 }
             });