|
@@ -13,6 +13,7 @@ use think\admin\Controller;
|
|
|
use hg\apidoc\annotation\Title;
|
|
|
use hg\apidoc\annotation\Method;
|
|
|
use hg\apidoc\annotation\Param;
|
|
|
+use hg\apidoc\annotation\Header;
|
|
|
use hg\apidoc\annotation\Returned;
|
|
|
|
|
|
/**
|
|
@@ -50,6 +51,7 @@ class Center extends Auth
|
|
|
/**
|
|
|
* @Title("获取用户资料")
|
|
|
* @Method("post")
|
|
|
+ * @Header("api-name",desc="访问类型")
|
|
|
* @Returned("token.token",desc="token")
|
|
|
*/
|
|
|
public function get()
|