From 0336a54911877483d359af76c3cf1f51ba852a67 Mon Sep 17 00:00:00 2001 From: koogua Date: Sun, 13 Jun 2021 15:49:47 +0800 Subject: [PATCH] =?UTF-8?q?1.=E6=BA=90=E6=96=87=E4=BB=B6=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E7=89=88=E6=9D=83=E4=BF=A1=E6=81=AF=202.=E7=BE=A4=E7=BB=84?= =?UTF-8?q?=E7=8A=B6=E6=80=81=E5=92=8C=E8=AF=BE=E7=A8=8B=E5=8D=8F=E5=90=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Builders/AnswerList.php | 5 ++ app/Builders/ArticleFavoriteList.php | 5 ++ app/Builders/ArticleList.php | 5 ++ app/Builders/Builder.php | 5 ++ app/Builders/CategoryTreeList.php | 5 ++ app/Builders/CommentList.php | 5 ++ app/Builders/ConsultList.php | 5 ++ app/Builders/CourseChapterList.php | 5 ++ app/Builders/CourseFavoriteList.php | 5 ++ app/Builders/CourseList.php | 5 ++ app/Builders/CourseTopicList.php | 5 ++ app/Builders/CourseUserList.php | 5 ++ app/Builders/DanmuList.php | 5 ++ app/Builders/HelpList.php | 5 ++ app/Builders/ImFriendUserList.php | 5 ++ app/Builders/ImGroupList.php | 5 ++ app/Builders/ImGroupUserList.php | 5 ++ app/Builders/ImMessageList.php | 5 ++ app/Builders/LearningList.php | 5 ++ app/Builders/LiveList.php | 5 ++ app/Builders/NavTreeList.php | 5 ++ app/Builders/NotificationList.php | 5 ++ app/Builders/OrderList.php | 5 ++ app/Builders/QuestionFavoriteList.php | 5 ++ app/Builders/QuestionList.php | 5 ++ app/Builders/RefundList.php | 5 ++ app/Builders/ReportList.php | 5 ++ app/Builders/ResourceList.php | 5 ++ app/Builders/ReviewList.php | 5 ++ app/Builders/TagFollowList.php | 5 ++ app/Builders/TradeList.php | 5 ++ app/Builders/UserList.php | 5 ++ app/Caches/AppInfo.php | 5 ++ app/Caches/Article.php | 5 ++ app/Caches/Cache.php | 5 ++ app/Caches/Category.php | 5 ++ app/Caches/CategoryList.php | 5 ++ app/Caches/CategoryTreeList.php | 5 ++ app/Caches/Chapter.php | 5 ++ app/Caches/Counter.php | 5 ++ app/Caches/Course.php | 5 ++ app/Caches/CourseCategoryList.php | 5 ++ app/Caches/CourseChapterList.php | 5 ++ app/Caches/CoursePackageList.php | 5 ++ app/Caches/CourseRecommendedList.php | 5 ++ app/Caches/CourseRelatedList.php | 5 ++ app/Caches/CourseTeacherList.php | 5 ++ app/Caches/CourseTopicList.php | 5 ++ app/Caches/FlashSale.php | 5 ++ app/Caches/Help.php | 5 ++ app/Caches/HelpList.php | 5 ++ app/Caches/HotQuestionList.php | 5 ++ app/Caches/ImActiveGroupList.php | 5 ++ app/Caches/ImActiveUserList.php | 5 ++ app/Caches/ImGroup.php | 5 ++ app/Caches/ImGroupActiveUserList.php | 5 ++ app/Caches/ImNewGroupList.php | 5 ++ app/Caches/ImNewUserList.php | 5 ++ app/Caches/IndexFeaturedCourseList.php | 5 ++ app/Caches/IndexFreeCourseList.php | 5 ++ app/Caches/IndexLiveList.php | 5 ++ app/Caches/IndexNewCourseList.php | 5 ++ app/Caches/IndexSimpleFeaturedCourseList.php | 5 ++ app/Caches/IndexSimpleFreeCourseList.php | 5 ++ app/Caches/IndexSimpleNewCourseList.php | 5 ++ app/Caches/IndexSimpleVipCourseList.php | 5 ++ app/Caches/IndexSlideList.php | 5 ++ app/Caches/IndexVipCourseList.php | 5 ++ app/Caches/MaxAnswerId.php | 5 ++ app/Caches/MaxArticleId.php | 5 ++ app/Caches/MaxCategoryId.php | 5 ++ app/Caches/MaxChapterId.php | 5 ++ app/Caches/MaxCommentId.php | 5 ++ app/Caches/MaxCourseId.php | 5 ++ app/Caches/MaxFlashSaleId.php | 5 ++ app/Caches/MaxHelpId.php | 5 ++ app/Caches/MaxImGroupId.php | 5 ++ app/Caches/MaxPackageId.php | 5 ++ app/Caches/MaxPageId.php | 5 ++ app/Caches/MaxPointGiftId.php | 5 ++ app/Caches/MaxQuestionId.php | 5 ++ app/Caches/MaxTagId.php | 5 ++ app/Caches/MaxTopicId.php | 5 ++ app/Caches/MaxUploadId.php | 5 ++ app/Caches/MaxUserId.php | 5 ++ app/Caches/ModerationStat.php | 5 ++ app/Caches/NavTreeList.php | 5 ++ app/Caches/Package.php | 5 ++ app/Caches/PackageCourseList.php | 5 ++ app/Caches/Page.php | 5 ++ app/Caches/PointGift.php | 5 ++ app/Caches/PointHotGiftList.php | 5 ++ app/Caches/Question.php | 5 ++ app/Caches/SaleTrend.php | 5 ++ app/Caches/Setting.php | 5 ++ app/Caches/SiteGlobalStat.php | 5 ++ app/Caches/SiteTodayStat.php | 5 ++ app/Caches/Tag.php | 5 ++ app/Caches/TaggedArticleList.php | 5 ++ app/Caches/TaggedQuestionList.php | 5 ++ app/Caches/TopAnswererList.php | 5 ++ app/Caches/TopAuthorList.php | 5 ++ app/Caches/Topic.php | 5 ++ app/Caches/User.php | 5 ++ app/Caches/UserDailyCounter.php | 5 ++ app/Console/Tasks/ArticleIndexTask.php | 5 ++ app/Console/Tasks/CleanLogTask.php | 5 ++ app/Console/Tasks/CloseFlashSaleOrderTask.php | 5 ++ app/Console/Tasks/CloseOrderTask.php | 5 ++ app/Console/Tasks/CloseTradeTask.php | 5 ++ app/Console/Tasks/CourseIndexTask.php | 5 ++ app/Console/Tasks/DeliverTask.php | 5 ++ app/Console/Tasks/GroupIndexTask.php | 5 ++ app/Console/Tasks/MainTask.php | 5 ++ app/Console/Tasks/MaintainTask.php | 5 ++ app/Console/Tasks/NoticeTask.php | 5 ++ app/Console/Tasks/OptimizeTableTask.php | 5 ++ app/Console/Tasks/PointGiftDeliverTask.php | 5 ++ app/Console/Tasks/QuestionIndexTask.php | 5 ++ app/Console/Tasks/RefundTask.php | 5 ++ app/Console/Tasks/RevokeVipTask.php | 5 ++ app/Console/Tasks/ServerMonitorTask.php | 5 ++ app/Console/Tasks/SitemapTask.php | 5 ++ app/Console/Tasks/SyncArticleIndexTask.php | 5 ++ app/Console/Tasks/SyncArticleScoreTask.php | 5 ++ app/Console/Tasks/SyncCourseIndexTask.php | 5 ++ app/Console/Tasks/SyncCourseScoreTask.php | 5 ++ app/Console/Tasks/SyncGroupIndexTask.php | 5 ++ app/Console/Tasks/SyncLearningTask.php | 5 ++ app/Console/Tasks/SyncQuestionIndexTask.php | 5 ++ app/Console/Tasks/SyncQuestionScoreTask.php | 5 ++ app/Console/Tasks/SyncUserIndexTask.php | 5 ++ app/Console/Tasks/Task.php | 5 ++ app/Console/Tasks/TeacherLiveNoticeTask.php | 5 ++ app/Console/Tasks/UnlockUserTask.php | 5 ++ app/Console/Tasks/UpgradeTask.php | 5 ++ app/Console/Tasks/UserIndexTask.php | 46 +++++++++++++++---- app/Console/Tasks/VodEventTask.php | 5 ++ app/Exceptions/BadRequest.php | 5 ++ app/Exceptions/Forbidden.php | 5 ++ app/Exceptions/NotFound.php | 5 ++ app/Exceptions/ServerError.php | 5 ++ app/Exceptions/ServiceUnavailable.php | 5 ++ app/Exceptions/Unauthorized.php | 5 ++ .../Admin/Controllers/AnswerController.php | 5 ++ .../Admin/Controllers/ArticleController.php | 5 ++ .../Admin/Controllers/AuditController.php | 5 ++ .../Admin/Controllers/CategoryController.php | 5 ++ .../Admin/Controllers/ChapterController.php | 5 ++ .../Admin/Controllers/CommentController.php | 5 ++ .../Admin/Controllers/ConsultController.php | 5 ++ app/Http/Admin/Controllers/Controller.php | 5 ++ .../Admin/Controllers/CourseController.php | 5 ++ .../Admin/Controllers/FlashSaleController.php | 5 ++ app/Http/Admin/Controllers/HelpController.php | 5 ++ .../Admin/Controllers/ImGroupController.php | 5 ++ .../Controllers/ImGroupUserController.php | 5 ++ .../Admin/Controllers/IndexController.php | 5 ++ .../Controllers/ModerationController.php | 5 ++ app/Http/Admin/Controllers/NavController.php | 5 ++ .../Admin/Controllers/OrderController.php | 5 ++ .../Admin/Controllers/PackageController.php | 5 ++ app/Http/Admin/Controllers/PageController.php | 5 ++ .../Admin/Controllers/PointGiftController.php | 5 ++ .../Controllers/PointHistoryController.php | 5 ++ .../Controllers/PointRedeemController.php | 5 ++ .../Admin/Controllers/PublicController.php | 5 ++ .../Admin/Controllers/QuestionController.php | 5 ++ .../Admin/Controllers/RefundController.php | 5 ++ .../Admin/Controllers/ReportController.php | 5 ++ .../Admin/Controllers/ResourceController.php | 5 ++ .../Admin/Controllers/ReviewController.php | 5 ++ app/Http/Admin/Controllers/RoleController.php | 5 ++ .../Admin/Controllers/SessionController.php | 5 ++ .../Admin/Controllers/SettingController.php | 5 ++ .../Admin/Controllers/SlideController.php | 5 ++ app/Http/Admin/Controllers/StatController.php | 5 ++ .../Admin/Controllers/StudentController.php | 5 ++ app/Http/Admin/Controllers/TagController.php | 5 ++ app/Http/Admin/Controllers/TestController.php | 5 ++ .../Admin/Controllers/TopicController.php | 5 ++ .../Admin/Controllers/TradeController.php | 5 ++ .../Admin/Controllers/UploadController.php | 5 ++ app/Http/Admin/Controllers/UserController.php | 5 ++ app/Http/Admin/Controllers/UtilController.php | 5 ++ app/Http/Admin/Module.php | 5 ++ app/Http/Admin/Services/AlipayTest.php | 5 ++ app/Http/Admin/Services/Answer.php | 5 ++ app/Http/Admin/Services/Article.php | 5 ++ app/Http/Admin/Services/Audit.php | 5 ++ app/Http/Admin/Services/AuthMenu.php | 5 ++ app/Http/Admin/Services/AuthNode.php | 5 ++ app/Http/Admin/Services/Category.php | 5 ++ app/Http/Admin/Services/Chapter.php | 5 ++ app/Http/Admin/Services/ChapterContent.php | 5 ++ app/Http/Admin/Services/Comment.php | 5 ++ app/Http/Admin/Services/Consult.php | 5 ++ app/Http/Admin/Services/Course.php | 10 +++- app/Http/Admin/Services/FlashSale.php | 5 ++ app/Http/Admin/Services/Help.php | 5 ++ app/Http/Admin/Services/ImGroup.php | 5 ++ app/Http/Admin/Services/ImGroupUser.php | 5 ++ app/Http/Admin/Services/Index.php | 5 ++ app/Http/Admin/Services/Moderation.php | 5 ++ app/Http/Admin/Services/Nav.php | 5 ++ app/Http/Admin/Services/Order.php | 5 ++ app/Http/Admin/Services/Package.php | 5 ++ app/Http/Admin/Services/Page.php | 5 ++ app/Http/Admin/Services/PayTest.php | 5 ++ app/Http/Admin/Services/PointGift.php | 5 ++ app/Http/Admin/Services/PointHistory.php | 5 ++ app/Http/Admin/Services/PointRedeem.php | 5 ++ app/Http/Admin/Services/Question.php | 5 ++ app/Http/Admin/Services/Refund.php | 5 ++ app/Http/Admin/Services/Report.php | 5 ++ app/Http/Admin/Services/Resource.php | 5 ++ app/Http/Admin/Services/Review.php | 5 ++ app/Http/Admin/Services/Role.php | 5 ++ app/Http/Admin/Services/Service.php | 5 ++ app/Http/Admin/Services/Session.php | 5 ++ app/Http/Admin/Services/Setting.php | 5 ++ app/Http/Admin/Services/Slide.php | 5 ++ app/Http/Admin/Services/Stat.php | 5 ++ app/Http/Admin/Services/Student.php | 5 ++ app/Http/Admin/Services/Tag.php | 5 ++ app/Http/Admin/Services/Topic.php | 5 ++ app/Http/Admin/Services/Trade.php | 5 ++ app/Http/Admin/Services/User.php | 5 ++ app/Http/Admin/Services/Util.php | 5 ++ app/Http/Admin/Services/WxpayTest.php | 5 ++ app/Http/Admin/Views/index/main_app_info.volt | 13 +++--- .../Api/Controllers/AccountController.php | 5 ++ .../Api/Controllers/ChapterController.php | 5 ++ .../Api/Controllers/ConsultController.php | 5 ++ app/Http/Api/Controllers/Controller.php | 5 ++ app/Http/Api/Controllers/CourseController.php | 5 ++ app/Http/Api/Controllers/HelpController.php | 5 ++ .../Api/Controllers/ImGroupController.php | 5 ++ app/Http/Api/Controllers/IndexController.php | 5 ++ app/Http/Api/Controllers/LiveController.php | 5 ++ app/Http/Api/Controllers/OrderController.php | 5 ++ app/Http/Api/Controllers/PageController.php | 5 ++ app/Http/Api/Controllers/PublicController.php | 5 ++ app/Http/Api/Controllers/RefundController.php | 5 ++ app/Http/Api/Controllers/ReviewController.php | 5 ++ app/Http/Api/Controllers/SearchController.php | 5 ++ .../Api/Controllers/TeacherController.php | 5 ++ app/Http/Api/Controllers/TradeController.php | 5 ++ app/Http/Api/Controllers/UploadController.php | 5 ++ .../Api/Controllers/UserConsoleController.php | 5 ++ app/Http/Api/Controllers/UserController.php | 5 ++ app/Http/Api/Controllers/VerifyController.php | 5 ++ app/Http/Api/Controllers/VipController.php | 5 ++ app/Http/Api/Module.php | 5 ++ app/Http/Api/Services/Account.php | 5 ++ app/Http/Api/Services/Service.php | 5 ++ app/Http/Api/Services/Trade.php | 5 ++ .../Home/Controllers/AccountController.php | 5 ++ .../Home/Controllers/AnswerController.php | 5 ++ .../Home/Controllers/ArticleController.php | 5 ++ .../Home/Controllers/ChapterController.php | 5 ++ .../Home/Controllers/CommentController.php | 5 ++ .../Home/Controllers/ConnectController.php | 5 ++ .../Home/Controllers/ConsultController.php | 5 ++ app/Http/Home/Controllers/Controller.php | 5 ++ .../Home/Controllers/CourseController.php | 5 ++ app/Http/Home/Controllers/DanmuController.php | 5 ++ app/Http/Home/Controllers/ErrorController.php | 5 ++ .../Home/Controllers/FlashSaleController.php | 5 ++ app/Http/Home/Controllers/HelpController.php | 5 ++ app/Http/Home/Controllers/ImController.php | 5 ++ .../Home/Controllers/ImGroupController.php | 5 ++ .../Controllers/ImGroupUserController.php | 5 ++ app/Http/Home/Controllers/IndexController.php | 5 ++ app/Http/Home/Controllers/LayerController.php | 5 ++ app/Http/Home/Controllers/LiveController.php | 5 ++ app/Http/Home/Controllers/OrderController.php | 5 ++ .../Home/Controllers/PackageController.php | 5 ++ app/Http/Home/Controllers/PageController.php | 5 ++ .../Home/Controllers/PointGiftController.php | 5 ++ .../Controllers/PointRedeemController.php | 5 ++ .../Home/Controllers/PublicController.php | 5 ++ .../Home/Controllers/QuestionController.php | 5 ++ .../Home/Controllers/RefundController.php | 5 ++ .../Home/Controllers/ReportController.php | 5 ++ .../Home/Controllers/ReviewController.php | 5 ++ .../Home/Controllers/SearchController.php | 5 ++ app/Http/Home/Controllers/TagController.php | 5 ++ .../Controllers/TeacherConsoleController.php | 5 ++ .../Home/Controllers/TeacherController.php | 5 ++ app/Http/Home/Controllers/TopicController.php | 5 ++ app/Http/Home/Controllers/TradeController.php | 5 ++ .../Home/Controllers/UploadController.php | 5 ++ .../Controllers/UserConsoleController.php | 5 ++ app/Http/Home/Controllers/UserController.php | 5 ++ .../Home/Controllers/VerifyController.php | 5 ++ app/Http/Home/Controllers/VipController.php | 5 ++ .../WeChatOfficialAccountController.php | 5 ++ .../Home/Controllers/WidgetController.php | 5 ++ app/Http/Home/Module.php | 5 ++ app/Http/Home/Services/Account.php | 5 ++ app/Http/Home/Services/Answer.php | 5 ++ app/Http/Home/Services/Article.php | 5 ++ app/Http/Home/Services/ArticleQuery.php | 5 ++ app/Http/Home/Services/Connect.php | 5 ++ app/Http/Home/Services/CourseQuery.php | 5 ++ app/Http/Home/Services/Im.php | 5 ++ app/Http/Home/Services/ImCsTrait.php | 5 ++ app/Http/Home/Services/ImFriendTrait.php | 5 ++ app/Http/Home/Services/ImGroup.php | 36 ++++++++++----- app/Http/Home/Services/ImGroupTrait.php | 5 ++ app/Http/Home/Services/ImGroupUser.php | 5 ++ app/Http/Home/Services/ImMessageTrait.php | 7 ++- app/Http/Home/Services/ImNoticeTrait.php | 5 ++ app/Http/Home/Services/ImStatTrait.php | 5 ++ app/Http/Home/Services/Index.php | 5 ++ app/Http/Home/Services/Question.php | 5 ++ app/Http/Home/Services/QuestionQuery.php | 5 ++ app/Http/Home/Services/Service.php | 5 ++ app/Http/Home/Services/ShareUrl.php | 5 ++ app/Http/Home/Services/Trade.php | 5 ++ .../Home/Services/WeChatOfficialAccount.php | 5 ++ app/Http/Home/Views/im/chatlog.volt | 9 ++-- app/Http/Home/Views/im/group/show.volt | 8 ++-- app/Library/AppInfo.php | 5 ++ app/Library/Benchmark.php | 5 ++ app/Library/Cache/Backend/Redis.php | 5 ++ app/Library/Cache/Frontend/Json.php | 5 ++ app/Library/CsrfToken.php | 5 ++ app/Library/Helper.php | 5 ++ app/Library/Http/Request.php | 5 ++ app/Library/Http/Response.php | 5 ++ app/Library/Logger.php | 5 ++ app/Library/Mvc/View.php | 5 ++ .../Paginator/Adapter/QueryBuilder.php | 5 ++ app/Library/Paginator/Adapter/XunSearch.php | 5 ++ app/Library/Paginator/Query.php | 5 ++ app/Library/Seo.php | 5 ++ app/Library/Sitemap.php | 5 ++ app/Library/Utils/FileInfo.php | 5 ++ app/Library/Utils/Lock.php | 5 ++ app/Library/Utils/Password.php | 5 ++ app/Library/Utils/ServerInfo.php | 5 ++ app/Library/Utils/Word.php | 5 ++ app/Library/Validators/Common.php | 5 ++ app/Library/Validators/IdCard.php | 5 ++ app/Listeners/Account.php | 5 ++ app/Listeners/Answer.php | 5 ++ app/Listeners/Article.php | 5 ++ app/Listeners/Comment.php | 5 ++ app/Listeners/Consult.php | 5 ++ app/Listeners/Db.php | 5 ++ app/Listeners/ImMessage.php | 5 ++ app/Listeners/Listener.php | 5 ++ app/Listeners/Question.php | 5 ++ app/Listeners/Report.php | 5 ++ app/Listeners/Review.php | 5 ++ app/Listeners/Site.php | 5 ++ app/Listeners/Trade.php | 5 ++ app/Listeners/UserDailyCounter.php | 5 ++ app/Models/Account.php | 7 ++- app/Models/Answer.php | 7 ++- app/Models/AnswerLike.php | 7 ++- app/Models/Area.php | 7 ++- app/Models/Article.php | 7 ++- app/Models/ArticleFavorite.php | 7 ++- app/Models/ArticleLike.php | 7 ++- app/Models/ArticleTag.php | 7 ++- app/Models/Audit.php | 7 ++- app/Models/Category.php | 7 ++- app/Models/Chapter.php | 7 ++- app/Models/ChapterLike.php | 7 ++- app/Models/ChapterLive.php | 7 ++- app/Models/ChapterOffline.php | 7 ++- app/Models/ChapterRead.php | 7 ++- app/Models/ChapterUser.php | 7 ++- app/Models/ChapterVod.php | 7 ++- app/Models/Client.php | 7 ++- app/Models/Comment.php | 5 ++ app/Models/CommentLike.php | 7 ++- app/Models/Connect.php | 7 ++- app/Models/Consult.php | 7 ++- app/Models/ConsultLike.php | 7 ++- app/Models/Course.php | 7 ++- app/Models/CourseCategory.php | 7 ++- app/Models/CourseFavorite.php | 7 ++- app/Models/CoursePackage.php | 7 ++- app/Models/CourseRating.php | 7 ++- app/Models/CourseRelated.php | 7 ++- app/Models/CourseTopic.php | 7 ++- app/Models/CourseUser.php | 7 ++- app/Models/Danmu.php | 7 ++- app/Models/FlashSale.php | 7 ++- app/Models/Help.php | 7 ++- app/Models/ImFriendGroup.php | 7 ++- app/Models/ImFriendUser.php | 7 ++- app/Models/ImGroup.php | 7 ++- app/Models/ImGroupUser.php | 7 ++- app/Models/ImMessage.php | 7 ++- app/Models/ImNotice.php | 7 ++- app/Models/ImUser.php | 7 ++- app/Models/Learning.php | 7 ++- app/Models/Model.php | 7 ++- app/Models/Nav.php | 7 ++- app/Models/Notification.php | 7 ++- app/Models/Online.php | 7 ++- app/Models/Order.php | 7 ++- app/Models/OrderStatus.php | 7 ++- app/Models/Package.php | 7 ++- app/Models/Page.php | 7 ++- app/Models/PointGift.php | 7 ++- app/Models/PointHistory.php | 7 ++- app/Models/PointRedeem.php | 7 ++- app/Models/Question.php | 7 ++- app/Models/QuestionFavorite.php | 7 ++- app/Models/QuestionLike.php | 7 ++- app/Models/QuestionTag.php | 7 ++- app/Models/Reason.php | 7 ++- app/Models/Refund.php | 7 ++- app/Models/RefundStatus.php | 7 ++- app/Models/Report.php | 7 ++- app/Models/Resource.php | 7 ++- app/Models/Review.php | 7 ++- app/Models/ReviewLike.php | 7 ++- app/Models/Reward.php | 7 ++- app/Models/Role.php | 7 ++- app/Models/Setting.php | 7 ++- app/Models/Slide.php | 7 ++- app/Models/Tag.php | 7 ++- app/Models/TagFollow.php | 7 ++- app/Models/Task.php | 7 ++- app/Models/Topic.php | 7 ++- app/Models/Trade.php | 7 ++- app/Models/TradeStatus.php | 7 ++- app/Models/Upload.php | 7 ++- app/Models/User.php | 7 ++- app/Models/UserBalance.php | 7 ++- app/Models/UserContact.php | 7 ++- app/Models/UserSession.php | 7 ++- app/Models/UserToken.php | 7 ++- app/Models/Vip.php | 7 ++- app/Models/WeChatSubscribe.php | 7 ++- app/Providers/Annotation.php | 7 ++- app/Providers/Cache.php | 7 ++- app/Providers/CliDispatcher.php | 7 ++- app/Providers/Config.php | 7 ++- app/Providers/Cookie.php | 7 ++- app/Providers/Crypt.php | 7 ++- app/Providers/CsrfToken.php | 7 ++- app/Providers/Database.php | 7 ++- app/Providers/Escaper.php | 7 ++- app/Providers/EventsManager.php | 7 ++- app/Providers/FlashSession.php | 7 ++- app/Providers/Logger.php | 7 ++- app/Providers/MetaData.php | 7 ++- app/Providers/Provider.php | 7 ++- app/Providers/ProviderInterface.php | 7 ++- app/Providers/Request.php | 7 ++- app/Providers/Response.php | 7 ++- app/Providers/Router.php | 7 ++- app/Providers/Session.php | 7 ++- app/Providers/Url.php | 7 ++- app/Providers/View.php | 7 ++- app/Providers/Volt.php | 7 ++- app/Repos/Account.php | 5 ++ app/Repos/Answer.php | 5 ++ app/Repos/AnswerLike.php | 5 ++ app/Repos/Article.php | 5 ++ app/Repos/ArticleFavorite.php | 5 ++ app/Repos/ArticleLike.php | 5 ++ app/Repos/ArticleTag.php | 5 ++ app/Repos/Audit.php | 5 ++ app/Repos/Category.php | 5 ++ app/Repos/Chapter.php | 5 ++ app/Repos/ChapterLike.php | 5 ++ app/Repos/ChapterLive.php | 5 ++ app/Repos/ChapterUser.php | 5 ++ app/Repos/Comment.php | 5 ++ app/Repos/CommentLike.php | 5 ++ app/Repos/Connect.php | 5 ++ app/Repos/Consult.php | 5 ++ app/Repos/ConsultLike.php | 5 ++ app/Repos/Course.php | 5 ++ app/Repos/CourseCategory.php | 5 ++ app/Repos/CourseFavorite.php | 5 ++ app/Repos/CoursePackage.php | 5 ++ app/Repos/CourseRating.php | 5 ++ app/Repos/CourseRelated.php | 5 ++ app/Repos/CourseTopic.php | 5 ++ app/Repos/CourseUser.php | 5 ++ app/Repos/Danmu.php | 5 ++ app/Repos/FlashSale.php | 5 ++ app/Repos/Help.php | 5 ++ app/Repos/ImFriendGroup.php | 5 ++ app/Repos/ImFriendUser.php | 5 ++ app/Repos/ImGroup.php | 5 ++ app/Repos/ImGroupUser.php | 5 ++ app/Repos/ImMessage.php | 5 ++ app/Repos/ImNotice.php | 5 ++ app/Repos/ImUser.php | 5 ++ app/Repos/Learning.php | 5 ++ app/Repos/Nav.php | 5 ++ app/Repos/Notification.php | 5 ++ app/Repos/Online.php | 5 ++ app/Repos/Order.php | 5 ++ app/Repos/Package.php | 5 ++ app/Repos/Page.php | 5 ++ app/Repos/PointGift.php | 5 ++ app/Repos/PointHistory.php | 5 ++ app/Repos/PointRedeem.php | 5 ++ app/Repos/Question.php | 5 ++ app/Repos/QuestionFavorite.php | 5 ++ app/Repos/QuestionLike.php | 5 ++ app/Repos/QuestionTag.php | 5 ++ app/Repos/Refund.php | 5 ++ app/Repos/Report.php | 5 ++ app/Repos/Repository.php | 5 ++ app/Repos/Resource.php | 5 ++ app/Repos/Review.php | 5 ++ app/Repos/ReviewLike.php | 5 ++ app/Repos/Reward.php | 5 ++ app/Repos/Role.php | 5 ++ app/Repos/Setting.php | 5 ++ app/Repos/Slide.php | 5 ++ app/Repos/Stat.php | 5 ++ app/Repos/Tag.php | 5 ++ app/Repos/TagFollow.php | 5 ++ app/Repos/TeacherLive.php | 5 ++ app/Repos/Topic.php | 5 ++ app/Repos/Trade.php | 5 ++ app/Repos/Upload.php | 5 ++ app/Repos/User.php | 5 ++ app/Repos/UserSession.php | 5 ++ app/Repos/UserToken.php | 5 ++ app/Repos/Vip.php | 5 ++ app/Repos/WeChatSubscribe.php | 5 ++ app/Services/Auth.php | 5 ++ app/Services/Auth/Admin.php | 5 ++ app/Services/Auth/Api.php | 5 ++ app/Services/Auth/Home.php | 5 ++ app/Services/Captcha.php | 5 ++ app/Services/Category.php | 5 ++ app/Services/ChapterVod.php | 5 ++ app/Services/CourseStat.php | 5 ++ app/Services/DingTalkNotice.php | 5 ++ app/Services/Live.php | 5 ++ app/Services/LiveNotify.php | 5 ++ app/Services/Logic/Account/EmailUpdate.php | 5 ++ app/Services/Logic/Account/OAuthProvider.php | 5 ++ app/Services/Logic/Account/PasswordReset.php | 5 ++ app/Services/Logic/Account/PasswordUpdate.php | 5 ++ app/Services/Logic/Account/PhoneUpdate.php | 5 ++ app/Services/Logic/Account/Register.php | 5 ++ app/Services/Logic/Answer/AnswerAccept.php | 5 ++ app/Services/Logic/Answer/AnswerCreate.php | 5 ++ app/Services/Logic/Answer/AnswerDataTrait.php | 5 ++ app/Services/Logic/Answer/AnswerDelete.php | 5 ++ app/Services/Logic/Answer/AnswerInfo.php | 5 ++ app/Services/Logic/Answer/AnswerLike.php | 5 ++ app/Services/Logic/Answer/AnswerList.php | 5 ++ app/Services/Logic/Answer/AnswerUpdate.php | 5 ++ app/Services/Logic/Answer/CommentList.php | 5 ++ app/Services/Logic/AnswerTrait.php | 5 ++ app/Services/Logic/Article/ArticleCreate.php | 5 ++ .../Logic/Article/ArticleDataTrait.php | 5 ++ app/Services/Logic/Article/ArticleDelete.php | 5 ++ .../Logic/Article/ArticleFavorite.php | 5 ++ app/Services/Logic/Article/ArticleInfo.php | 5 ++ app/Services/Logic/Article/ArticleLike.php | 5 ++ app/Services/Logic/Article/ArticleList.php | 5 ++ app/Services/Logic/Article/ArticleUpdate.php | 5 ++ app/Services/Logic/Article/CommentList.php | 5 ++ .../Logic/Article/RelatedArticleList.php | 5 ++ app/Services/Logic/Article/TopAuthorList.php | 5 ++ app/Services/Logic/Article/XmTagList.php | 5 ++ app/Services/Logic/ArticleTrait.php | 5 ++ app/Services/Logic/Chapter/BasicInfo.php | 5 ++ app/Services/Logic/Chapter/ChapterInfo.php | 5 ++ app/Services/Logic/Chapter/ChapterLike.php | 5 ++ app/Services/Logic/Chapter/CommentList.php | 5 ++ app/Services/Logic/Chapter/ConsultList.php | 5 ++ app/Services/Logic/Chapter/DanmuList.php | 5 ++ app/Services/Logic/Chapter/Learning.php | 5 ++ app/Services/Logic/Chapter/ResourceList.php | 5 ++ app/Services/Logic/ChapterTrait.php | 5 ++ .../Logic/Comment/AfterCreateTrait.php | 5 ++ app/Services/Logic/Comment/CommentCreate.php | 5 ++ .../Logic/Comment/CommentDataTrait.php | 5 ++ app/Services/Logic/Comment/CommentDelete.php | 5 ++ app/Services/Logic/Comment/CommentInfo.php | 5 ++ app/Services/Logic/Comment/CommentLike.php | 5 ++ app/Services/Logic/Comment/CommentList.php | 5 ++ app/Services/Logic/Comment/CommentReply.php | 5 ++ app/Services/Logic/Comment/CountTrait.php | 5 ++ app/Services/Logic/Comment/ListTrait.php | 5 ++ app/Services/Logic/Comment/ReplyList.php | 5 ++ app/Services/Logic/CommentTrait.php | 5 ++ app/Services/Logic/Consult/ConsultCreate.php | 5 ++ app/Services/Logic/Consult/ConsultDelete.php | 5 ++ app/Services/Logic/Consult/ConsultInfo.php | 5 ++ app/Services/Logic/Consult/ConsultLike.php | 5 ++ app/Services/Logic/Consult/ConsultReply.php | 5 ++ app/Services/Logic/Consult/ConsultUpdate.php | 5 ++ app/Services/Logic/ConsultTrait.php | 5 ++ app/Services/Logic/Course/BasicInfo.php | 5 ++ app/Services/Logic/Course/CategoryList.php | 5 ++ app/Services/Logic/Course/ChapterList.php | 5 ++ app/Services/Logic/Course/ConsultList.php | 5 ++ .../Logic/Course/ConsultListTrait.php | 5 ++ app/Services/Logic/Course/CourseFavorite.php | 5 ++ app/Services/Logic/Course/CourseInfo.php | 5 ++ app/Services/Logic/Course/CourseList.php | 5 ++ app/Services/Logic/Course/PackageList.php | 5 ++ app/Services/Logic/Course/RecommendedList.php | 5 ++ app/Services/Logic/Course/RelatedList.php | 5 ++ app/Services/Logic/Course/ReviewList.php | 5 ++ app/Services/Logic/Course/TeacherList.php | 5 ++ app/Services/Logic/Course/TopicList.php | 5 ++ app/Services/Logic/CourseTrait.php | 5 ++ app/Services/Logic/Danmu/DanmuCreate.php | 5 ++ app/Services/Logic/Danmu/DanmuInfo.php | 5 ++ app/Services/Logic/DanmuTrait.php | 5 ++ app/Services/Logic/FlashSale/OrderCreate.php | 5 ++ app/Services/Logic/FlashSale/Queue.php | 5 ++ app/Services/Logic/FlashSale/SaleList.php | 5 ++ .../Logic/FlashSale/UserOrderCache.php | 5 ++ app/Services/Logic/FlashSaleTrait.php | 5 ++ app/Services/Logic/Help/HelpInfo.php | 5 ++ app/Services/Logic/Help/HelpList.php | 5 ++ app/Services/Logic/HelpTrait.php | 5 ++ app/Services/Logic/Im/GroupInfo.php | 5 ++ app/Services/Logic/Im/GroupList.php | 5 ++ app/Services/Logic/Im/GroupUserList.php | 5 ++ app/Services/Logic/ImGroupTrait.php | 5 ++ app/Services/Logic/Live/LiveChapter.php | 5 ++ app/Services/Logic/Live/LiveList.php | 5 ++ app/Services/Logic/Notice/AccountLogin.php | 5 ++ app/Services/Logic/Notice/ConsultReply.php | 5 ++ .../Logic/Notice/DingTalk/ConsultCreate.php | 5 ++ .../Logic/Notice/DingTalk/CustomService.php | 5 ++ .../Logic/Notice/DingTalk/PointRedeem.php | 5 ++ .../Logic/Notice/DingTalk/ServerMonitor.php | 5 ++ .../Logic/Notice/DingTalk/TeacherLive.php | 5 ++ app/Services/Logic/Notice/LiveBegin.php | 5 ++ app/Services/Logic/Notice/Mail/Test.php | 5 ++ app/Services/Logic/Notice/Mail/Verify.php | 5 ++ app/Services/Logic/Notice/OrderFinish.php | 5 ++ .../Logic/Notice/PointGoodsDeliver.php | 5 ++ app/Services/Logic/Notice/RefundFinish.php | 5 ++ .../Logic/Notice/Sms/ConsultReply.php | 5 ++ .../Logic/Notice/Sms/GoodsDeliver.php | 5 ++ app/Services/Logic/Notice/Sms/LiveBegin.php | 5 ++ app/Services/Logic/Notice/Sms/OrderFinish.php | 5 ++ .../Logic/Notice/Sms/RefundFinish.php | 5 ++ app/Services/Logic/Notice/Sms/Test.php | 5 ++ app/Services/Logic/Notice/Sms/Verify.php | 5 ++ .../Logic/Notice/System/AnswerAccepted.php | 5 ++ .../Logic/Notice/System/AnswerApproved.php | 5 ++ .../Logic/Notice/System/AnswerCommented.php | 5 ++ .../Logic/Notice/System/AnswerLiked.php | 5 ++ .../Logic/Notice/System/AnswerRejected.php | 5 ++ .../Logic/Notice/System/ArticleApproved.php | 5 ++ .../Logic/Notice/System/ArticleCommented.php | 5 ++ .../Logic/Notice/System/ArticleDeleted.php | 5 ++ .../Logic/Notice/System/ArticleFavorited.php | 5 ++ .../Logic/Notice/System/ArticleLiked.php | 5 ++ .../Logic/Notice/System/ArticleRejected.php | 5 ++ .../Logic/Notice/System/ChapterCommented.php | 5 ++ .../Logic/Notice/System/CommentLiked.php | 5 ++ .../Logic/Notice/System/CommentReplied.php | 5 ++ .../Logic/Notice/System/ConsultLiked.php | 5 ++ .../Logic/Notice/System/QuestionAnswered.php | 5 ++ .../Logic/Notice/System/QuestionApproved.php | 5 ++ .../Logic/Notice/System/QuestionCommented.php | 5 ++ .../Logic/Notice/System/QuestionFavorited.php | 5 ++ .../Logic/Notice/System/QuestionLiked.php | 5 ++ .../Logic/Notice/System/QuestionRejected.php | 5 ++ .../Logic/Notice/System/ReviewLiked.php | 5 ++ .../Logic/Notice/WeChat/AccountLogin.php | 5 ++ .../Logic/Notice/WeChat/ConsultReply.php | 5 ++ .../Logic/Notice/WeChat/GoodsDeliver.php | 5 ++ .../Logic/Notice/WeChat/LiveBegin.php | 5 ++ .../Logic/Notice/WeChat/OrderFinish.php | 5 ++ .../Logic/Notice/WeChat/RefundFinish.php | 5 ++ app/Services/Logic/Order/OrderCancel.php | 5 ++ app/Services/Logic/Order/OrderConfirm.php | 5 ++ app/Services/Logic/Order/OrderCreate.php | 5 ++ app/Services/Logic/Order/OrderInfo.php | 5 ++ app/Services/Logic/Order/PayProvider.php | 5 ++ app/Services/Logic/OrderTrait.php | 5 ++ app/Services/Logic/Package/CourseList.php | 5 ++ app/Services/Logic/Package/PackageInfo.php | 5 ++ app/Services/Logic/PackageTrait.php | 5 ++ app/Services/Logic/Page/PageInfo.php | 5 ++ app/Services/Logic/PageTrait.php | 5 ++ app/Services/Logic/Point/GiftInfo.php | 5 ++ app/Services/Logic/Point/GiftList.php | 5 ++ .../Logic/Point/History/AccountRegister.php | 5 ++ .../Logic/Point/History/AnswerAccepted.php | 5 ++ .../Logic/Point/History/AnswerLiked.php | 5 ++ .../Logic/Point/History/AnswerPost.php | 5 ++ .../Logic/Point/History/ArticleLiked.php | 5 ++ .../Logic/Point/History/ArticlePost.php | 5 ++ .../Logic/Point/History/ChapterStudy.php | 5 ++ .../Logic/Point/History/CommentPost.php | 5 ++ .../Logic/Point/History/CourseReview.php | 5 ++ .../Logic/Point/History/ImDiscuss.php | 5 ++ .../Logic/Point/History/OrderConsume.php | 5 ++ .../Logic/Point/History/PointRedeem.php | 5 ++ .../Logic/Point/History/PointRefund.php | 5 ++ .../Logic/Point/History/QuestionLiked.php | 5 ++ .../Logic/Point/History/QuestionPost.php | 5 ++ .../Logic/Point/History/SiteVisit.php | 5 ++ app/Services/Logic/Point/HotGiftList.php | 5 ++ app/Services/Logic/Point/PointHistory.php | 5 ++ app/Services/Logic/Point/PointRedeem.php | 5 ++ app/Services/Logic/PointGiftTrait.php | 5 ++ app/Services/Logic/Question/AnswerList.php | 5 ++ app/Services/Logic/Question/CommentList.php | 5 ++ .../Logic/Question/HotQuestionList.php | 5 ++ .../Logic/Question/QuestionCreate.php | 5 ++ .../Logic/Question/QuestionDataTrait.php | 5 ++ .../Logic/Question/QuestionDelete.php | 5 ++ .../Logic/Question/QuestionFavorite.php | 5 ++ app/Services/Logic/Question/QuestionInfo.php | 5 ++ app/Services/Logic/Question/QuestionLike.php | 5 ++ app/Services/Logic/Question/QuestionList.php | 5 ++ .../Logic/Question/QuestionUpdate.php | 5 ++ .../Logic/Question/RelatedQuestionList.php | 5 ++ .../Logic/Question/TopAnswererList.php | 5 ++ app/Services/Logic/Question/XmTagList.php | 5 ++ app/Services/Logic/QuestionTrait.php | 5 ++ app/Services/Logic/Refund/RefundCancel.php | 5 ++ app/Services/Logic/Refund/RefundConfirm.php | 5 ++ app/Services/Logic/Refund/RefundCreate.php | 5 ++ app/Services/Logic/Refund/RefundInfo.php | 5 ++ app/Services/Logic/RefundTrait.php | 5 ++ app/Services/Logic/Report/CountTrait.php | 5 ++ app/Services/Logic/Report/ReasonList.php | 5 ++ app/Services/Logic/Report/ReportCreate.php | 5 ++ app/Services/Logic/Review/ReviewCreate.php | 5 ++ app/Services/Logic/Review/ReviewDelete.php | 5 ++ app/Services/Logic/Review/ReviewInfo.php | 5 ++ app/Services/Logic/Review/ReviewLike.php | 5 ++ app/Services/Logic/Review/ReviewUpdate.php | 5 ++ app/Services/Logic/ReviewTrait.php | 5 ++ app/Services/Logic/Reward/OptionList.php | 5 ++ app/Services/Logic/Search/Article.php | 5 ++ app/Services/Logic/Search/Course.php | 5 ++ app/Services/Logic/Search/Group.php | 5 ++ app/Services/Logic/Search/Handler.php | 5 ++ app/Services/Logic/Search/Question.php | 5 ++ app/Services/Logic/Search/User.php | 5 ++ app/Services/Logic/Service.php | 5 ++ app/Services/Logic/Tag/FollowList.php | 5 ++ app/Services/Logic/Tag/TagFollow.php | 5 ++ app/Services/Logic/Tag/TagList.php | 5 ++ app/Services/Logic/TagTrait.php | 5 ++ .../Logic/Teacher/Console/ConsultList.php | 5 ++ .../Logic/Teacher/Console/CourseList.php | 5 ++ .../Logic/Teacher/Console/LiveList.php | 5 ++ .../Logic/Teacher/Console/LivePushUrl.php | 5 ++ app/Services/Logic/Teacher/CourseList.php | 5 ++ app/Services/Logic/Teacher/TeacherInfo.php | 5 ++ app/Services/Logic/Teacher/TeacherList.php | 5 ++ app/Services/Logic/Topic/CourseList.php | 5 ++ app/Services/Logic/Topic/TopicInfo.php | 5 ++ app/Services/Logic/TopicTrait.php | 5 ++ app/Services/Logic/Trade/TradeCreate.php | 5 ++ app/Services/Logic/Trade/TradeInfo.php | 5 ++ app/Services/Logic/TradeTrait.php | 5 ++ app/Services/Logic/User/AnswerList.php | 5 ++ app/Services/Logic/User/ArticleList.php | 5 ++ .../Logic/User/Console/AccountInfo.php | 5 ++ .../Logic/User/Console/AnswerList.php | 5 ++ .../Logic/User/Console/ArticleList.php | 5 ++ .../Logic/User/Console/BalanceInfo.php | 5 ++ .../Logic/User/Console/ConnectDelete.php | 5 ++ .../Logic/User/Console/ConnectList.php | 5 ++ .../Logic/User/Console/ConsultList.php | 5 ++ .../Logic/User/Console/ContactInfo.php | 5 ++ .../Logic/User/Console/ContactUpdate.php | 5 ++ .../Logic/User/Console/CourseList.php | 5 ++ .../Logic/User/Console/FavoriteList.php | 5 ++ .../Logic/User/Console/FriendList.php | 5 ++ app/Services/Logic/User/Console/GroupList.php | 5 ++ .../Logic/User/Console/NotificationList.php | 5 ++ .../Logic/User/Console/NotificationRead.php | 5 ++ .../Logic/User/Console/NotifyStats.php | 5 ++ app/Services/Logic/User/Console/Online.php | 5 ++ app/Services/Logic/User/Console/OrderList.php | 5 ++ .../Logic/User/Console/PointHistory.php | 5 ++ .../Logic/User/Console/PointRedeemList.php | 5 ++ .../Logic/User/Console/ProfileInfo.php | 5 ++ .../Logic/User/Console/ProfileUpdate.php | 5 ++ .../Logic/User/Console/QuestionList.php | 5 ++ .../Logic/User/Console/RefundList.php | 5 ++ .../Logic/User/Console/ReviewList.php | 5 ++ app/Services/Logic/User/CourseList.php | 5 ++ app/Services/Logic/User/FriendList.php | 5 ++ app/Services/Logic/User/GroupList.php | 5 ++ app/Services/Logic/User/QuestionList.php | 5 ++ app/Services/Logic/User/UserInfo.php | 5 ++ app/Services/Logic/UserTrait.php | 5 ++ app/Services/Logic/Verify/EmailCode.php | 5 ++ app/Services/Logic/Verify/SmsCode.php | 5 ++ app/Services/Logic/Vip/CourseList.php | 5 ++ app/Services/Logic/Vip/OptionList.php | 5 ++ app/Services/Logic/Vip/UserList.php | 5 ++ app/Services/Mailer.php | 5 ++ app/Services/MyStorage.php | 5 ++ app/Services/OAuth.php | 5 ++ app/Services/OAuth/QQ.php | 5 ++ app/Services/OAuth/WeiBo.php | 5 ++ app/Services/OAuth/WeiXin.php | 5 ++ app/Services/Pay.php | 5 ++ app/Services/Pay/Alipay.php | 5 ++ app/Services/Pay/AlipayGateway.php | 5 ++ app/Services/Pay/Wxpay.php | 5 ++ app/Services/Pay/WxpayGateway.php | 5 ++ app/Services/Refund.php | 5 ++ app/Services/Search/ArticleDocument.php | 5 ++ app/Services/Search/ArticleSearcher.php | 5 ++ app/Services/Search/CourseDocument.php | 5 ++ app/Services/Search/CourseSearcher.php | 5 ++ app/Services/Search/GroupDocument.php | 5 ++ app/Services/Search/GroupSearcher.php | 5 ++ app/Services/Search/QuestionDocument.php | 5 ++ app/Services/Search/QuestionSearcher.php | 5 ++ app/Services/Search/Searcher.php | 5 ++ app/Services/Search/UserDocument.php | 5 ++ app/Services/Search/UserSearcher.php | 5 ++ app/Services/Service.php | 5 ++ app/Services/Smser.php | 5 ++ app/Services/Storage.php | 5 ++ app/Services/Sync/ArticleIndex.php | 5 ++ app/Services/Sync/ArticleScore.php | 5 ++ app/Services/Sync/CourseIndex.php | 5 ++ app/Services/Sync/CourseScore.php | 5 ++ app/Services/Sync/GroupIndex.php | 5 ++ app/Services/Sync/Learning.php | 5 ++ app/Services/Sync/QuestionIndex.php | 5 ++ app/Services/Sync/QuestionScore.php | 5 ++ app/Services/Sync/UserIndex.php | 5 ++ app/Services/Throttle.php | 5 ++ app/Services/Utils/ArticleScore.php | 5 ++ app/Services/Utils/CourseScore.php | 5 ++ app/Services/Utils/IndexCourseCache.php | 5 ++ app/Services/Utils/QuestionScore.php | 5 ++ app/Services/Verify.php | 5 ++ app/Services/Vod.php | 5 ++ app/Services/WeChat.php | 5 ++ app/Services/WeChatNotice.php | 5 ++ app/Traits/Auth.php | 5 ++ app/Traits/Client.php | 7 ++- app/Traits/Response.php | 7 ++- app/Traits/Security.php | 7 ++- app/Validators/Account.php | 5 ++ app/Validators/Answer.php | 5 ++ app/Validators/Article.php | 5 ++ app/Validators/ArticleQuery.php | 5 ++ app/Validators/Captcha.php | 5 ++ app/Validators/Category.php | 5 ++ app/Validators/Chapter.php | 5 ++ app/Validators/ChapterLive.php | 5 ++ app/Validators/ChapterOffline.php | 5 ++ app/Validators/ChapterRead.php | 5 ++ app/Validators/ChapterVod.php | 5 ++ app/Validators/Client.php | 5 ++ app/Validators/Comment.php | 5 ++ app/Validators/Connect.php | 5 ++ app/Validators/Consult.php | 5 ++ app/Validators/Course.php | 17 +++++-- app/Validators/CourseOffline.php | 5 ++ app/Validators/CourseQuery.php | 5 ++ app/Validators/CourseUser.php | 5 ++ app/Validators/Danmu.php | 5 ++ app/Validators/FlashSale.php | 5 ++ app/Validators/Help.php | 5 ++ app/Validators/ImFriendGroup.php | 5 ++ app/Validators/ImFriendUser.php | 5 ++ app/Validators/ImGroup.php | 5 ++ app/Validators/ImGroupUser.php | 5 ++ app/Validators/ImMessage.php | 5 ++ app/Validators/ImNotice.php | 5 ++ app/Validators/ImUser.php | 5 ++ app/Validators/Learning.php | 5 ++ app/Validators/Live.php | 5 ++ app/Validators/Nav.php | 5 ++ app/Validators/Order.php | 5 ++ app/Validators/Package.php | 5 ++ app/Validators/Page.php | 5 ++ app/Validators/PointGift.php | 5 ++ app/Validators/PointRedeem.php | 5 ++ app/Validators/Question.php | 5 ++ app/Validators/QuestionQuery.php | 5 ++ app/Validators/Refund.php | 5 ++ app/Validators/Report.php | 5 ++ app/Validators/Resource.php | 5 ++ app/Validators/Review.php | 5 ++ app/Validators/Reward.php | 5 ++ app/Validators/Role.php | 5 ++ app/Validators/Security.php | 5 ++ app/Validators/Slide.php | 5 ++ app/Validators/Tag.php | 5 ++ app/Validators/Topic.php | 5 ++ app/Validators/Trade.php | 5 ++ app/Validators/Upload.php | 5 ++ app/Validators/User.php | 5 ++ app/Validators/UserContact.php | 5 ++ app/Validators/UserLimit.php | 5 ++ app/Validators/Validator.php | 5 ++ app/Validators/Verify.php | 5 ++ app/Validators/Vip.php | 5 ++ bootstrap/ConsoleErrorHandler.php | 5 ++ bootstrap/ConsoleKernel.php | 7 ++- bootstrap/Helper.php | 7 ++- bootstrap/HttpErrorHandler.php | 5 ++ bootstrap/HttpKernel.php | 5 ++ bootstrap/Kernel.php | 7 ++- config/config.default.php | 5 ++ config/errors.php | 6 +++ config/events.php | 7 ++- config/routes.php | 5 ++ console.php | 6 ++- db/migrations/20200827063842_init_table.php | 5 ++ .../20200827112717_insert_setting_data.php | 5 ++ .../20200827113559_insert_user_data.php | 5 ++ .../20200827120717_insert_nav_data.php | 5 ++ .../20200901114014_insert_vip_data.php | 5 ++ .../20200901114122_insert_reward_data.php | 5 ++ .../20200901121917_insert_role_data.php | 5 ++ .../20201004095647_create_online_table.php | 5 ++ .../20201205091213_create_connect_table.php | 5 ++ ...201205112717_insert_oauth_setting_data.php | 5 ++ .../20201212102844_schema_202012121830.php | 5 ++ .../20201212112717_data_202012121830.php | 5 ++ .../20201227081614_schema_202012271615.php | 5 ++ .../20210102041941_schema_202101021220.php | 5 ++ .../20210105023511_schema_202101051030.php | 5 ++ .../20210105024511_data_202101051130.php | 5 ++ .../20210106112717_data_202101061830.php | 5 ++ .../20210126024511_data_202101261130.php | 5 ++ .../20210126081614_schema_202101261615.php | 5 ++ .../20210203081614_schema_202102031615.php | 5 ++ .../20210213093244_schema_202102131730.php | 5 ++ .../20210215024511_data_202102151130.php | 5 ++ .../20210215034511_schema_202102151230.php | 5 ++ .../20210228035113_data_202102280351.php | 5 ++ .../20210302021013_schema_202103021010.php | 5 ++ .../20210305115507_data_202103051930.php | 5 ++ .../20210314045908_schema_202103141300.php | 5 ++ db/migrations/20210324064239.php | 5 ++ db/migrations/20210403184518.php | 5 ++ db/migrations/20210422023157.php | 5 ++ db/migrations/20210430023157.php | 5 ++ db/migrations/20210515063211.php | 5 ++ db/migrations/20210602034627.php | 5 ++ db/migrations/20210610034658.php | 5 ++ phinx.php | 7 ++- public/index.php | 5 ++ public/static/home/js/common.js | 6 +-- public/static/lib/layui/extends/helper.js | 2 +- scheduler.php | 7 ++- 964 files changed, 4992 insertions(+), 158 deletions(-) diff --git a/app/Builders/AnswerList.php b/app/Builders/AnswerList.php index 4633f7b6..7e47e5b4 100644 --- a/app/Builders/AnswerList.php +++ b/app/Builders/AnswerList.php @@ -1,4 +1,9 @@ findUsers(); + $limit = 1000; - if ($users->count() == 0) return; + $totalCount = $this->countUsers(); + + if ($totalCount == 0) return; + + $page = ceil($totalCount / $limit); $handler = new UserSearcher(); @@ -86,9 +96,20 @@ class UserIndexTask extends Task $index->beginRebuild(); - foreach ($users as $user) { - $document = $documenter->setDocument($user); - $index->add($document); + for ($i = 0; $i < $page; $i++) { + + $offset = $i * $limit; + + $users = $this->findUsers($limit, $offset); + + if ($users->count() == 0) break; + + foreach ($users as $user) { + $document = $documenter->setDocument($user); + $index->add($document); + } + + echo "------ fetch users: {$limit},{$offset} ------" . PHP_EOL; } $index->endRebuild(); @@ -111,15 +132,22 @@ class UserIndexTask extends Task } /** - * 查找课程 - * + * @param int $limit + * @param int $offset * @return ResultsetInterface|Resultset|UserModel[] */ - protected function findUsers() + protected function findUsers($limit, $offset) { return UserModel::query() - ->where('deleted = 0') + ->limit($limit, $offset) ->execute(); } + protected function countUsers() + { + $userRepo = new UserRepo(); + + return $userRepo->countUsers(); + } + } diff --git a/app/Console/Tasks/VodEventTask.php b/app/Console/Tasks/VodEventTask.php index b1a70e44..48ef62e7 100644 --- a/app/Console/Tasks/VodEventTask.php +++ b/app/Console/Tasks/VodEventTask.php @@ -1,4 +1,9 @@ course_id = $course->id; $imGroup->name = $course->title; $imGroup->about = $course->summary; - $imGroup->published = 1; if ($imGroup->create() === false) { throw new \RuntimeException('Create ImGroup Failed'); @@ -611,6 +615,10 @@ class Course extends Service $data['name'] = $course->title; } + if ($course->published != $group->published) { + $data['published'] = $course->published; + } + if ($course->teacher_id > 0 && $group->owner_id == 0) { $groupUser = new ImGroupUserModel(); diff --git a/app/Http/Admin/Services/FlashSale.php b/app/Http/Admin/Services/FlashSale.php index e8dea649..3a90363b 100644 --- a/app/Http/Admin/Services/FlashSale.php +++ b/app/Http/Admin/Services/FlashSale.php @@ -1,4 +1,9 @@
应用信息
@@ -9,17 +12,13 @@ 当前版本 - {{ app_info.alias }} {{ app_info.version }} - - - 系统框架 - Phalcon 3.4.5 + {{ app_info.version }} 获取渠道 - Gitee  - Github + Gitee  + Github diff --git a/app/Http/Api/Controllers/AccountController.php b/app/Http/Api/Controllers/AccountController.php index 6ce03879..78bdacc5 100644 --- a/app/Http/Api/Controllers/AccountController.php +++ b/app/Http/Api/Controllers/AccountController.php @@ -1,4 +1,9 @@ checkGroup($id); - $userRepo = new UserRepo(); - - $owner = $userRepo->findById($group->owner_id); + $owner = $this->handleGroupOwner($group); return [ 'id' => $group->id, @@ -52,14 +55,7 @@ class ImGroup extends Service 'about' => $group->about, 'user_count' => $group->user_count, 'msg_count' => $group->msg_count, - 'owner' => [ - 'id' => $owner->id, - 'name' => $owner->name, - 'avatar' => $owner->avatar, - 'title' => $owner->title, - 'about' => $owner->about, - 'vip' => $owner->vip, - ], + 'owner' => $owner, ]; } @@ -129,6 +125,24 @@ class ImGroup extends Service return $group; } + protected function handleGroupOwner(ImGroupModel $group) + { + if ($group->owner_id == 0) return new \stdClass(); + + $userRepo = new UserRepo(); + + $owner = $userRepo->findById($group->owner_id); + + return [ + 'id' => $owner->id, + 'name' => $owner->name, + 'avatar' => $owner->avatar, + 'title' => $owner->title, + 'about' => $owner->about, + 'vip' => $owner->vip, + ]; + } + protected function handleGroupUsers($pager) { if ($pager->total_items == 0) { diff --git a/app/Http/Home/Services/ImGroupTrait.php b/app/Http/Home/Services/ImGroupTrait.php index c55006b1..5425fa82 100644 --- a/app/Http/Home/Services/ImGroupTrait.php +++ b/app/Http/Home/Services/ImGroupTrait.php @@ -1,4 +1,9 @@ $params['type'], + 'receiver_type' => ImMessageModel::TYPE_GROUP, 'receiver_id' => $params['id'], ]; diff --git a/app/Http/Home/Services/ImNoticeTrait.php b/app/Http/Home/Services/ImNoticeTrait.php index 37a7c926..c2384f41 100644 --- a/app/Http/Home/Services/ImNoticeTrait.php +++ b/app/Http/Home/Services/ImNoticeTrait.php @@ -1,4 +1,9 @@ <%# layui.each(d.data, function(index, item) { if (item.user.id == parent.layui.layim.cache().mine.id) { %> -
  • <% layui.data.date(item.timestamp) %><% item.user.name %>
    <% layui.layim.content(item.content) %>
  • +
  • <% parent.layui.data.date(item.timestamp) %><% item.user.name %>
    <% parent.layui.layim.content(item.content) %>
  • <%# } else { %> -
  • <% item.user.name %><% layui.data.date(item.timestamp) %>
    <% layui.layim.content(item.content) %>
  • +
  • <% item.user.name %><% parent.layui.data.date(item.timestamp) %>
    <% parent.layui.layim.content(item.content) %>
  • <%# } }); %> @@ -39,11 +38,11 @@