|
@@ -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
|
|
|
- ]);
|
|
|
- }
|
|
|
-}
|