refactor: 添加操作器注释
This commit is contained in:
@@ -8,6 +8,9 @@ use app\admin\validate\v1\ArticleValidate;
|
||||
use PhpOffice\PhpSpreadsheet\IOFactory;
|
||||
use PhpOffice\PhpSpreadsheet\Spreadsheet;
|
||||
|
||||
/**
|
||||
* 文章管理控制器
|
||||
*/
|
||||
class Article
|
||||
{
|
||||
// 文章列表
|
||||
|
||||
@@ -6,6 +6,9 @@ namespace app\admin\controller\v1;
|
||||
use app\admin\model\v1\ArticleCategoryModel;
|
||||
use app\admin\validate\v1\ArticleCategoryValidate;
|
||||
|
||||
/**
|
||||
* 文章分类管理控制器
|
||||
*/
|
||||
class ArticleCategory
|
||||
{
|
||||
// 分类列表
|
||||
|
||||
@@ -7,6 +7,9 @@ use app\admin\model\v1\ArticleLeaveMessageModel;
|
||||
use PhpOffice\PhpSpreadsheet\IOFactory;
|
||||
use PhpOffice\PhpSpreadsheet\Spreadsheet;
|
||||
|
||||
/**
|
||||
* 文章留言(评论)管理控制器
|
||||
*/
|
||||
class ArticleLeaveMessage
|
||||
{
|
||||
// 文章留言分页列表
|
||||
|
||||
@@ -5,6 +5,9 @@ namespace app\admin\controller\v1;
|
||||
|
||||
use app\admin\model\v1\ArticleModel;
|
||||
|
||||
/**
|
||||
* 文章回收站管理控制器
|
||||
*/
|
||||
class ArticleTrash
|
||||
{
|
||||
// 文章回收站分页列表
|
||||
|
||||
@@ -6,6 +6,9 @@ namespace app\admin\controller\v1;
|
||||
use think\facade\Cache;
|
||||
use think\facade\Config;
|
||||
|
||||
/**
|
||||
* 验证码控制器
|
||||
*/
|
||||
class Captcha
|
||||
{
|
||||
/**
|
||||
|
||||
@@ -7,6 +7,9 @@ use app\admin\model\v1\ImageModel;
|
||||
use Intervention\Image\ImageManager;
|
||||
use think\facade\Filesystem;
|
||||
|
||||
/**
|
||||
* 图片管理控制器
|
||||
*/
|
||||
class Images
|
||||
{
|
||||
// 上传
|
||||
|
||||
@@ -7,6 +7,9 @@ use app\admin\model\v1\LanguageModel;
|
||||
use think\facade\Cookie;
|
||||
use think\facade\Log;
|
||||
|
||||
/**
|
||||
* 语言管理控制器
|
||||
*/
|
||||
class Language
|
||||
{
|
||||
// 语言列表
|
||||
|
||||
@@ -10,6 +10,9 @@ use app\admin\validate\v1\LoginValidate;
|
||||
use thans\jwt\facade\JWTAuth;
|
||||
use think\facade\Cache;
|
||||
|
||||
/**
|
||||
* 登录控制器
|
||||
*/
|
||||
class Login
|
||||
{
|
||||
/**
|
||||
|
||||
@@ -12,6 +12,9 @@ use app\admin\validate\v1\ProductValidate;
|
||||
use PhpOffice\PhpSpreadsheet\IOFactory;
|
||||
use PhpOffice\PhpSpreadsheet\Spreadsheet;
|
||||
|
||||
/**
|
||||
* 产品管理控制器
|
||||
*/
|
||||
class Product
|
||||
{
|
||||
// 分页列表
|
||||
|
||||
@@ -7,6 +7,9 @@ use app\admin\model\v1\ProductAttrModel;
|
||||
use app\admin\model\v1\ProductAttrPropModel;
|
||||
use app\admin\validate\v1\ProductAttrValidate;
|
||||
|
||||
/**
|
||||
* 产品属性管理控制器
|
||||
*/
|
||||
class ProductAttr
|
||||
{
|
||||
/**
|
||||
|
||||
@@ -6,6 +6,9 @@ namespace app\admin\controller\v1;
|
||||
use app\admin\model\v1\ProductCategoryModel;
|
||||
use app\admin\validate\v1\ProductCategoryValidate;
|
||||
|
||||
/**
|
||||
* 产品分类管理控制器
|
||||
*/
|
||||
class ProductCategory
|
||||
{
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user