xieruidong 2 years ago
parent
commit
00cfe5ee28
2 changed files with 0 additions and 31 deletions
  1. 0 30
      app/api/controller/User.php
  2. 0 1
      config/apidoc.php

+ 0 - 30
app/api/controller/User.php

@@ -1,30 +0,0 @@
-<?php
-/*
- * +----------------------------------------------------------------------+
- * |                          xiegeng admin system                              |
- * +----------------------------------------------------------------------+
- * |    Administrator-11:41-2022-PhpStorm
- * +----------------------------------------------------------------------+
- * | Author: xiegeng <957723538@qq.com>                                   |
- * | FILENAME: Index.php                                               |
- * +----------------------------------------------------------------------+
- */
-namespace app\api\controller;
-use app\data\controller\api\Auth;
-use hg\apidoc\annotation as A;
-use think\admin\Controller;
-
-/**
- * @A\Title("用户模块")
- */
-class User extends Controller {
-    /**
-     * @A\Title("用户信息")
-     * @A\Returned("id",type="int",desc="用户ID")
-     */
-    public function info(){
-        $this->success('',[
-            'iud'=>11111
-        ]);
-    }
-}

+ 0 - 1
config/apidoc.php

@@ -15,7 +15,6 @@ return [
             'path'=>'app\api\controller',
             'folder'=>'api',
             'controllers'=>[
-                \app\api\controller\User::class,
             ]
         ]
     ],