refactor: 添加操作器注释

This commit is contained in:
2025-02-13 15:47:23 +08:00
parent 8582d93678
commit d39df73150
11 changed files with 33 additions and 0 deletions

View File

@@ -8,6 +8,9 @@ use app\admin\validate\v1\ArticleValidate;
use PhpOffice\PhpSpreadsheet\IOFactory; use PhpOffice\PhpSpreadsheet\IOFactory;
use PhpOffice\PhpSpreadsheet\Spreadsheet; use PhpOffice\PhpSpreadsheet\Spreadsheet;
/**
* 文章管理控制器
*/
class Article class Article
{ {
// 文章列表 // 文章列表

View File

@@ -6,6 +6,9 @@ namespace app\admin\controller\v1;
use app\admin\model\v1\ArticleCategoryModel; use app\admin\model\v1\ArticleCategoryModel;
use app\admin\validate\v1\ArticleCategoryValidate; use app\admin\validate\v1\ArticleCategoryValidate;
/**
* 文章分类管理控制器
*/
class ArticleCategory class ArticleCategory
{ {
// 分类列表 // 分类列表

View File

@@ -7,6 +7,9 @@ use app\admin\model\v1\ArticleLeaveMessageModel;
use PhpOffice\PhpSpreadsheet\IOFactory; use PhpOffice\PhpSpreadsheet\IOFactory;
use PhpOffice\PhpSpreadsheet\Spreadsheet; use PhpOffice\PhpSpreadsheet\Spreadsheet;
/**
* 文章留言(评论)管理控制器
*/
class ArticleLeaveMessage class ArticleLeaveMessage
{ {
// 文章留言分页列表 // 文章留言分页列表

View File

@@ -5,6 +5,9 @@ namespace app\admin\controller\v1;
use app\admin\model\v1\ArticleModel; use app\admin\model\v1\ArticleModel;
/**
* 文章回收站管理控制器
*/
class ArticleTrash class ArticleTrash
{ {
// 文章回收站分页列表 // 文章回收站分页列表

View File

@@ -6,6 +6,9 @@ namespace app\admin\controller\v1;
use think\facade\Cache; use think\facade\Cache;
use think\facade\Config; use think\facade\Config;
/**
* 验证码控制器
*/
class Captcha class Captcha
{ {
/** /**

View File

@@ -7,6 +7,9 @@ use app\admin\model\v1\ImageModel;
use Intervention\Image\ImageManager; use Intervention\Image\ImageManager;
use think\facade\Filesystem; use think\facade\Filesystem;
/**
* 图片管理控制器
*/
class Images class Images
{ {
// 上传 // 上传

View File

@@ -7,6 +7,9 @@ use app\admin\model\v1\LanguageModel;
use think\facade\Cookie; use think\facade\Cookie;
use think\facade\Log; use think\facade\Log;
/**
* 语言管理控制器
*/
class Language class Language
{ {
// 语言列表 // 语言列表

View File

@@ -10,6 +10,9 @@ use app\admin\validate\v1\LoginValidate;
use thans\jwt\facade\JWTAuth; use thans\jwt\facade\JWTAuth;
use think\facade\Cache; use think\facade\Cache;
/**
* 登录控制器
*/
class Login class Login
{ {
/** /**

View File

@@ -12,6 +12,9 @@ use app\admin\validate\v1\ProductValidate;
use PhpOffice\PhpSpreadsheet\IOFactory; use PhpOffice\PhpSpreadsheet\IOFactory;
use PhpOffice\PhpSpreadsheet\Spreadsheet; use PhpOffice\PhpSpreadsheet\Spreadsheet;
/**
* 产品管理控制器
*/
class Product class Product
{ {
// 分页列表 // 分页列表

View File

@@ -7,6 +7,9 @@ use app\admin\model\v1\ProductAttrModel;
use app\admin\model\v1\ProductAttrPropModel; use app\admin\model\v1\ProductAttrPropModel;
use app\admin\validate\v1\ProductAttrValidate; use app\admin\validate\v1\ProductAttrValidate;
/**
* 产品属性管理控制器
*/
class ProductAttr class ProductAttr
{ {
/** /**

View File

@@ -6,6 +6,9 @@ namespace app\admin\controller\v1;
use app\admin\model\v1\ProductCategoryModel; use app\admin\model\v1\ProductCategoryModel;
use app\admin\validate\v1\ProductCategoryValidate; use app\admin\validate\v1\ProductCategoryValidate;
/**
* 产品分类管理控制器
*/
class ProductCategory class ProductCategory
{ {
/** /**