From 8b0c668ee0fce3751cc6d3e2ef4cd72148f15ec7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=86=89=E6=8C=BD=E6=B8=85=E9=A3=8E?= <1550969027@qq.com> Date: Fri, 10 Mar 2023 13:44:21 +0800 Subject: [PATCH] =?UTF-8?q?[fix]=20=E4=B8=8D=E7=94=A8orm=E9=AA=8C=E8=AF=81?= =?UTF-8?q?=E6=96=B9=E5=BC=8F=EF=BC=8C=E9=AA=8C=E8=AF=81=E4=B8=8D=E4=BA=86?= =?UTF-8?q?=E5=94=AF=E4=B8=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/admin/controller/DownloadController.php | 2 +- app/admin/controller/FileController.php | 16 ++++++++-------- app/admin/controller/UploadController.php | 4 ++-- .../controller/channel/AppSettingController.php | 4 ++-- .../channel/OfficialAccountMenuController.php | 6 +++--- .../channel/OfficialAccountReplyController.php | 16 ++++++++-------- .../controller/channel/OpenSettingController.php | 4 ++-- .../channel/WebPageSettingController.php | 4 ++-- .../controller/crontab/CrontabController.php | 14 +++++++------- app/admin/controller/dept/DeptController.php | 14 +++++++------- app/admin/controller/dept/JobsController.php | 12 ++++++------ app/admin/controller/notice/NoticeController.php | 6 +++--- .../controller/notice/SmsConfigController.php | 6 +++--- .../controller/setting/HotSearchController.php | 4 ++-- .../controller/setting/StorageController.php | 8 ++++---- .../setting/dict/DictDataController.php | 10 +++++----- .../setting/dict/DictTypeController.php | 12 ++++++------ .../setting/system/CacheController.php | 2 +- .../setting/system/SystemController.php | 2 +- .../controller/setting/user/UserController.php | 8 ++++---- .../setting/web/WebSettingController.php | 8 ++++---- app/admin/controller/user/UserController.php | 6 +++--- .../lists/channel/OfficialAccountReplyLists.php | 6 +++--- app/admin/lists/crontab/CrontabLists.php | 4 ++-- app/admin/lists/dept/JobsLists.php | 8 ++++---- app/admin/lists/file/FileCateLists.php | 6 +++--- app/admin/lists/file/FileLists.php | 6 +++--- app/admin/lists/setting/dict/DictDataLists.php | 6 +++--- app/admin/lists/setting/dict/DictTypeLists.php | 6 +++--- app/admin/validate/FileValidate.php | 12 ++++++------ app/admin/validate/crontab/CrontabValidate.php | 14 +++++++------- app/admin/validate/dept/DeptValidate.php | 14 +++++++------- app/admin/validate/dept/JobsValidate.php | 10 +++++----- app/admin/validate/dict/DictDataValidate.php | 10 +++++----- app/admin/validate/dict/DictTypeValidate.php | 10 +++++----- app/admin/validate/setting/StorageValidate.php | 6 +++--- app/admin/validate/user/UserValidate.php | 6 +++--- app/common/model/Crontab.php | 6 +++--- app/common/service/FileService.php | 2 +- app/common/service/UploadService.php | 4 ++-- 40 files changed, 152 insertions(+), 152 deletions(-) diff --git a/app/admin/controller/DownloadController.php b/app/admin/controller/DownloadController.php index d369f07..8d5cdc4 100644 --- a/app/admin/controller/DownloadController.php +++ b/app/admin/controller/DownloadController.php @@ -14,7 +14,7 @@ class DownloadController extends BaseAdminController /** * @notes 导出文件 - * @author 段誉 + * @author 乔峰 * @date 2022/11/24 16:10 */ public function export() diff --git a/app/admin/controller/FileController.php b/app/admin/controller/FileController.php index 0b9a3e4..9f3f4eb 100644 --- a/app/admin/controller/FileController.php +++ b/app/admin/controller/FileController.php @@ -14,7 +14,7 @@ class FileController extends BaseAdminController /** * @notes 文件列表 - * @author 段誉 + * @author 乔峰 * @date 2021/12/29 14:30 */ public function lists() @@ -25,7 +25,7 @@ class FileController extends BaseAdminController /** * @notes 文件移动成功 - * @author 段誉 + * @author 乔峰 * @date 2021/12/29 14:30 */ public function move() @@ -38,7 +38,7 @@ class FileController extends BaseAdminController /** * @notes 重命名文件 - * @author 段誉 + * @author 乔峰 * @date 2021/12/29 14:31 */ public function rename() @@ -51,7 +51,7 @@ class FileController extends BaseAdminController /** * @notes 删除文件 - * @author 段誉 + * @author 乔峰 * @date 2021/12/29 14:31 */ public function delete() @@ -64,7 +64,7 @@ class FileController extends BaseAdminController /** * @notes 分类列表 - * @author 段誉 + * @author 乔峰 * @date 2021/12/29 14:31 */ public function listCate() @@ -75,7 +75,7 @@ class FileController extends BaseAdminController /** * @notes 添加文件分类 - * @author 段誉 + * @author 乔峰 * @date 2021/12/29 14:31 */ public function addCate() @@ -88,7 +88,7 @@ class FileController extends BaseAdminController /** * @notes 编辑文件分类 - * @author 段誉 + * @author 乔峰 * @date 2021/12/29 14:31 */ public function editCate() @@ -101,7 +101,7 @@ class FileController extends BaseAdminController /** * @notes 删除文件分类 - * @author 段誉 + * @author 乔峰 * @date 2021/12/29 14:32 */ public function delCate() diff --git a/app/admin/controller/UploadController.php b/app/admin/controller/UploadController.php index 5a4c833..00d5341 100644 --- a/app/admin/controller/UploadController.php +++ b/app/admin/controller/UploadController.php @@ -12,7 +12,7 @@ class UploadController extends BaseAdminController { /** * @notes 上传图片 - * @author 段誉 + * @author 乔峰 * @date 2021/12/29 16:27 */ public function image() @@ -28,7 +28,7 @@ class UploadController extends BaseAdminController /** * @notes 上传视频 - * @author 段誉 + * @author 乔峰 * @date 2021/12/29 16:27 */ public function video() diff --git a/app/admin/controller/channel/AppSettingController.php b/app/admin/controller/channel/AppSettingController.php index 0cef20f..032038c 100755 --- a/app/admin/controller/channel/AppSettingController.php +++ b/app/admin/controller/channel/AppSettingController.php @@ -27,7 +27,7 @@ class AppSettingController extends BaseAdminController /** * @notes 获取App设置 - * @author 段誉 + * @author 乔峰 * @date 2022/3/29 10:24 */ public function getConfig() @@ -39,7 +39,7 @@ class AppSettingController extends BaseAdminController /** * @notes App设置 - * @author 段誉 + * @author 乔峰 * @date 2022/3/29 10:25 */ public function setConfig() diff --git a/app/admin/controller/channel/OfficialAccountMenuController.php b/app/admin/controller/channel/OfficialAccountMenuController.php index 0918aee..075c543 100755 --- a/app/admin/controller/channel/OfficialAccountMenuController.php +++ b/app/admin/controller/channel/OfficialAccountMenuController.php @@ -27,7 +27,7 @@ class OfficialAccountMenuController extends BaseAdminController /** * @notes 保存菜单 - * @author 段誉 + * @author 乔峰 * @date 2022/3/29 10:41 */ public function save() @@ -43,7 +43,7 @@ class OfficialAccountMenuController extends BaseAdminController /** * @notes 保存发布菜单 - * @author 段誉 + * @author 乔峰 * @date 2022/3/29 10:42 */ public function saveAndPublish() @@ -60,7 +60,7 @@ class OfficialAccountMenuController extends BaseAdminController /** * @notes 查看菜单详情 - * @author 段誉 + * @author 乔峰 * @date 2022/3/29 10:42 */ public function detail() diff --git a/app/admin/controller/channel/OfficialAccountReplyController.php b/app/admin/controller/channel/OfficialAccountReplyController.php index 7b8e6a1..a94775f 100755 --- a/app/admin/controller/channel/OfficialAccountReplyController.php +++ b/app/admin/controller/channel/OfficialAccountReplyController.php @@ -32,7 +32,7 @@ class OfficialAccountReplyController extends BaseAdminController /** * @notes 查看回复列表(关注/关键词/默认) - * @author 段誉 + * @author 乔峰 * @date 2022/3/29 10:58 */ public function lists() @@ -43,7 +43,7 @@ class OfficialAccountReplyController extends BaseAdminController /** * @notes 添加回复(关注/关键词/默认) - * @author 段誉 + * @author 乔峰 * @date 2022/3/29 10:58 */ public function add() @@ -59,7 +59,7 @@ class OfficialAccountReplyController extends BaseAdminController /** * @notes 查看回复详情 - * @author 段誉 + * @author 乔峰 * @date 2022/3/29 10:58 */ public function detail() @@ -72,7 +72,7 @@ class OfficialAccountReplyController extends BaseAdminController /** * @notes 编辑回复(关注/关键词/默认) - * @author 段誉 + * @author 乔峰 * @date 2022/3/29 10:58 */ public function edit() @@ -88,7 +88,7 @@ class OfficialAccountReplyController extends BaseAdminController /** * @notes 删除回复(关注/关键词/默认) - * @author 段誉 + * @author 乔峰 * @date 2022/3/29 10:59 */ public function delete() @@ -101,7 +101,7 @@ class OfficialAccountReplyController extends BaseAdminController /** * @notes 更新排序 - * @author 段誉 + * @author 乔峰 * @date 2022/3/29 10:59 */ public function sort() @@ -114,7 +114,7 @@ class OfficialAccountReplyController extends BaseAdminController /** * @notes 更新状态 - * @author 段誉 + * @author 乔峰 * @date 2022/3/29 10:59 */ public function status() @@ -128,7 +128,7 @@ class OfficialAccountReplyController extends BaseAdminController /** * @notes 微信公众号回调 * @throws \ReflectionException - * @author 段誉 + * @author 乔峰 * @date 2022/3/29 10:59 */ public function index() diff --git a/app/admin/controller/channel/OpenSettingController.php b/app/admin/controller/channel/OpenSettingController.php index 5e6cc89..e34af0d 100755 --- a/app/admin/controller/channel/OpenSettingController.php +++ b/app/admin/controller/channel/OpenSettingController.php @@ -28,7 +28,7 @@ class OpenSettingController extends BaseAdminController /** * @notes 获取微信开放平台设置 - * @author 段誉 + * @author 乔峰 * @date 2022/3/29 11:03 */ public function getConfig() @@ -40,7 +40,7 @@ class OpenSettingController extends BaseAdminController /** * @notes 微信开放平台设置 - * @author 段誉 + * @author 乔峰 * @date 2022/3/29 11:03 */ public function setConfig() diff --git a/app/admin/controller/channel/WebPageSettingController.php b/app/admin/controller/channel/WebPageSettingController.php index bc716d8..b4f7162 100755 --- a/app/admin/controller/channel/WebPageSettingController.php +++ b/app/admin/controller/channel/WebPageSettingController.php @@ -28,7 +28,7 @@ class WebPageSettingController extends BaseAdminController /** * @notes 获取H5设置 - * @author 段誉 + * @author 乔峰 * @date 2022/3/29 10:36 */ public function getConfig() @@ -40,7 +40,7 @@ class WebPageSettingController extends BaseAdminController /** * @notes H5设置 - * @author 段誉 + * @author 乔峰 * @date 2022/3/29 10:36 */ public function setConfig() diff --git a/app/admin/controller/crontab/CrontabController.php b/app/admin/controller/crontab/CrontabController.php index e59f796..cf20eb4 100755 --- a/app/admin/controller/crontab/CrontabController.php +++ b/app/admin/controller/crontab/CrontabController.php @@ -28,7 +28,7 @@ class CrontabController extends BaseAdminController { /** * @notes 定时任务列表 - * @author 段誉 + * @author 乔峰 * @date 2022/3/29 14:27 */ public function lists() @@ -39,7 +39,7 @@ class CrontabController extends BaseAdminController /** * @notes 添加定时任务 - * @author 段誉 + * @author 乔峰 * @date 2022/3/29 14:27 */ public function add() @@ -55,7 +55,7 @@ class CrontabController extends BaseAdminController /** * @notes 查看定时任务详情 - * @author 段誉 + * @author 乔峰 * @date 2022/3/29 14:27 */ public function detail() @@ -68,7 +68,7 @@ class CrontabController extends BaseAdminController /** * @notes 编辑定时任务 - * @author 段誉 + * @author 乔峰 * @date 2022/3/29 14:27 */ public function edit() @@ -84,7 +84,7 @@ class CrontabController extends BaseAdminController /** * @notes 删除定时任务 - * @author 段誉 + * @author 乔峰 * @date 2022/3/29 14:27 */ public function delete() @@ -100,7 +100,7 @@ class CrontabController extends BaseAdminController /** * @notes 操作定时任务 - * @author 段誉 + * @author 乔峰 * @date 2022/3/29 14:28 */ public function operate() @@ -116,7 +116,7 @@ class CrontabController extends BaseAdminController /** * @notes 获取规则执行时间 - * @author 段誉 + * @author 乔峰 * @date 2022/3/29 14:28 */ public function expression() diff --git a/app/admin/controller/dept/DeptController.php b/app/admin/controller/dept/DeptController.php index 33a66f0..6d9c727 100755 --- a/app/admin/controller/dept/DeptController.php +++ b/app/admin/controller/dept/DeptController.php @@ -28,7 +28,7 @@ class DeptController extends BaseAdminController /** * @notes 部门列表 - * @author 段誉 + * @author 乔峰 * @date 2022/5/25 18:07 */ public function lists() @@ -44,7 +44,7 @@ class DeptController extends BaseAdminController * @throws \think\db\exception\DataNotFoundException * @throws \think\db\exception\DbException * @throws \think\db\exception\ModelNotFoundException - * @author 段誉 + * @author 乔峰 * @date 2022/5/26 18:36 */ public function leaderDept() @@ -56,7 +56,7 @@ class DeptController extends BaseAdminController /** * @notes 添加部门 - * @author 段誉 + * @author 乔峰 * @date 2022/5/25 18:40 */ public function add() @@ -69,7 +69,7 @@ class DeptController extends BaseAdminController /** * @notes 编辑部门 - * @author 段誉 + * @author 乔峰 * @date 2022/5/25 18:41 */ public function edit() @@ -85,7 +85,7 @@ class DeptController extends BaseAdminController /** * @notes 删除部门 - * @author 段誉 + * @author 乔峰 * @date 2022/5/25 18:41 */ public function delete() @@ -98,7 +98,7 @@ class DeptController extends BaseAdminController /** * @notes 获取部门详情 - * @author 段誉 + * @author 乔峰 * @date 2022/5/25 18:41 */ public function detail() @@ -114,7 +114,7 @@ class DeptController extends BaseAdminController * @throws \think\db\exception\DataNotFoundException * @throws \think\db\exception\DbException * @throws \think\db\exception\ModelNotFoundException - * @author 段誉 + * @author 乔峰 * @date 2022/10/13 10:28 */ public function all() diff --git a/app/admin/controller/dept/JobsController.php b/app/admin/controller/dept/JobsController.php index 8614e03..36ed3f2 100755 --- a/app/admin/controller/dept/JobsController.php +++ b/app/admin/controller/dept/JobsController.php @@ -30,7 +30,7 @@ class JobsController extends BaseAdminController /** * @notes 岗位列表 - * @author 段誉 + * @author 乔峰 * @date 2022/5/26 10:00 */ public function lists() @@ -41,7 +41,7 @@ class JobsController extends BaseAdminController /** * @notes 添加岗位 - * @author 段誉 + * @author 乔峰 * @date 2022/5/25 18:40 */ public function add() @@ -54,7 +54,7 @@ class JobsController extends BaseAdminController /** * @notes 编辑岗位 - * @author 段誉 + * @author 乔峰 * @date 2022/5/25 18:41 */ public function edit() @@ -70,7 +70,7 @@ class JobsController extends BaseAdminController /** * @notes 删除岗位 - * @author 段誉 + * @author 乔峰 * @date 2022/5/25 18:41 */ public function delete() @@ -83,7 +83,7 @@ class JobsController extends BaseAdminController /** * @notes 获取岗位详情 - * @author 段誉 + * @author 乔峰 * @date 2022/5/25 18:41 */ public function detail() @@ -99,7 +99,7 @@ class JobsController extends BaseAdminController * @throws \think\db\exception\DataNotFoundException * @throws \think\db\exception\DbException * @throws \think\db\exception\ModelNotFoundException - * @author 段誉 + * @author 乔峰 * @date 2022/10/13 10:31 */ public function all() diff --git a/app/admin/controller/notice/NoticeController.php b/app/admin/controller/notice/NoticeController.php index 486a5fd..8393ff1 100755 --- a/app/admin/controller/notice/NoticeController.php +++ b/app/admin/controller/notice/NoticeController.php @@ -28,7 +28,7 @@ class NoticeController extends BaseAdminController { /** * @notes 查看通知设置列表 - * @author 段誉 + * @author 乔峰 * @date 2022/3/29 11:18 */ public function settingLists() @@ -39,7 +39,7 @@ class NoticeController extends BaseAdminController /** * @notes 查看通知设置详情 - * @author 段誉 + * @author 乔峰 * @date 2022/3/29 11:18 */ public function detail() @@ -52,7 +52,7 @@ class NoticeController extends BaseAdminController /** * @notes 通知设置 - * @author 段誉 + * @author 乔峰 * @date 2022/3/29 11:18 */ public function set() diff --git a/app/admin/controller/notice/SmsConfigController.php b/app/admin/controller/notice/SmsConfigController.php index 9b5d965..bd74ec9 100755 --- a/app/admin/controller/notice/SmsConfigController.php +++ b/app/admin/controller/notice/SmsConfigController.php @@ -28,7 +28,7 @@ class SmsConfigController extends BaseAdminController /** * @notes 获取短信配置 - * @author 段誉 + * @author 乔峰 * @date 2022/3/29 11:36 */ public function getConfig() @@ -40,7 +40,7 @@ class SmsConfigController extends BaseAdminController /** * @notes 短信配置 - * @author 段誉 + * @author 乔峰 * @date 2022/3/29 11:36 */ public function setConfig() @@ -53,7 +53,7 @@ class SmsConfigController extends BaseAdminController /** * @notes 查看短信配置详情 - * @author 段誉 + * @author 乔峰 * @date 2022/3/29 11:36 */ public function detail() diff --git a/app/admin/controller/setting/HotSearchController.php b/app/admin/controller/setting/HotSearchController.php index 8ade0c0..0b3b620 100755 --- a/app/admin/controller/setting/HotSearchController.php +++ b/app/admin/controller/setting/HotSearchController.php @@ -27,7 +27,7 @@ class HotSearchController extends BaseAdminController /** * @notes 获取热门搜索 - * @author 段誉 + * @author 乔峰 * @date 2022/9/5 19:00 */ public function getConfig() @@ -39,7 +39,7 @@ class HotSearchController extends BaseAdminController /** * @notes 设置热门搜索 - * @author 段誉 + * @author 乔峰 * @date 2022/9/5 19:00 */ public function setConfig() diff --git a/app/admin/controller/setting/StorageController.php b/app/admin/controller/setting/StorageController.php index aed2648..a613fd6 100644 --- a/app/admin/controller/setting/StorageController.php +++ b/app/admin/controller/setting/StorageController.php @@ -12,7 +12,7 @@ class StorageController extends BaseAdminController { /** * @notes 获取存储引擎列表 - * @author 段誉 + * @author 乔峰 * @date 2022/4/20 16:13 */ public function lists() @@ -23,7 +23,7 @@ class StorageController extends BaseAdminController /** * @notes 存储配置信息 - * @author 段誉 + * @author 乔峰 * @date 2022/4/20 16:19 */ public function detail() @@ -35,7 +35,7 @@ class StorageController extends BaseAdminController /** * @notes 设置存储参数 - * @author 段誉 + * @author 乔峰 * @date 2022/4/20 16:19 */ public function setup() @@ -51,7 +51,7 @@ class StorageController extends BaseAdminController /** * @notes 切换存储引擎 - * @author 段誉 + * @author 乔峰 * @date 2022/4/20 16:19 */ public function change() diff --git a/app/admin/controller/setting/dict/DictDataController.php b/app/admin/controller/setting/dict/DictDataController.php index 7995525..d8f590f 100755 --- a/app/admin/controller/setting/dict/DictDataController.php +++ b/app/admin/controller/setting/dict/DictDataController.php @@ -30,7 +30,7 @@ class DictDataController extends BaseAdminController /** * @notes 获取字典数据列表 - * @author 段誉 + * @author 乔峰 * @date 2022/6/20 16:35 */ public function lists() @@ -41,7 +41,7 @@ class DictDataController extends BaseAdminController /** * @notes 添加字典数据 - * @author 段誉 + * @author 乔峰 * @date 2022/6/20 17:13 */ public function add() @@ -54,7 +54,7 @@ class DictDataController extends BaseAdminController /** * @notes 编辑字典数据 - * @author 段誉 + * @author 乔峰 * @date 2022/6/20 17:13 */ public function edit() @@ -67,7 +67,7 @@ class DictDataController extends BaseAdminController /** * @notes 删除字典数据 - * @author 段誉 + * @author 乔峰 * @date 2022/6/20 17:13 */ public function delete() @@ -80,7 +80,7 @@ class DictDataController extends BaseAdminController /** * @notes 获取字典详情 - * @author 段誉 + * @author 乔峰 * @date 2022/6/20 17:14 */ public function detail() diff --git a/app/admin/controller/setting/dict/DictTypeController.php b/app/admin/controller/setting/dict/DictTypeController.php index 936c06a..48b7059 100755 --- a/app/admin/controller/setting/dict/DictTypeController.php +++ b/app/admin/controller/setting/dict/DictTypeController.php @@ -31,7 +31,7 @@ class DictTypeController extends BaseAdminController /** * @notes 获取字典类型列表 - * @author 段誉 + * @author 乔峰 * @date 2022/6/20 15:50 */ public function lists() @@ -42,7 +42,7 @@ class DictTypeController extends BaseAdminController /** * @notes 添加字典类型 - * @author 段誉 + * @author 乔峰 * @date 2022/6/20 16:24 */ public function add() @@ -55,7 +55,7 @@ class DictTypeController extends BaseAdminController /** * @notes 编辑字典类型 - * @author 段誉 + * @author 乔峰 * @date 2022/6/20 16:25 */ public function edit() @@ -68,7 +68,7 @@ class DictTypeController extends BaseAdminController /** * @notes 删除字典类型 - * @author 段誉 + * @author 乔峰 * @date 2022/6/20 16:25 */ public function delete() @@ -81,7 +81,7 @@ class DictTypeController extends BaseAdminController /** * @notes 获取字典详情 - * @author 段誉 + * @author 乔峰 * @date 2022/6/20 16:25 */ public function detail() @@ -97,7 +97,7 @@ class DictTypeController extends BaseAdminController * @throws \think\db\exception\DataNotFoundException * @throws \think\db\exception\DbException * @throws \think\db\exception\ModelNotFoundException - * @author 段誉 + * @author 乔峰 * @date 2022/10/13 10:46 */ public function all() diff --git a/app/admin/controller/setting/system/CacheController.php b/app/admin/controller/setting/system/CacheController.php index 56c2354..e13ea29 100755 --- a/app/admin/controller/setting/system/CacheController.php +++ b/app/admin/controller/setting/system/CacheController.php @@ -27,7 +27,7 @@ class CacheController extends BaseAdminController /** * @notes 清除系统缓存 - * @author 段誉 + * @author 乔峰 * @date 2022/4/8 16:34 */ public function clear() diff --git a/app/admin/controller/setting/system/SystemController.php b/app/admin/controller/setting/system/SystemController.php index ea99bed..296480b 100755 --- a/app/admin/controller/setting/system/SystemController.php +++ b/app/admin/controller/setting/system/SystemController.php @@ -28,7 +28,7 @@ class SystemController extends BaseAdminController /** * @notes 获取系统环境信息 - * @author 段誉 + * @author 乔峰 * @date 2021/12/28 18:36 */ public function info() diff --git a/app/admin/controller/setting/user/UserController.php b/app/admin/controller/setting/user/UserController.php index 8ef03a1..f515aa0 100755 --- a/app/admin/controller/setting/user/UserController.php +++ b/app/admin/controller/setting/user/UserController.php @@ -30,7 +30,7 @@ class UserController extends BaseAdminController /** * @notes 获取用户设置 - * @author 段誉 + * @author 乔峰 * @date 2022/3/29 10:08 */ public function getConfig() @@ -42,7 +42,7 @@ class UserController extends BaseAdminController /** * @notes 设置用户设置 - * @author 段誉 + * @author 乔峰 * @date 2022/3/29 10:08 */ public function setConfig() @@ -55,7 +55,7 @@ class UserController extends BaseAdminController /** * @notes 获取注册配置 - * @author 段誉 + * @author 乔峰 * @date 2022/3/29 10:08 */ public function getRegisterConfig() @@ -67,7 +67,7 @@ class UserController extends BaseAdminController /** * @notes 设置注册配置 - * @author 段誉 + * @author 乔峰 * @date 2022/3/29 10:08 */ public function setRegisterConfig() diff --git a/app/admin/controller/setting/web/WebSettingController.php b/app/admin/controller/setting/web/WebSettingController.php index 660b4a6..f099251 100755 --- a/app/admin/controller/setting/web/WebSettingController.php +++ b/app/admin/controller/setting/web/WebSettingController.php @@ -28,7 +28,7 @@ class WebSettingController extends BaseAdminController /** * @notes 获取网站信息 - * @author 段誉 + * @author 乔峰 * @date 2021/12/28 15:44 */ public function getWebsite() @@ -40,7 +40,7 @@ class WebSettingController extends BaseAdminController /** * @notes 设置网站信息 - * @author 段誉 + * @author 乔峰 * @date 2021/12/28 15:45 */ public function setWebsite() @@ -54,7 +54,7 @@ class WebSettingController extends BaseAdminController /** * @notes 获取备案信息 - * @author 段誉 + * @author 乔峰 * @date 2021/12/28 16:10 */ public function getCopyright() @@ -66,7 +66,7 @@ class WebSettingController extends BaseAdminController /** * @notes 设置备案信息 - * @author 段誉 + * @author 乔峰 * @date 2021/12/28 16:10 */ public function setCopyright() diff --git a/app/admin/controller/user/UserController.php b/app/admin/controller/user/UserController.php index dac6599..38c1989 100644 --- a/app/admin/controller/user/UserController.php +++ b/app/admin/controller/user/UserController.php @@ -13,7 +13,7 @@ class UserController extends BaseAdminController { /** * @notes 用户列表 - * @author 段誉 + * @author 乔峰 * @date 2022//22 16:16 */ public function lists() @@ -24,7 +24,7 @@ class UserController extends BaseAdminController /** * @notes 获取用户详情 - * @author 段誉 + * @author 乔峰 * @date 2022/9/22 16:34 */ public function detail() @@ -37,7 +37,7 @@ class UserController extends BaseAdminController /** * @notes 编辑用户信息 - * @author 段誉 + * @author 乔峰 * @date 2022/9/22 16:34 */ public function edit() diff --git a/app/admin/lists/channel/OfficialAccountReplyLists.php b/app/admin/lists/channel/OfficialAccountReplyLists.php index 756eb08..89e0028 100755 --- a/app/admin/lists/channel/OfficialAccountReplyLists.php +++ b/app/admin/lists/channel/OfficialAccountReplyLists.php @@ -29,7 +29,7 @@ class OfficialAccountReplyLists extends BaseAdminDataLists implements ListsSearc /** * @notes 设置搜索 * @return \string[][] - * @author 段誉 + * @author 乔峰 * @date 2022/3/30 15:02 */ public function setSearch(): array @@ -46,7 +46,7 @@ class OfficialAccountReplyLists extends BaseAdminDataLists implements ListsSearc * @throws \think\db\exception\DataNotFoundException * @throws \think\db\exception\DbException * @throws \think\db\exception\ModelNotFoundException - * @author 段誉 + * @author 乔峰 * @date 2022/3/30 15:02 */ public function lists(): array @@ -68,7 +68,7 @@ class OfficialAccountReplyLists extends BaseAdminDataLists implements ListsSearc /** * @notes 回复记录数 * @return int - * @author 段誉 + * @author 乔峰 * @date 2022/3/30 15:02 */ public function count(): int diff --git a/app/admin/lists/crontab/CrontabLists.php b/app/admin/lists/crontab/CrontabLists.php index da54d52..10d1eb4 100755 --- a/app/admin/lists/crontab/CrontabLists.php +++ b/app/admin/lists/crontab/CrontabLists.php @@ -30,7 +30,7 @@ class CrontabLists extends BaseAdminDataLists * @throws \think\db\exception\DataNotFoundException * @throws \think\db\exception\DbException * @throws \think\db\exception\ModelNotFoundException - * @author 段誉 + * @author 乔峰 * @date 2022/3/29 14:30 */ public function lists(): array @@ -51,7 +51,7 @@ class CrontabLists extends BaseAdminDataLists /** * @notes 定时任务数量 * @return int - * @author 段誉 + * @author 乔峰 * @date 2022/3/29 14:38 */ public function count(): int diff --git a/app/admin/lists/dept/JobsLists.php b/app/admin/lists/dept/JobsLists.php index f491e0a..d6b619c 100755 --- a/app/admin/lists/dept/JobsLists.php +++ b/app/admin/lists/dept/JobsLists.php @@ -30,7 +30,7 @@ class JobsLists extends BaseAdminDataLists implements ListsSearchInterface,Lists /** * @notes 设置搜索条件 * @return \string[][] - * @author 段誉 + * @author 乔峰 * @date 2022/5/26 9:46 */ public function setSearch(): array @@ -64,7 +64,7 @@ class JobsLists extends BaseAdminDataLists implements ListsSearchInterface,Lists /** * @notes 获取数量 * @return int - * @author 段誉 + * @author 乔峰 * @date 2022/5/26 9:48 */ public function count(): int @@ -76,7 +76,7 @@ class JobsLists extends BaseAdminDataLists implements ListsSearchInterface,Lists /** * @notes 导出文件名 * @return string - * @author 段誉 + * @author 乔峰 * @date 2022/11/24 16:17 */ public function setFileName(): string @@ -88,7 +88,7 @@ class JobsLists extends BaseAdminDataLists implements ListsSearchInterface,Lists /** * @notes 导出字段 * @return string[] - * @author 段誉 + * @author 乔峰 * @date 2022/11/24 16:17 */ public function setExcelFields(): array diff --git a/app/admin/lists/file/FileCateLists.php b/app/admin/lists/file/FileCateLists.php index d3a5bd6..4b08cd4 100644 --- a/app/admin/lists/file/FileCateLists.php +++ b/app/admin/lists/file/FileCateLists.php @@ -14,7 +14,7 @@ class FileCateLists extends BaseAdminDataLists implements ListsSearchInterface /** * @notes 文件分类搜素条件 * @return \string[][] - * @author 段誉 + * @author 乔峰 * @date 2021/12/29 14:24 */ public function setSearch(): array @@ -31,7 +31,7 @@ class FileCateLists extends BaseAdminDataLists implements ListsSearchInterface * @throws \think\db\exception\DataNotFoundException * @throws \think\db\exception\DbException * @throws \think\db\exception\ModelNotFoundException - * @author 段誉 + * @author 乔峰 * @date 2021/12/29 14:24 */ public function lists(): array @@ -47,7 +47,7 @@ class FileCateLists extends BaseAdminDataLists implements ListsSearchInterface /** * @notes 获取文件分类数量 * @return int - * @author 段誉 + * @author 乔峰 * @date 2021/12/29 14:24 */ public function count(): int diff --git a/app/admin/lists/file/FileLists.php b/app/admin/lists/file/FileLists.php index 4d4af82..76bd3bb 100644 --- a/app/admin/lists/file/FileLists.php +++ b/app/admin/lists/file/FileLists.php @@ -15,7 +15,7 @@ class FileLists extends BaseAdminDataLists implements ListsSearchInterface /** * @notes 文件搜索条件 * @return \string[][] - * @author 段誉 + * @author 乔峰 * @date 2021/12/29 14:27 */ public function setSearch(): array @@ -33,7 +33,7 @@ class FileLists extends BaseAdminDataLists implements ListsSearchInterface * @throws \think\db\exception\DataNotFoundException * @throws \think\db\exception\DbException * @throws \think\db\exception\ModelNotFoundException - * @author 段誉 + * @author 乔峰 * @date 2021/12/29 14:27 */ public function lists(): array @@ -58,7 +58,7 @@ class FileLists extends BaseAdminDataLists implements ListsSearchInterface /** * @notes 获取文件数量 * @return int - * @author 段誉 + * @author 乔峰 * @date 2021/12/29 14:29 */ public function count(): int diff --git a/app/admin/lists/setting/dict/DictDataLists.php b/app/admin/lists/setting/dict/DictDataLists.php index 3ca9430..4d8c6a7 100755 --- a/app/admin/lists/setting/dict/DictDataLists.php +++ b/app/admin/lists/setting/dict/DictDataLists.php @@ -30,7 +30,7 @@ class DictDataLists extends BaseAdminDataLists implements ListsSearchInterface /** * @notes 设置搜索条件 * @return \string[][] - * @author 段誉 + * @author 乔峰 * @date 2022/6/20 16:29 */ public function setSearch(): array @@ -48,7 +48,7 @@ class DictDataLists extends BaseAdminDataLists implements ListsSearchInterface * @throws \think\db\exception\DataNotFoundException * @throws \think\db\exception\DbException * @throws \think\db\exception\ModelNotFoundException - * @author 段誉 + * @author 乔峰 * @date 2022/6/20 16:35 */ public function lists(): array @@ -65,7 +65,7 @@ class DictDataLists extends BaseAdminDataLists implements ListsSearchInterface /** * @notes 获取数量 * @return int - * @author 段誉 + * @author 乔峰 * @date 2022/6/20 16:35 */ public function count(): int diff --git a/app/admin/lists/setting/dict/DictTypeLists.php b/app/admin/lists/setting/dict/DictTypeLists.php index 1d28a87..bf07c95 100755 --- a/app/admin/lists/setting/dict/DictTypeLists.php +++ b/app/admin/lists/setting/dict/DictTypeLists.php @@ -30,7 +30,7 @@ class DictTypeLists extends BaseAdminDataLists implements ListsSearchInterface /** * @notes 设置搜索条件 * @return \string[][] - * @author 段誉 + * @author 乔峰 * @date 2022/6/20 15:53 */ public function setSearch(): array @@ -48,7 +48,7 @@ class DictTypeLists extends BaseAdminDataLists implements ListsSearchInterface * @throws \think\db\exception\DataNotFoundException * @throws \think\db\exception\DbException * @throws \think\db\exception\ModelNotFoundException - * @author 段誉 + * @author 乔峰 * @date 2022/6/20 15:54 */ public function lists(): array @@ -65,7 +65,7 @@ class DictTypeLists extends BaseAdminDataLists implements ListsSearchInterface /** * @notes 获取数量 * @return int - * @author 段誉 + * @author 乔峰 * @date 2022/6/20 15:54 */ public function count(): int diff --git a/app/admin/validate/FileValidate.php b/app/admin/validate/FileValidate.php index 71366f3..39c2d15 100644 --- a/app/admin/validate/FileValidate.php +++ b/app/admin/validate/FileValidate.php @@ -31,7 +31,7 @@ class FileValidate extends BaseValidate /** * @notes id验证场景 * @return \app\admin\validate\FileValidate - * @author 段誉 + * @author 乔峰 * @date 2021/12/29 14:32 */ public function sceneId() @@ -43,7 +43,7 @@ class FileValidate extends BaseValidate /** * @notes 重命名文件场景 * @return FileValidate - * @author 段誉 + * @author 乔峰 * @date 2021/12/29 14:32 */ public function sceneRename() @@ -55,7 +55,7 @@ class FileValidate extends BaseValidate /** * @notes 新增分类场景 * @return FileValidate - * @author 段誉 + * @author 乔峰 * @date 2021/12/29 14:33 */ public function sceneAddCate() @@ -67,7 +67,7 @@ class FileValidate extends BaseValidate /** * @notes 编辑分类场景 * @return FileValidate - * @author 段誉 + * @author 乔峰 * @date 2021/12/29 14:33 */ public function sceneEditCate() @@ -79,7 +79,7 @@ class FileValidate extends BaseValidate /** * @notes 移动场景 * @return FileValidate - * @author 段誉 + * @author 乔峰 * @date 2021/12/29 14:33 */ public function sceneMove() @@ -91,7 +91,7 @@ class FileValidate extends BaseValidate /** * @notes 删除场景 * @return FileValidate - * @author 段誉 + * @author 乔峰 * @date 2021/12/29 14:35 */ public function sceneDelete() diff --git a/app/admin/validate/crontab/CrontabValidate.php b/app/admin/validate/crontab/CrontabValidate.php index 690f772..c81a172 100755 --- a/app/admin/validate/crontab/CrontabValidate.php +++ b/app/admin/validate/crontab/CrontabValidate.php @@ -50,7 +50,7 @@ class CrontabValidate extends BaseValidate /** * @notes 添加定时任务场景 * @return CrontabValidate - * @author 段誉 + * @author 乔峰 * @date 2022/3/29 14:39 */ public function sceneAdd() @@ -62,7 +62,7 @@ class CrontabValidate extends BaseValidate /** * @notes 查看定时任务详情场景 * @return CrontabValidate - * @author 段誉 + * @author 乔峰 * @date 2022/3/29 14:39 */ public function sceneDetail() @@ -74,7 +74,7 @@ class CrontabValidate extends BaseValidate /** * @notes 编辑定时任务 * @return CrontabValidate - * @author 段誉 + * @author 乔峰 * @date 2022/3/29 14:39 */ public function sceneEdit() @@ -86,7 +86,7 @@ class CrontabValidate extends BaseValidate /** * @notes 删除定时任务场景 * @return CrontabValidate - * @author 段誉 + * @author 乔峰 * @date 2022/3/29 14:40 */ public function sceneDelete() @@ -98,7 +98,7 @@ class CrontabValidate extends BaseValidate /** * @notes CrontabValidate * @return CrontabValidate - * @author 段誉 + * @author 乔峰 * @date 2022/3/29 14:40 */ public function sceneOperate() @@ -110,7 +110,7 @@ class CrontabValidate extends BaseValidate /** * @notes 获取规则执行时间场景 * @return CrontabValidate - * @author 段誉 + * @author 乔峰 * @date 2022/3/29 14:40 */ public function sceneExpression() @@ -125,7 +125,7 @@ class CrontabValidate extends BaseValidate * @param $rule * @param $data * @return bool|string - * @author 段誉 + * @author 乔峰 * @date 2022/3/29 14:40 */ public function checkExpression($value, $rule, $data) diff --git a/app/admin/validate/dept/DeptValidate.php b/app/admin/validate/dept/DeptValidate.php index ead810b..48327b3 100755 --- a/app/admin/validate/dept/DeptValidate.php +++ b/app/admin/validate/dept/DeptValidate.php @@ -51,7 +51,7 @@ class DeptValidate extends BaseValidate /** * @notes 添加场景 * @return DeptValidate - * @author 段誉 + * @author 乔峰 * @date 2022/5/25 18:16 */ public function sceneAdd() @@ -63,7 +63,7 @@ class DeptValidate extends BaseValidate /** * @notes 详情场景 * @return DeptValidate - * @author 段誉 + * @author 乔峰 * @date 2022/5/25 18:16 */ public function sceneDetail() @@ -75,7 +75,7 @@ class DeptValidate extends BaseValidate /** * @notes 编辑场景 * @return DeptValidate - * @author 段誉 + * @author 乔峰 * @date 2022/5/26 18:42 */ public function sceneEdit() @@ -87,7 +87,7 @@ class DeptValidate extends BaseValidate /** * @notes 删除场景 * @return DeptValidate - * @author 段誉 + * @author 乔峰 * @date 2022/5/25 18:16 */ public function sceneDelete() @@ -100,7 +100,7 @@ class DeptValidate extends BaseValidate * @notes 校验部门 * @param $value * @return bool|string - * @author 段誉 + * @author 乔峰 * @date 2022/5/25 18:17 */ public function checkDept($value) @@ -117,7 +117,7 @@ class DeptValidate extends BaseValidate * @notes 校验能否删除 * @param $value * @return bool|string - * @author 段誉 + * @author 乔峰 * @date 2022/5/26 14:22 */ public function checkAbleDetele($value) @@ -146,7 +146,7 @@ class DeptValidate extends BaseValidate * @param $rule * @param array $data * @return bool|string - * @author 段誉 + * @author 乔峰 * @date 2022/5/26 18:41 */ public function checkPid($value, $rule, $data = []) diff --git a/app/admin/validate/dept/JobsValidate.php b/app/admin/validate/dept/JobsValidate.php index 694f132..194ab8f 100755 --- a/app/admin/validate/dept/JobsValidate.php +++ b/app/admin/validate/dept/JobsValidate.php @@ -53,7 +53,7 @@ class JobsValidate extends BaseValidate /** * @notes 添加场景 * @return JobsValidate - * @author 段誉 + * @author 乔峰 * @date 2022/5/26 9:53 */ public function sceneAdd() @@ -65,7 +65,7 @@ class JobsValidate extends BaseValidate /** * @notes 详情场景 * @return JobsValidate - * @author 段誉 + * @author 乔峰 * @date 2022/5/26 9:53 */ public function sceneDetail() @@ -82,7 +82,7 @@ class JobsValidate extends BaseValidate /** * @notes 删除场景 * @return JobsValidate - * @author 段誉 + * @author 乔峰 * @date 2022/5/26 9:54 */ public function sceneDelete() @@ -95,7 +95,7 @@ class JobsValidate extends BaseValidate * @notes 校验岗位 * @param $value * @return bool|string - * @author 段誉 + * @author 乔峰 * @date 2022/5/26 9:55 */ public function checkJobs($value) @@ -112,7 +112,7 @@ class JobsValidate extends BaseValidate * @notes 校验能否删除 * @param $value * @return bool|string - * @author 段誉 + * @author 乔峰 * @date 2022/5/26 14:22 */ public function checkAbleDetele($value) diff --git a/app/admin/validate/dict/DictDataValidate.php b/app/admin/validate/dict/DictDataValidate.php index 7d6c919..f1349c6 100755 --- a/app/admin/validate/dict/DictDataValidate.php +++ b/app/admin/validate/dict/DictDataValidate.php @@ -50,7 +50,7 @@ class DictDataValidate extends BaseValidate /** * @notes 添加场景 * @return DictDataValidate - * @author 段誉 + * @author 乔峰 * @date 2022/6/20 16:54 */ public function sceneAdd() @@ -62,7 +62,7 @@ class DictDataValidate extends BaseValidate /** * @notes ID场景 * @return DictDataValidate - * @author 段誉 + * @author 乔峰 * @date 2022/6/20 16:54 */ public function sceneId() @@ -74,7 +74,7 @@ class DictDataValidate extends BaseValidate /** * @notes 编辑场景 * @return DictDataValidate - * @author 段誉 + * @author 乔峰 * @date 2022/6/20 18:36 */ public function sceneEdit() @@ -87,7 +87,7 @@ class DictDataValidate extends BaseValidate * @notes 校验字典数据 * @param $value * @return bool|string - * @author 段誉 + * @author 乔峰 * @date 2022/6/20 16:55 */ protected function checkDictData($value) @@ -104,7 +104,7 @@ class DictDataValidate extends BaseValidate * @notes 校验字典类型 * @param $value * @return bool|string - * @author 段誉 + * @author 乔峰 * @date 2022/6/20 17:03 */ protected function checkDictType($value) diff --git a/app/admin/validate/dict/DictTypeValidate.php b/app/admin/validate/dict/DictTypeValidate.php index 16e0534..9cb930e 100755 --- a/app/admin/validate/dict/DictTypeValidate.php +++ b/app/admin/validate/dict/DictTypeValidate.php @@ -50,7 +50,7 @@ class DictTypeValidate extends BaseValidate /** * @notes 添加场景 * @return DictTypeValidate - * @author 段誉 + * @author 乔峰 * @date 2022/6/20 16:00 */ public function sceneAdd() @@ -62,7 +62,7 @@ class DictTypeValidate extends BaseValidate /** * @notes 详情场景 * @return DictTypeValidate - * @author 段誉 + * @author 乔峰 * @date 2022/6/20 16:00 */ public function sceneDetail() @@ -79,7 +79,7 @@ class DictTypeValidate extends BaseValidate /** * @notes 删除场景 * @return DictTypeValidate - * @author 段誉 + * @author 乔峰 * @date 2022/6/20 16:03 */ public function sceneDelete() @@ -94,7 +94,7 @@ class DictTypeValidate extends BaseValidate * @notes 检查字典类型是否存在 * @param $value * @return bool|string - * @author 段誉 + * @author 乔峰 * @date 2022/6/20 16:04 */ protected function checkDictType($value) @@ -112,7 +112,7 @@ class DictTypeValidate extends BaseValidate * @notes 验证是否可删除 * @param $value * @return bool|string - * @author 段誉 + * @author 乔峰 * @date 2022/6/20 16:04 */ protected function checkAbleDelete($value) diff --git a/app/admin/validate/setting/StorageValidate.php b/app/admin/validate/setting/StorageValidate.php index bb82bd5..8c1150c 100644 --- a/app/admin/validate/setting/StorageValidate.php +++ b/app/admin/validate/setting/StorageValidate.php @@ -18,7 +18,7 @@ class StorageValidate extends BaseValidate /** * @notes 设置存储引擎参数场景 * @return \app\admin\validate\setting\StorageValidate - * @author 段誉 + * @author 乔峰 * @date 2022/4/20 16:18 */ public function sceneSetup() @@ -30,7 +30,7 @@ class StorageValidate extends BaseValidate /** * @notes 获取配置参数信息场景 * @return StorageValidate - * @author 段誉 + * @author 乔峰 * @date 2022/4/20 16:18 */ public function sceneDetail() @@ -42,7 +42,7 @@ class StorageValidate extends BaseValidate /** * @notes 切换存储引擎场景 * @return StorageValidate - * @author 段誉 + * @author 乔峰 * @date 2022/4/20 16:18 */ public function sceneChange() diff --git a/app/admin/validate/user/UserValidate.php b/app/admin/validate/user/UserValidate.php index d995d7c..7ce67a6 100644 --- a/app/admin/validate/user/UserValidate.php +++ b/app/admin/validate/user/UserValidate.php @@ -25,7 +25,7 @@ class UserValidate extends BaseValidate /** * @notes 详情场景 * @return \app\admin\validate\user\UserValidate - * @author 段誉 + * @author 乔峰 * @date 2022/9/22 16:35 */ public function sceneDetail() @@ -43,7 +43,7 @@ class UserValidate extends BaseValidate * @throws \think\db\exception\DataNotFoundException * @throws \think\db\exception\DbException * @throws \think\db\exception\ModelNotFoundException - * @author 段誉 + * @author 乔峰 * @date 2022/9/22 17:03 */ public function checkUser($value, $rule, $data) @@ -65,7 +65,7 @@ class UserValidate extends BaseValidate * @param $rule * @param $data * @return bool|string - * @author 段誉 + * @author 乔峰 * @date 2022/9/22 16:37 */ public function checkField($value, $rule, $data) diff --git a/app/common/model/Crontab.php b/app/common/model/Crontab.php index d98d003..88d4de3 100755 --- a/app/common/model/Crontab.php +++ b/app/common/model/Crontab.php @@ -35,7 +35,7 @@ class Crontab extends BaseModel * @notes 类型获取器 * @param $value * @return string - * @author 段誉 + * @author 乔峰 * @date 2022/3/29 12:05 */ public function getTypeDescAttr($value) @@ -52,7 +52,7 @@ class Crontab extends BaseModel * @notes 状态获取器 * @param $value * @return string - * @author 段誉 + * @author 乔峰 * @date 2022/3/29 12:06 */ public function getStatusDescAttr($value) @@ -70,7 +70,7 @@ class Crontab extends BaseModel * @notes 最后执行时间获取器 * @param $value * @return string - * @author 段誉 + * @author 乔峰 * @date 2022/3/29 12:06 */ public function getLastTimeAttr($value) diff --git a/app/common/service/FileService.php b/app/common/service/FileService.php index e933859..a3a55bf 100644 --- a/app/common/service/FileService.php +++ b/app/common/service/FileService.php @@ -67,7 +67,7 @@ class FileService { $default = ConfigService::get('storage', 'default', 'local'); if ($default === 'local') { - $domain = request()->domain(); + $domain = 'http://'.request()->host(); return str_replace($domain.'/', '', $uri); } else { $storage = ConfigService::get('storage', $default); diff --git a/app/common/service/UploadService.php b/app/common/service/UploadService.php index c3ba5a9..65a31a3 100644 --- a/app/common/service/UploadService.php +++ b/app/common/service/UploadService.php @@ -17,7 +17,7 @@ class UploadService * @param string $saveDir * @return array * @throws Exception - * @author 段誉 + * @author 乔峰 * @date 2021/12/29 16:30 */ public static function image($cid, int $sourceId = 0, int $source = FileEnum::SOURCE_ADMIN, string $saveDir = 'uploads/images') @@ -87,7 +87,7 @@ class UploadService * @param string $saveDir * @return array * @throws Exception - * @author 段誉 + * @author 乔峰 * @date 2021/12/29 16:32 */ public static function video($cid, int $sourceId = 0, int $source = FileEnum::SOURCE_ADMIN, string $saveDir = 'uploads/video')