From 341168a9e1d652ebb186819ebe496e709fbdd4fd Mon Sep 17 00:00:00 2001 From: koogua Date: Tue, 30 Mar 2021 11:05:07 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=91=BD=E5=90=8D=E7=A9=BA?= =?UTF-8?q?=E9=97=B4=E5=88=AB=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Http/Api/Controllers/UploadController.php | 1 + app/Http/Home/Controllers/VerifyController.php | 4 ++-- app/Services/Logic/Account/EmailUpdate.php | 4 ++-- app/Services/Logic/Account/OAuthProvider.php | 4 ++-- app/Services/Logic/Account/PasswordReset.php | 4 ++-- app/Services/Logic/Account/PasswordUpdate.php | 4 ++-- app/Services/Logic/Account/PhoneUpdate.php | 4 ++-- app/Services/Logic/Account/Register.php | 4 ++-- app/Services/Logic/Chapter/BasicInfo.php | 4 ++-- app/Services/Logic/Chapter/ChapterInfo.php | 4 ++-- app/Services/Logic/Chapter/ChapterLike.php | 4 ++-- app/Services/Logic/Chapter/ConsultList.php | 4 ++-- app/Services/Logic/Chapter/DanmuList.php | 4 ++-- app/Services/Logic/Chapter/Learning.php | 4 ++-- app/Services/Logic/Chapter/ResourceList.php | 4 ++-- app/Services/Logic/Consult/ConsultCreate.php | 4 ++-- app/Services/Logic/Consult/ConsultDelete.php | 4 ++-- app/Services/Logic/Consult/ConsultInfo.php | 4 ++-- app/Services/Logic/Consult/ConsultLike.php | 4 ++-- app/Services/Logic/Consult/ConsultList.php | 4 ++-- app/Services/Logic/Consult/ConsultUpdate.php | 4 ++-- app/Services/Logic/Course/BasicInfo.php | 4 ++-- app/Services/Logic/Course/CategoryList.php | 4 ++-- app/Services/Logic/Course/ChapterList.php | 4 ++-- app/Services/Logic/Course/ConsultList.php | 4 ++-- app/Services/Logic/Course/CourseFavorite.php | 4 ++-- app/Services/Logic/Course/CourseInfo.php | 4 ++-- app/Services/Logic/Course/CourseList.php | 4 ++-- app/Services/Logic/Course/PackageList.php | 4 ++-- app/Services/Logic/Course/RecommendedList.php | 4 ++-- app/Services/Logic/Course/RelatedList.php | 4 ++-- app/Services/Logic/Course/ReviewList.php | 4 ++-- app/Services/Logic/Course/TeacherList.php | 4 ++-- app/Services/Logic/Course/TopicList.php | 4 ++-- app/Services/Logic/Danmu/DanmuCreate.php | 4 ++-- app/Services/Logic/Danmu/DanmuInfo.php | 4 ++-- app/Services/Logic/FlashSale/Queue.php | 4 ++-- app/Services/Logic/FlashSale/SaleList.php | 4 ++-- app/Services/Logic/FlashSale/UserOrderCache.php | 4 ++-- app/Services/Logic/Help/HelpInfo.php | 4 ++-- app/Services/Logic/Help/HelpList.php | 4 ++-- app/Services/Logic/Im/GroupInfo.php | 1 - app/Services/Logic/Im/GroupList.php | 1 - app/Services/Logic/Im/GroupUserList.php | 1 - app/Services/Logic/Live/LiveChapter.php | 4 ++-- app/Services/Logic/Live/LiveList.php | 4 ++-- app/Services/Logic/Order/OrderCancel.php | 4 ++-- app/Services/Logic/Order/OrderConfirm.php | 4 ++-- app/Services/Logic/Order/OrderCreate.php | 4 ++-- app/Services/Logic/Order/OrderInfo.php | 4 ++-- app/Services/Logic/Order/PayProvider.php | 4 ++-- app/Services/Logic/Package/CourseList.php | 4 ++-- app/Services/Logic/Package/PackageInfo.php | 4 ++-- app/Services/Logic/Page/PageInfo.php | 4 ++-- app/Services/Logic/Point/GiftInfo.php | 4 ++-- app/Services/Logic/Point/GiftList.php | 4 ++-- app/Services/Logic/Point/HotGiftList.php | 4 ++-- app/Services/Logic/Point/PointHistory.php | 4 ++-- app/Services/Logic/Point/PointRedeem.php | 4 ++-- app/Services/Logic/Refund/RefundCancel.php | 4 ++-- app/Services/Logic/Refund/RefundConfirm.php | 4 ++-- app/Services/Logic/Refund/RefundCreate.php | 4 ++-- app/Services/Logic/Refund/RefundInfo.php | 4 ++-- app/Services/Logic/Review/ReviewCreate.php | 4 ++-- app/Services/Logic/Review/ReviewDelete.php | 4 ++-- app/Services/Logic/Review/ReviewInfo.php | 4 ++-- app/Services/Logic/Review/ReviewLike.php | 4 ++-- app/Services/Logic/Review/ReviewUpdate.php | 4 ++-- app/Services/Logic/Reward/OptionList.php | 4 ++-- app/Services/Logic/Search/Handler.php | 4 ++-- app/Services/Logic/Teacher/Console/ConsultList.php | 4 ++-- app/Services/Logic/Teacher/Console/CourseList.php | 4 ++-- app/Services/Logic/Teacher/Console/LiveList.php | 4 ++-- app/Services/Logic/Teacher/Console/LivePushUrl.php | 4 ++-- app/Services/Logic/Teacher/CourseList.php | 4 ++-- app/Services/Logic/Teacher/TeacherInfo.php | 4 ++-- app/Services/Logic/Teacher/TeacherList.php | 4 ++-- app/Services/Logic/Topic/CourseList.php | 4 ++-- app/Services/Logic/Topic/TopicInfo.php | 4 ++-- app/Services/Logic/Trade/TradeCreate.php | 4 ++-- app/Services/Logic/Trade/TradeInfo.php | 4 ++-- app/Services/Logic/User/Console/AccountInfo.php | 4 ++-- app/Services/Logic/User/Console/BalanceInfo.php | 4 ++-- app/Services/Logic/User/Console/ConnectDelete.php | 3 +-- app/Services/Logic/User/Console/ConnectList.php | 4 ++-- app/Services/Logic/User/Console/ConsultList.php | 3 +-- app/Services/Logic/User/Console/ContactInfo.php | 4 ++-- app/Services/Logic/User/Console/ContactUpdate.php | 4 ++-- app/Services/Logic/User/Console/CourseList.php | 4 ++-- app/Services/Logic/User/Console/FavoriteList.php | 3 +-- app/Services/Logic/User/Console/FriendList.php | 4 ++-- app/Services/Logic/User/Console/GroupList.php | 4 ++-- app/Services/Logic/User/Console/OrderList.php | 4 ++-- app/Services/Logic/User/Console/PointHistory.php | 4 ++-- app/Services/Logic/User/Console/PointRedeemList.php | 4 ++-- app/Services/Logic/User/Console/ProfileInfo.php | 4 ++-- app/Services/Logic/User/Console/ProfileUpdate.php | 4 ++-- app/Services/Logic/User/Console/RefundList.php | 4 ++-- app/Services/Logic/User/Console/ReviewList.php | 3 +-- app/Services/Logic/User/CourseList.php | 3 +-- app/Services/Logic/User/FavoriteList.php | 3 +-- app/Services/Logic/User/FriendList.php | 1 - app/Services/Logic/User/GroupList.php | 3 +-- app/Services/Logic/User/UserInfo.php | 4 ++-- app/Services/Logic/Verify/EmailCode.php | 6 +++--- app/Services/Logic/Verify/SmsCode.php | 4 ++-- app/Services/Logic/Vip/CourseList.php | 1 - app/Services/Logic/Vip/OptionList.php | 1 - app/Services/Logic/Vip/UserList.php | 2 +- app/Services/Pay/WxpayGateway.php | 2 +- app/Services/Sync/Learning.php | 4 ++-- app/Services/Utils/IndexCourseCache.php | 4 ++-- 112 files changed, 203 insertions(+), 215 deletions(-) diff --git a/app/Http/Api/Controllers/UploadController.php b/app/Http/Api/Controllers/UploadController.php index 40cf7a61..a0f7a878 100644 --- a/app/Http/Api/Controllers/UploadController.php +++ b/app/Http/Api/Controllers/UploadController.php @@ -37,6 +37,7 @@ class UploadController extends Controller */ public function uploadImImageAction() { + } /** diff --git a/app/Http/Home/Controllers/VerifyController.php b/app/Http/Home/Controllers/VerifyController.php index 1e1666a5..861f54ac 100644 --- a/app/Http/Home/Controllers/VerifyController.php +++ b/app/Http/Home/Controllers/VerifyController.php @@ -15,7 +15,7 @@ class VerifyController extends \Phalcon\Mvc\Controller use ResponseTrait; /** - * @Post("/sms/code", name="verify.sms_code") + * @Post("/sms/code", name="home.verify.sms_code") */ public function smsCodeAction() { @@ -27,7 +27,7 @@ class VerifyController extends \Phalcon\Mvc\Controller } /** - * @Post("/email/code", name="verify.email_code") + * @Post("/email/code", name="home.verify.email_code") */ public function emailCodeAction() { diff --git a/app/Services/Logic/Account/EmailUpdate.php b/app/Services/Logic/Account/EmailUpdate.php index a469855f..571595cd 100644 --- a/app/Services/Logic/Account/EmailUpdate.php +++ b/app/Services/Logic/Account/EmailUpdate.php @@ -3,11 +3,11 @@ namespace App\Services\Logic\Account; use App\Repos\Account as AccountRepo; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; use App\Validators\Account as AccountValidator; use App\Validators\Verify as VerifyValidator; -class EmailUpdate extends Service +class EmailUpdate extends LogicService { public function handle() diff --git a/app/Services/Logic/Account/OAuthProvider.php b/app/Services/Logic/Account/OAuthProvider.php index 79a9cd2d..ca6b5320 100644 --- a/app/Services/Logic/Account/OAuthProvider.php +++ b/app/Services/Logic/Account/OAuthProvider.php @@ -2,9 +2,9 @@ namespace App\Services\Logic\Account; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; -class OAuthProvider extends Service +class OAuthProvider extends LogicService { public function handle() diff --git a/app/Services/Logic/Account/PasswordReset.php b/app/Services/Logic/Account/PasswordReset.php index 2b2bb6fd..4a6134da 100644 --- a/app/Services/Logic/Account/PasswordReset.php +++ b/app/Services/Logic/Account/PasswordReset.php @@ -3,11 +3,11 @@ namespace App\Services\Logic\Account; use App\Library\Utils\Password as PasswordUtil; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; use App\Validators\Account as AccountValidator; use App\Validators\Verify as VerifyValidator; -class PasswordReset extends Service +class PasswordReset extends LogicService { public function handle() diff --git a/app/Services/Logic/Account/PasswordUpdate.php b/app/Services/Logic/Account/PasswordUpdate.php index b01c86ad..b2223852 100644 --- a/app/Services/Logic/Account/PasswordUpdate.php +++ b/app/Services/Logic/Account/PasswordUpdate.php @@ -4,10 +4,10 @@ namespace App\Services\Logic\Account; use App\Library\Utils\Password as PasswordUtil; use App\Repos\Account as AccountRepo; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; use App\Validators\Account as AccountValidator; -class PasswordUpdate extends Service +class PasswordUpdate extends LogicService { public function handle() diff --git a/app/Services/Logic/Account/PhoneUpdate.php b/app/Services/Logic/Account/PhoneUpdate.php index d61ddcaf..64310ec4 100644 --- a/app/Services/Logic/Account/PhoneUpdate.php +++ b/app/Services/Logic/Account/PhoneUpdate.php @@ -3,11 +3,11 @@ namespace App\Services\Logic\Account; use App\Repos\Account as AccountRepo; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; use App\Validators\Account as AccountValidator; use App\Validators\Verify as VerifyValidator; -class PhoneUpdate extends Service +class PhoneUpdate extends LogicService { public function handle() diff --git a/app/Services/Logic/Account/Register.php b/app/Services/Logic/Account/Register.php index ade1df09..cba531bc 100644 --- a/app/Services/Logic/Account/Register.php +++ b/app/Services/Logic/Account/Register.php @@ -7,11 +7,11 @@ use App\Library\Validators\Common as CommonValidator; use App\Models\Account as AccountModel; use App\Models\ImUser as ImUserModel; use App\Models\User as UserModel; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; use App\Validators\Account as AccountValidator; use App\Validators\Verify as VerifyValidator; -class Register extends Service +class Register extends LogicService { public function handle() diff --git a/app/Services/Logic/Chapter/BasicInfo.php b/app/Services/Logic/Chapter/BasicInfo.php index 8c571f8c..8a7f4baa 100644 --- a/app/Services/Logic/Chapter/BasicInfo.php +++ b/app/Services/Logic/Chapter/BasicInfo.php @@ -10,9 +10,9 @@ use App\Services\ChapterVod as ChapterVodService; use App\Services\Live as LiveService; use App\Services\Logic\ChapterTrait; use App\Services\Logic\CourseTrait; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; -class BasicInfo extends Service +class BasicInfo extends LogicService { use CourseTrait; diff --git a/app/Services/Logic/Chapter/ChapterInfo.php b/app/Services/Logic/Chapter/ChapterInfo.php index f9c16ca7..dbf0d66e 100644 --- a/app/Services/Logic/Chapter/ChapterInfo.php +++ b/app/Services/Logic/Chapter/ChapterInfo.php @@ -14,9 +14,9 @@ use App\Repos\ImGroup as ImGroupRepo; use App\Repos\ImGroupUser as ImGroupUserRepo; use App\Services\Logic\ChapterTrait; use App\Services\Logic\CourseTrait; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; -class ChapterInfo extends Service +class ChapterInfo extends LogicService { /** diff --git a/app/Services/Logic/Chapter/ChapterLike.php b/app/Services/Logic/Chapter/ChapterLike.php index 6e6c4861..d2f10709 100644 --- a/app/Services/Logic/Chapter/ChapterLike.php +++ b/app/Services/Logic/Chapter/ChapterLike.php @@ -7,10 +7,10 @@ use App\Models\ChapterLike as ChapterLikeModel; use App\Models\User as UserModel; use App\Repos\ChapterLike as ChapterLikeRepo; use App\Services\Logic\ChapterTrait; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; use App\Validators\UserLimit as UserLimitValidator; -class ChapterLike extends Service +class ChapterLike extends LogicService { use ChapterTrait; diff --git a/app/Services/Logic/Chapter/ConsultList.php b/app/Services/Logic/Chapter/ConsultList.php index d014298a..7f81aba0 100644 --- a/app/Services/Logic/Chapter/ConsultList.php +++ b/app/Services/Logic/Chapter/ConsultList.php @@ -5,9 +5,9 @@ namespace App\Services\Logic\Chapter; use App\Library\Paginator\Query as PagerQuery; use App\Services\Logic\ChapterTrait; use App\Services\Logic\Consult\ConsultList as ConsultListHandler; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; -class ConsultList extends Service +class ConsultList extends LogicService { use ChapterTrait; diff --git a/app/Services/Logic/Chapter/DanmuList.php b/app/Services/Logic/Chapter/DanmuList.php index a30d5de3..26c62664 100644 --- a/app/Services/Logic/Chapter/DanmuList.php +++ b/app/Services/Logic/Chapter/DanmuList.php @@ -5,9 +5,9 @@ namespace App\Services\Logic\Chapter; use App\Builders\DanmuList as DanmuListBuilder; use App\Repos\Danmu as DanmuRepo; use App\Services\Logic\ChapterTrait; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; -class DanmuList extends Service +class DanmuList extends LogicService { use ChapterTrait; diff --git a/app/Services/Logic/Chapter/Learning.php b/app/Services/Logic/Chapter/Learning.php index 25fb9f09..1c264e85 100644 --- a/app/Services/Logic/Chapter/Learning.php +++ b/app/Services/Logic/Chapter/Learning.php @@ -5,11 +5,11 @@ namespace App\Services\Logic\Chapter; use App\Models\Course as CourseModel; use App\Models\Learning as LearningModel; use App\Services\Logic\ChapterTrait; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; use App\Services\Sync\Learning as LearningSyncService; use App\Validators\Learning as LearningValidator; -class Learning extends Service +class Learning extends LogicService { use ChapterTrait; diff --git a/app/Services/Logic/Chapter/ResourceList.php b/app/Services/Logic/Chapter/ResourceList.php index 6ace34eb..6ff9afe8 100644 --- a/app/Services/Logic/Chapter/ResourceList.php +++ b/app/Services/Logic/Chapter/ResourceList.php @@ -5,9 +5,9 @@ namespace App\Services\Logic\Chapter; use App\Builders\ResourceList as ResourceListBuilder; use App\Repos\Resource as ResourceRepo; use App\Services\Logic\ChapterTrait; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; -class ResourceList extends Service +class ResourceList extends LogicService { use ChapterTrait; diff --git a/app/Services/Logic/Consult/ConsultCreate.php b/app/Services/Logic/Consult/ConsultCreate.php index a1fb5665..4db3c504 100644 --- a/app/Services/Logic/Consult/ConsultCreate.php +++ b/app/Services/Logic/Consult/ConsultCreate.php @@ -9,11 +9,11 @@ use App\Models\User as UserModel; use App\Services\Logic\ChapterTrait; use App\Services\Logic\CourseTrait; use App\Services\Logic\Notice\DingTalk\ConsultCreate as ConsultCreateNotice; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; use App\Validators\Consult as ConsultValidator; use App\Validators\UserLimit as UserLimitValidator; -class ConsultCreate extends Service +class ConsultCreate extends LogicService { use CourseTrait; diff --git a/app/Services/Logic/Consult/ConsultDelete.php b/app/Services/Logic/Consult/ConsultDelete.php index 95395d60..8529f3b3 100644 --- a/app/Services/Logic/Consult/ConsultDelete.php +++ b/app/Services/Logic/Consult/ConsultDelete.php @@ -7,10 +7,10 @@ use App\Models\Course as CourseModel; use App\Services\Logic\ChapterTrait; use App\Services\Logic\ConsultTrait; use App\Services\Logic\CourseTrait; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; use App\Validators\Consult as ConsultValidator; -class ConsultDelete extends Service +class ConsultDelete extends LogicService { use CourseTrait; diff --git a/app/Services/Logic/Consult/ConsultInfo.php b/app/Services/Logic/Consult/ConsultInfo.php index f8b5590b..b731983b 100644 --- a/app/Services/Logic/Consult/ConsultInfo.php +++ b/app/Services/Logic/Consult/ConsultInfo.php @@ -7,9 +7,9 @@ use App\Repos\Chapter as ChapterRepo; use App\Repos\Course as CourseRepo; use App\Repos\User as UserRepo; use App\Services\Logic\ConsultTrait; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; -class ConsultInfo extends Service +class ConsultInfo extends LogicService { use ConsultTrait; diff --git a/app/Services/Logic/Consult/ConsultLike.php b/app/Services/Logic/Consult/ConsultLike.php index b674b6a5..747c0e2d 100644 --- a/app/Services/Logic/Consult/ConsultLike.php +++ b/app/Services/Logic/Consult/ConsultLike.php @@ -6,11 +6,11 @@ use App\Models\Consult as ConsultModel; use App\Models\ConsultLike as ConsultLikeModel; use App\Models\User as UserModel; use App\Services\Logic\ConsultTrait; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; use App\Validators\Consult as ConsultValidator; use App\Validators\UserLimit as UserLimitValidator; -class ConsultLike extends Service +class ConsultLike extends LogicService { use ConsultTrait; diff --git a/app/Services/Logic/Consult/ConsultList.php b/app/Services/Logic/Consult/ConsultList.php index 44b52f9f..7ea8d178 100644 --- a/app/Services/Logic/Consult/ConsultList.php +++ b/app/Services/Logic/Consult/ConsultList.php @@ -4,9 +4,9 @@ namespace App\Services\Logic\Consult; use App\Builders\ConsultList as ConsultListBuilder; use App\Repos\Consult as ConsultRepo; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; -class ConsultList extends Service +class ConsultList extends LogicService { public function paginate($params, $sort, $page, $limit) diff --git a/app/Services/Logic/Consult/ConsultUpdate.php b/app/Services/Logic/Consult/ConsultUpdate.php index c78e2f6b..13e39837 100644 --- a/app/Services/Logic/Consult/ConsultUpdate.php +++ b/app/Services/Logic/Consult/ConsultUpdate.php @@ -3,10 +3,10 @@ namespace App\Services\Logic\Consult; use App\Services\Logic\ConsultTrait; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; use App\Validators\Consult as ConsultValidator; -class ConsultUpdate extends Service +class ConsultUpdate extends LogicService { use ConsultTrait; diff --git a/app/Services/Logic/Course/BasicInfo.php b/app/Services/Logic/Course/BasicInfo.php index f0e6efad..841c6209 100644 --- a/app/Services/Logic/Course/BasicInfo.php +++ b/app/Services/Logic/Course/BasicInfo.php @@ -6,9 +6,9 @@ use App\Caches\CourseTeacherList as CourseTeacherListCache; use App\Models\Course as CourseModel; use App\Repos\Course as CourseRepo; use App\Services\Logic\CourseTrait; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; -class BasicInfo extends Service +class BasicInfo extends LogicService { use CourseTrait; diff --git a/app/Services/Logic/Course/CategoryList.php b/app/Services/Logic/Course/CategoryList.php index 3fed96a3..2b7b1272 100644 --- a/app/Services/Logic/Course/CategoryList.php +++ b/app/Services/Logic/Course/CategoryList.php @@ -4,9 +4,9 @@ namespace App\Services\Logic\Course; use App\Caches\CategoryTreeList as CategoryTreeListCache; use App\Models\Category as CategoryModel; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; -class CategoryList extends Service +class CategoryList extends LogicService { public function handle() diff --git a/app/Services/Logic/Course/ChapterList.php b/app/Services/Logic/Course/ChapterList.php index 158c4e6f..f17da6ff 100644 --- a/app/Services/Logic/Course/ChapterList.php +++ b/app/Services/Logic/Course/ChapterList.php @@ -7,9 +7,9 @@ use App\Models\Course as CourseModel; use App\Models\User as UserModel; use App\Repos\Course as CourseRepo; use App\Services\Logic\CourseTrait; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; -class ChapterList extends Service +class ChapterList extends LogicService { use CourseTrait; diff --git a/app/Services/Logic/Course/ConsultList.php b/app/Services/Logic/Course/ConsultList.php index 5b924f80..bf1dcdc1 100644 --- a/app/Services/Logic/Course/ConsultList.php +++ b/app/Services/Logic/Course/ConsultList.php @@ -6,9 +6,9 @@ use App\Builders\ConsultList as ConsultListBuilder; use App\Library\Paginator\Query as PagerQuery; use App\Repos\Consult as ConsultRepo; use App\Services\Logic\CourseTrait; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; -class ConsultList extends Service +class ConsultList extends LogicService { use CourseTrait; diff --git a/app/Services/Logic/Course/CourseFavorite.php b/app/Services/Logic/Course/CourseFavorite.php index 12da8557..4851f3c2 100644 --- a/app/Services/Logic/Course/CourseFavorite.php +++ b/app/Services/Logic/Course/CourseFavorite.php @@ -7,10 +7,10 @@ use App\Models\CourseFavorite as CourseFavoriteModel; use App\Models\User as UserModel; use App\Repos\CourseFavorite as CourseFavoriteRepo; use App\Services\Logic\CourseTrait; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; use App\Validators\UserLimit as UserLimitValidator; -class CourseFavorite extends Service +class CourseFavorite extends LogicService { use CourseTrait; diff --git a/app/Services/Logic/Course/CourseInfo.php b/app/Services/Logic/Course/CourseInfo.php index 466404b6..8109b84e 100644 --- a/app/Services/Logic/Course/CourseInfo.php +++ b/app/Services/Logic/Course/CourseInfo.php @@ -6,9 +6,9 @@ use App\Models\Course as CourseModel; use App\Models\User as UserModel; use App\Repos\CourseFavorite as CourseFavoriteRepo; use App\Services\Logic\CourseTrait; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; -class CourseInfo extends Service +class CourseInfo extends LogicService { use CourseTrait; diff --git a/app/Services/Logic/Course/CourseList.php b/app/Services/Logic/Course/CourseList.php index 20c8ff53..95b2432e 100644 --- a/app/Services/Logic/Course/CourseList.php +++ b/app/Services/Logic/Course/CourseList.php @@ -5,10 +5,10 @@ namespace App\Services\Logic\Course; use App\Library\Paginator\Query as PagerQuery; use App\Repos\Course as CourseRepo; use App\Services\Category as CategoryService; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; use App\Validators\CourseQuery as CourseQueryValidator; -class CourseList extends Service +class CourseList extends LogicService { public function handle() diff --git a/app/Services/Logic/Course/PackageList.php b/app/Services/Logic/Course/PackageList.php index d7c5c2e4..157fed27 100644 --- a/app/Services/Logic/Course/PackageList.php +++ b/app/Services/Logic/Course/PackageList.php @@ -5,9 +5,9 @@ namespace App\Services\Logic\Course; use App\Caches\CoursePackageList as CoursePackageListCache; use App\Caches\PackageCourseList as PackageCourseListCache; use App\Services\Logic\CourseTrait; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; -class PackageList extends Service +class PackageList extends LogicService { use CourseTrait; diff --git a/app/Services/Logic/Course/RecommendedList.php b/app/Services/Logic/Course/RecommendedList.php index 4ab7247d..1703a28e 100644 --- a/app/Services/Logic/Course/RecommendedList.php +++ b/app/Services/Logic/Course/RecommendedList.php @@ -4,9 +4,9 @@ namespace App\Services\Logic\Course; use App\Caches\CourseRecommendedList as CourseRecommendedListCache; use App\Services\Logic\CourseTrait; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; -class RecommendedList extends Service +class RecommendedList extends LogicService { use CourseTrait; diff --git a/app/Services/Logic/Course/RelatedList.php b/app/Services/Logic/Course/RelatedList.php index 9b4bd38d..8f046186 100644 --- a/app/Services/Logic/Course/RelatedList.php +++ b/app/Services/Logic/Course/RelatedList.php @@ -4,9 +4,9 @@ namespace App\Services\Logic\Course; use App\Caches\CourseRelatedList as CourseRelatedListCache; use App\Services\Logic\CourseTrait; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; -class RelatedList extends Service +class RelatedList extends LogicService { use CourseTrait; diff --git a/app/Services/Logic/Course/ReviewList.php b/app/Services/Logic/Course/ReviewList.php index f6350c9e..7f6a0266 100644 --- a/app/Services/Logic/Course/ReviewList.php +++ b/app/Services/Logic/Course/ReviewList.php @@ -6,9 +6,9 @@ use App\Builders\ReviewList as ReviewListBuilder; use App\Library\Paginator\Query as PagerQuery; use App\Repos\Review as ReviewRepo; use App\Services\Logic\CourseTrait; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; -class ReviewList extends Service +class ReviewList extends LogicService { use CourseTrait; diff --git a/app/Services/Logic/Course/TeacherList.php b/app/Services/Logic/Course/TeacherList.php index f3682177..3fb5fd32 100644 --- a/app/Services/Logic/Course/TeacherList.php +++ b/app/Services/Logic/Course/TeacherList.php @@ -4,9 +4,9 @@ namespace App\Services\Logic\Course; use App\Caches\CourseTeacherList as CourseTeacherListCache; use App\Services\Logic\CourseTrait; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; -class TeacherList extends Service +class TeacherList extends LogicService { use CourseTrait; diff --git a/app/Services/Logic/Course/TopicList.php b/app/Services/Logic/Course/TopicList.php index d00c88aa..b5ee3a02 100644 --- a/app/Services/Logic/Course/TopicList.php +++ b/app/Services/Logic/Course/TopicList.php @@ -4,9 +4,9 @@ namespace App\Services\Logic\Course; use App\Caches\CourseTopicList as CourseTopicListCache; use App\Services\Logic\CourseTrait; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; -class TopicList extends Service +class TopicList extends LogicService { use CourseTrait; diff --git a/app/Services/Logic/Danmu/DanmuCreate.php b/app/Services/Logic/Danmu/DanmuCreate.php index 47288358..62f48aec 100644 --- a/app/Services/Logic/Danmu/DanmuCreate.php +++ b/app/Services/Logic/Danmu/DanmuCreate.php @@ -5,11 +5,11 @@ namespace App\Services\Logic\Danmu; use App\Models\Danmu as DanmuModel; use App\Models\User as UserModel; use App\Services\Logic\ChapterTrait; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; use App\Validators\Danmu as DanmuValidator; use App\Validators\UserLimit as UserLimitValidator; -class DanmuCreate extends Service +class DanmuCreate extends LogicService { use ChapterTrait; diff --git a/app/Services/Logic/Danmu/DanmuInfo.php b/app/Services/Logic/Danmu/DanmuInfo.php index bf432b16..9791c0dc 100644 --- a/app/Services/Logic/Danmu/DanmuInfo.php +++ b/app/Services/Logic/Danmu/DanmuInfo.php @@ -5,9 +5,9 @@ namespace App\Services\Logic\Danmu; use App\Models\Danmu as DanmuModel; use App\Repos\User as UserRepo; use App\Services\Logic\DanmuTrait; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; -class DanmuInfo extends Service +class DanmuInfo extends LogicService { use DanmuTrait; diff --git a/app/Services/Logic/FlashSale/Queue.php b/app/Services/Logic/FlashSale/Queue.php index 1a85b07f..b3d1b616 100644 --- a/app/Services/Logic/FlashSale/Queue.php +++ b/app/Services/Logic/FlashSale/Queue.php @@ -3,9 +3,9 @@ namespace App\Services\Logic\FlashSale; use App\Services\Logic\FlashSaleTrait; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; -class Queue extends Service +class Queue extends LogicService { use FlashSaleTrait; diff --git a/app/Services/Logic/FlashSale/SaleList.php b/app/Services/Logic/FlashSale/SaleList.php index 0764aa44..dab42e05 100644 --- a/app/Services/Logic/FlashSale/SaleList.php +++ b/app/Services/Logic/FlashSale/SaleList.php @@ -4,9 +4,9 @@ namespace App\Services\Logic\FlashSale; use App\Models\FlashSale as FlashSaleModel; use App\Repos\FlashSale as FlashSaleRepo; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; -class SaleList extends Service +class SaleList extends LogicService { /** diff --git a/app/Services/Logic/FlashSale/UserOrderCache.php b/app/Services/Logic/FlashSale/UserOrderCache.php index 71351170..d1202efb 100644 --- a/app/Services/Logic/FlashSale/UserOrderCache.php +++ b/app/Services/Logic/FlashSale/UserOrderCache.php @@ -2,9 +2,9 @@ namespace App\Services\Logic\FlashSale; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; -class UserOrderCache extends Service +class UserOrderCache extends LogicService { public function get($userId, $saleId) diff --git a/app/Services/Logic/Help/HelpInfo.php b/app/Services/Logic/Help/HelpInfo.php index 75b5a8ee..690359b3 100644 --- a/app/Services/Logic/Help/HelpInfo.php +++ b/app/Services/Logic/Help/HelpInfo.php @@ -4,9 +4,9 @@ namespace App\Services\Logic\Help; use App\Models\Help as HelpModel; use App\Services\Logic\HelpTrait; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; -class HelpInfo extends Service +class HelpInfo extends LogicService { use HelpTrait; diff --git a/app/Services/Logic/Help/HelpList.php b/app/Services/Logic/Help/HelpList.php index d204f62f..ddeb1997 100644 --- a/app/Services/Logic/Help/HelpList.php +++ b/app/Services/Logic/Help/HelpList.php @@ -3,9 +3,9 @@ namespace App\Services\Logic\Help; use App\Caches\HelpList as HelpListCache; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; -class HelpList extends Service +class HelpList extends LogicService { public function handle() diff --git a/app/Services/Logic/Im/GroupInfo.php b/app/Services/Logic/Im/GroupInfo.php index 13aaec2d..70905c60 100644 --- a/app/Services/Logic/Im/GroupInfo.php +++ b/app/Services/Logic/Im/GroupInfo.php @@ -4,7 +4,6 @@ namespace App\Services\Logic\Im; use App\Repos\User as UserRepo; use App\Services\Logic\ImGroupTrait; -use App\Services\Logic\Service; class GroupInfo extends Service diff --git a/app/Services/Logic/Im/GroupList.php b/app/Services/Logic/Im/GroupList.php index 88160b9e..ff890419 100644 --- a/app/Services/Logic/Im/GroupList.php +++ b/app/Services/Logic/Im/GroupList.php @@ -5,7 +5,6 @@ namespace App\Services\Logic\Im; use App\Builders\ImGroupList as ImGroupListBuilder; use App\Library\Paginator\Query as PagerQuery; use App\Repos\ImGroup as ImGroupRepo; -use App\Services\Logic\Service; class GroupList extends Service { diff --git a/app/Services/Logic/Im/GroupUserList.php b/app/Services/Logic/Im/GroupUserList.php index b0fed864..eef73d9c 100644 --- a/app/Services/Logic/Im/GroupUserList.php +++ b/app/Services/Logic/Im/GroupUserList.php @@ -6,7 +6,6 @@ use App\Builders\ImGroupUserList as ImGroupUserListBuilder; use App\Library\Paginator\Query as PagerQuery; use App\Repos\ImGroupUser as ImGroupUserRepo; use App\Services\Logic\ImGroupTrait; -use App\Services\Logic\Service; class GroupUserList extends Service { diff --git a/app/Services/Logic/Live/LiveChapter.php b/app/Services/Logic/Live/LiveChapter.php index 49a0df55..087fc106 100644 --- a/app/Services/Logic/Live/LiveChapter.php +++ b/app/Services/Logic/Live/LiveChapter.php @@ -3,11 +3,11 @@ namespace App\Services\Logic\Live; use App\Services\Logic\ChapterTrait; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; use App\Validators\Live as LiveValidator; use GatewayClient\Gateway; -class LiveChapter extends Service +class LiveChapter extends LogicService { use ChapterTrait; diff --git a/app/Services/Logic/Live/LiveList.php b/app/Services/Logic/Live/LiveList.php index a461a6fa..15ee22f9 100644 --- a/app/Services/Logic/Live/LiveList.php +++ b/app/Services/Logic/Live/LiveList.php @@ -6,9 +6,9 @@ namespace App\Services\Logic\Live; use App\Builders\LiveList as LiveListBuilder; use App\Library\Paginator\Query as PagerQuery; use App\Repos\ChapterLive as ChapterLiveRepo; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; -class LiveList extends Service +class LiveList extends LogicService { public function handle() diff --git a/app/Services/Logic/Order/OrderCancel.php b/app/Services/Logic/Order/OrderCancel.php index a11510ca..139a2ae1 100644 --- a/app/Services/Logic/Order/OrderCancel.php +++ b/app/Services/Logic/Order/OrderCancel.php @@ -4,10 +4,10 @@ namespace App\Services\Logic\Order; use App\Models\Order as OrderModel; use App\Services\Logic\OrderTrait; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; use App\Validators\Order as OrderValidator; -class OrderCancel extends Service +class OrderCancel extends LogicService { use OrderTrait; diff --git a/app/Services/Logic/Order/OrderConfirm.php b/app/Services/Logic/Order/OrderConfirm.php index aa7bb58f..a906a98b 100644 --- a/app/Services/Logic/Order/OrderConfirm.php +++ b/app/Services/Logic/Order/OrderConfirm.php @@ -8,10 +8,10 @@ use App\Models\Package as PackageModel; use App\Models\Reward as RewardModel; use App\Models\Vip as VipModel; use App\Repos\Package as PackageRepo; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; use App\Validators\Order as OrderValidator; -class OrderConfirm extends Service +class OrderConfirm extends LogicService { public function handle($itemId, $itemType) diff --git a/app/Services/Logic/Order/OrderCreate.php b/app/Services/Logic/Order/OrderCreate.php index 29690f0d..7ba8f850 100644 --- a/app/Services/Logic/Order/OrderCreate.php +++ b/app/Services/Logic/Order/OrderCreate.php @@ -10,12 +10,12 @@ use App\Models\User as UserModel; use App\Models\Vip as VipModel; use App\Repos\Order as OrderRepo; use App\Repos\Package as PackageRepo; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; use App\Traits\Client as ClientTrait; use App\Validators\Order as OrderValidator; use App\Validators\UserLimit as UserLimitValidator; -class OrderCreate extends Service +class OrderCreate extends LogicService { /** diff --git a/app/Services/Logic/Order/OrderInfo.php b/app/Services/Logic/Order/OrderInfo.php index 96c7af99..0247082c 100644 --- a/app/Services/Logic/Order/OrderInfo.php +++ b/app/Services/Logic/Order/OrderInfo.php @@ -5,10 +5,10 @@ namespace App\Services\Logic\Order; use App\Models\Course as CourseModel; use App\Models\Order as OrderModel; use App\Repos\Order as OrderRepo; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; use App\Validators\Order as OrderValidator; -class OrderInfo extends Service +class OrderInfo extends LogicService { public function handle($sn) diff --git a/app/Services/Logic/Order/PayProvider.php b/app/Services/Logic/Order/PayProvider.php index a8271845..48a62297 100644 --- a/app/Services/Logic/Order/PayProvider.php +++ b/app/Services/Logic/Order/PayProvider.php @@ -2,9 +2,9 @@ namespace App\Services\Logic\Order; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; -class PayProvider extends Service +class PayProvider extends LogicService { public function handle() diff --git a/app/Services/Logic/Package/CourseList.php b/app/Services/Logic/Package/CourseList.php index fa75097d..6c21b98e 100644 --- a/app/Services/Logic/Package/CourseList.php +++ b/app/Services/Logic/Package/CourseList.php @@ -4,9 +4,9 @@ namespace App\Services\Logic\Package; use App\Caches\PackageCourseList as PackageCourseListCache; use App\Services\Logic\PackageTrait; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; -class CourseList extends Service +class CourseList extends LogicService { use PackageTrait; diff --git a/app/Services/Logic/Package/PackageInfo.php b/app/Services/Logic/Package/PackageInfo.php index 7515224c..1a3f760e 100644 --- a/app/Services/Logic/Package/PackageInfo.php +++ b/app/Services/Logic/Package/PackageInfo.php @@ -4,9 +4,9 @@ namespace App\Services\Logic\Package; use App\Models\Package as PackageModel; use App\Services\Logic\PackageTrait; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; -class PackageInfo extends Service +class PackageInfo extends LogicService { use PackageTrait; diff --git a/app/Services/Logic/Page/PageInfo.php b/app/Services/Logic/Page/PageInfo.php index 9b960599..50e0c6a6 100644 --- a/app/Services/Logic/Page/PageInfo.php +++ b/app/Services/Logic/Page/PageInfo.php @@ -4,9 +4,9 @@ namespace App\Services\Logic\Page; use App\Models\Page as PageModel; use App\Services\Logic\PageTrait; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; -class PageInfo extends Service +class PageInfo extends LogicService { use PageTrait; diff --git a/app/Services/Logic/Point/GiftInfo.php b/app/Services/Logic/Point/GiftInfo.php index a3d7b371..318daa81 100644 --- a/app/Services/Logic/Point/GiftInfo.php +++ b/app/Services/Logic/Point/GiftInfo.php @@ -5,9 +5,9 @@ namespace App\Services\Logic\Point; use App\Models\PointGift; use App\Services\Logic\CourseTrait; use App\Services\Logic\PointGiftTrait; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; -class GiftInfo extends Service +class GiftInfo extends LogicService { use CourseTrait; diff --git a/app/Services/Logic/Point/GiftList.php b/app/Services/Logic/Point/GiftList.php index d3a7b16b..a9376f91 100644 --- a/app/Services/Logic/Point/GiftList.php +++ b/app/Services/Logic/Point/GiftList.php @@ -4,9 +4,9 @@ namespace App\Services\Logic\Point; use App\Library\Paginator\Query as PagerQuery; use App\Repos\PointGift as PointGiftRepo; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; -class GiftList extends Service +class GiftList extends LogicService { public function handle() diff --git a/app/Services/Logic/Point/HotGiftList.php b/app/Services/Logic/Point/HotGiftList.php index 0564722b..a6db5ca4 100644 --- a/app/Services/Logic/Point/HotGiftList.php +++ b/app/Services/Logic/Point/HotGiftList.php @@ -3,9 +3,9 @@ namespace App\Services\Logic\Point; use App\Caches\PointHotGiftList; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; -class HotGiftList extends Service +class HotGiftList extends LogicService { public function handle() diff --git a/app/Services/Logic/Point/PointHistory.php b/app/Services/Logic/Point/PointHistory.php index ef6641fd..f3d351f8 100644 --- a/app/Services/Logic/Point/PointHistory.php +++ b/app/Services/Logic/Point/PointHistory.php @@ -14,9 +14,9 @@ use App\Repos\Chapter as ChapterRepo; use App\Repos\Course as CourseRepo; use App\Repos\PointHistory as PointHistoryRepo; use App\Repos\User as UserRepo; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; -class PointHistory extends Service +class PointHistory extends LogicService { public function handleOrderConsume(OrderModel $order) diff --git a/app/Services/Logic/Point/PointRedeem.php b/app/Services/Logic/Point/PointRedeem.php index e8170499..5e0f54be 100644 --- a/app/Services/Logic/Point/PointRedeem.php +++ b/app/Services/Logic/Point/PointRedeem.php @@ -10,10 +10,10 @@ use App\Models\User as UserModel; use App\Repos\User as UserRepo; use App\Services\Logic\Point\PointHistory as PointHistoryService; use App\Services\Logic\PointGiftTrait; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; use App\Validators\PointRedeem as PointRedeemValidator; -class PointRedeem extends Service +class PointRedeem extends LogicService { use PointGiftTrait; diff --git a/app/Services/Logic/Refund/RefundCancel.php b/app/Services/Logic/Refund/RefundCancel.php index 288e02fc..6d76a39d 100644 --- a/app/Services/Logic/Refund/RefundCancel.php +++ b/app/Services/Logic/Refund/RefundCancel.php @@ -6,10 +6,10 @@ use App\Models\Refund as RefundModel; use App\Models\Task as TaskModel; use App\Repos\Refund as RefundRepo; use App\Services\Logic\RefundTrait; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; use App\Validators\Refund as RefundValidator; -class RefundCancel extends Service +class RefundCancel extends LogicService { use RefundTrait; diff --git a/app/Services/Logic/Refund/RefundConfirm.php b/app/Services/Logic/Refund/RefundConfirm.php index 56abd9a8..347ff523 100644 --- a/app/Services/Logic/Refund/RefundConfirm.php +++ b/app/Services/Logic/Refund/RefundConfirm.php @@ -3,10 +3,10 @@ namespace App\Services\Logic\Refund; use App\Services\Logic\OrderTrait; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; use App\Services\Refund; -class RefundConfirm extends Service +class RefundConfirm extends LogicService { use OrderTrait; diff --git a/app/Services/Logic/Refund/RefundCreate.php b/app/Services/Logic/Refund/RefundCreate.php index 228e52ab..b72f4d7c 100644 --- a/app/Services/Logic/Refund/RefundCreate.php +++ b/app/Services/Logic/Refund/RefundCreate.php @@ -6,12 +6,12 @@ use App\Models\Refund as RefundModel; use App\Models\Task as TaskModel; use App\Repos\Order as OrderRepo; use App\Services\Logic\OrderTrait; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; use App\Services\Refund as RefundService; use App\Validators\Order as OrderValidator; use App\Validators\Refund as RefundValidator; -class RefundCreate extends Service +class RefundCreate extends LogicService { use OrderTrait; diff --git a/app/Services/Logic/Refund/RefundInfo.php b/app/Services/Logic/Refund/RefundInfo.php index 9f97819c..54051d4c 100644 --- a/app/Services/Logic/Refund/RefundInfo.php +++ b/app/Services/Logic/Refund/RefundInfo.php @@ -6,9 +6,9 @@ use App\Models\Refund as RefundModel; use App\Repos\Order as OrderRepo; use App\Repos\Refund as RefundRepo; use App\Services\Logic\RefundTrait; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; -class RefundInfo extends Service +class RefundInfo extends LogicService { use RefundTrait; diff --git a/app/Services/Logic/Review/ReviewCreate.php b/app/Services/Logic/Review/ReviewCreate.php index 1b4d3c37..b564f485 100644 --- a/app/Services/Logic/Review/ReviewCreate.php +++ b/app/Services/Logic/Review/ReviewCreate.php @@ -8,11 +8,11 @@ use App\Models\Review as ReviewModel; use App\Services\CourseStat as CourseStatService; use App\Services\Logic\CourseTrait; use App\Services\Logic\ReviewTrait; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; use App\Validators\CourseUser as CourseUserValidator; use App\Validators\Review as ReviewValidator; -class ReviewCreate extends Service +class ReviewCreate extends LogicService { use CourseTrait; diff --git a/app/Services/Logic/Review/ReviewDelete.php b/app/Services/Logic/Review/ReviewDelete.php index 16040e82..d314e35f 100644 --- a/app/Services/Logic/Review/ReviewDelete.php +++ b/app/Services/Logic/Review/ReviewDelete.php @@ -6,10 +6,10 @@ use App\Models\Course as CourseModel; use App\Services\CourseStat as CourseStatService; use App\Services\Logic\CourseTrait; use App\Services\Logic\ReviewTrait; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; use App\Validators\Review as ReviewValidator; -class ReviewDelete extends Service +class ReviewDelete extends LogicService { use CourseTrait; diff --git a/app/Services/Logic/Review/ReviewInfo.php b/app/Services/Logic/Review/ReviewInfo.php index 692fa381..dfc293bc 100644 --- a/app/Services/Logic/Review/ReviewInfo.php +++ b/app/Services/Logic/Review/ReviewInfo.php @@ -6,9 +6,9 @@ use App\Models\Review as ReviewModel; use App\Repos\Course as CourseRepo; use App\Repos\User as UserRepo; use App\Services\Logic\ReviewTrait; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; -class ReviewInfo extends Service +class ReviewInfo extends LogicService { use ReviewTrait; diff --git a/app/Services/Logic/Review/ReviewLike.php b/app/Services/Logic/Review/ReviewLike.php index 2b02dd22..17e9bbee 100644 --- a/app/Services/Logic/Review/ReviewLike.php +++ b/app/Services/Logic/Review/ReviewLike.php @@ -6,11 +6,11 @@ use App\Models\Review as ReviewModel; use App\Models\ReviewLike as ReviewLikeModel; use App\Models\User as UserModel; use App\Services\Logic\ReviewTrait; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; use App\Validators\Review as ReviewValidator; use App\Validators\UserLimit as UserLimitValidator; -class ReviewLike extends Service +class ReviewLike extends LogicService { use ReviewTrait; diff --git a/app/Services/Logic/Review/ReviewUpdate.php b/app/Services/Logic/Review/ReviewUpdate.php index 0d942a6b..76098319 100644 --- a/app/Services/Logic/Review/ReviewUpdate.php +++ b/app/Services/Logic/Review/ReviewUpdate.php @@ -6,10 +6,10 @@ use App\Models\Course as CourseModel; use App\Services\CourseStat as CourseStatService; use App\Services\Logic\CourseTrait; use App\Services\Logic\ReviewTrait; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; use App\Validators\Review as ReviewValidator; -class ReviewUpdate extends Service +class ReviewUpdate extends LogicService { use CourseTrait; diff --git a/app/Services/Logic/Reward/OptionList.php b/app/Services/Logic/Reward/OptionList.php index 732d8e90..fc8dc5b1 100644 --- a/app/Services/Logic/Reward/OptionList.php +++ b/app/Services/Logic/Reward/OptionList.php @@ -3,9 +3,9 @@ namespace App\Services\Logic\Reward; use App\Repos\Reward as RewardRepo; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; -class OptionList extends Service +class OptionList extends LogicService { public function handle() diff --git a/app/Services/Logic/Search/Handler.php b/app/Services/Logic/Search/Handler.php index 274fcdc9..ed12a716 100644 --- a/app/Services/Logic/Search/Handler.php +++ b/app/Services/Logic/Search/Handler.php @@ -2,9 +2,9 @@ namespace App\Services\Logic\Search; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; -abstract class Handler extends Service +abstract class Handler extends LogicService { abstract function search(); diff --git a/app/Services/Logic/Teacher/Console/ConsultList.php b/app/Services/Logic/Teacher/Console/ConsultList.php index 1031dbc0..b0ced828 100644 --- a/app/Services/Logic/Teacher/Console/ConsultList.php +++ b/app/Services/Logic/Teacher/Console/ConsultList.php @@ -8,11 +8,11 @@ use App\Library\Paginator\Query as PagerQuery; use App\Models\Consult as ConsultModel; use App\Models\Course as CourseModel; use App\Models\CourseUser as CourseUserModel; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; use Phalcon\Mvc\Model\Resultset; use Phalcon\Mvc\Model\ResultsetInterface; -class ConsultList extends Service +class ConsultList extends LogicService { public function handle() diff --git a/app/Services/Logic/Teacher/Console/CourseList.php b/app/Services/Logic/Teacher/Console/CourseList.php index 6ee24a82..ff884ee4 100644 --- a/app/Services/Logic/Teacher/Console/CourseList.php +++ b/app/Services/Logic/Teacher/Console/CourseList.php @@ -6,10 +6,10 @@ use App\Builders\CourseUserList as CourseUserListBuilder; use App\Library\Paginator\Query as PagerQuery; use App\Models\CourseUser as CourseUserModel; use App\Repos\CourseUser as CourseUserRepo; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; use App\Services\Logic\UserTrait; -class CourseList extends Service +class CourseList extends LogicService { use UserTrait; diff --git a/app/Services/Logic/Teacher/Console/LiveList.php b/app/Services/Logic/Teacher/Console/LiveList.php index ae1a9ce2..135d148f 100644 --- a/app/Services/Logic/Teacher/Console/LiveList.php +++ b/app/Services/Logic/Teacher/Console/LiveList.php @@ -4,9 +4,9 @@ namespace App\Services\Logic\Teacher\Console; use App\Library\Paginator\Query as PagerQuery; use App\Repos\TeacherLive as TeacherLiveRepo; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; -class LiveList extends Service +class LiveList extends LogicService { public function handle() diff --git a/app/Services/Logic/Teacher/Console/LivePushUrl.php b/app/Services/Logic/Teacher/Console/LivePushUrl.php index 210d3a15..59f7d40b 100644 --- a/app/Services/Logic/Teacher/Console/LivePushUrl.php +++ b/app/Services/Logic/Teacher/Console/LivePushUrl.php @@ -5,9 +5,9 @@ namespace App\Services\Logic\Teacher\Console; use App\Models\ChapterLive as ChapterLiveModel; use App\Services\Live as LiveService; use App\Services\Logic\ChapterTrait; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; -class LivePushUrl extends Service +class LivePushUrl extends LogicService { use ChapterTrait; diff --git a/app/Services/Logic/Teacher/CourseList.php b/app/Services/Logic/Teacher/CourseList.php index 76079073..8dc9e303 100644 --- a/app/Services/Logic/Teacher/CourseList.php +++ b/app/Services/Logic/Teacher/CourseList.php @@ -6,10 +6,10 @@ use App\Builders\CourseUserList as CourseUserListBuilder; use App\Library\Paginator\Query as PagerQuery; use App\Models\CourseUser as CourseUserModel; use App\Repos\CourseUser as CourseUserRepo; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; use App\Services\Logic\UserTrait; -class CourseList extends Service +class CourseList extends LogicService { use UserTrait; diff --git a/app/Services/Logic/Teacher/TeacherInfo.php b/app/Services/Logic/Teacher/TeacherInfo.php index ee17103c..68145a0a 100644 --- a/app/Services/Logic/Teacher/TeacherInfo.php +++ b/app/Services/Logic/Teacher/TeacherInfo.php @@ -2,10 +2,10 @@ namespace App\Services\Logic\Teacher; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; use App\Services\Logic\User\UserInfo as UserInfoService; -class TeacherInfo extends Service +class TeacherInfo extends LogicService { public function handle($id) diff --git a/app/Services/Logic/Teacher/TeacherList.php b/app/Services/Logic/Teacher/TeacherList.php index e20b4b48..2159ecd5 100644 --- a/app/Services/Logic/Teacher/TeacherList.php +++ b/app/Services/Logic/Teacher/TeacherList.php @@ -5,9 +5,9 @@ namespace App\Services\Logic\Teacher; use App\Library\Paginator\Query as PagerQuery; use App\Models\User as UserModel; use App\Repos\User as UserRepo; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; -class TeacherList extends Service +class TeacherList extends LogicService { public function handle() diff --git a/app/Services/Logic/Topic/CourseList.php b/app/Services/Logic/Topic/CourseList.php index 0e9ef454..7f5cc78a 100644 --- a/app/Services/Logic/Topic/CourseList.php +++ b/app/Services/Logic/Topic/CourseList.php @@ -5,10 +5,10 @@ namespace App\Services\Logic\Topic; use App\Builders\CourseTopicList as CourseTopicListBuilder; use App\Library\Paginator\Query as PagerQuery; use App\Repos\CourseTopic as CourseTopicRepo; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; use App\Services\Logic\TopicTrait; -class CourseList extends Service +class CourseList extends LogicService { use TopicTrait; diff --git a/app/Services/Logic/Topic/TopicInfo.php b/app/Services/Logic/Topic/TopicInfo.php index f7695c0e..50faa6bc 100644 --- a/app/Services/Logic/Topic/TopicInfo.php +++ b/app/Services/Logic/Topic/TopicInfo.php @@ -3,10 +3,10 @@ namespace App\Services\Logic\Topic; use App\Models\Topic as TopicModel; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; use App\Services\Logic\TopicTrait; -class TopicInfo extends Service +class TopicInfo extends LogicService { use TopicTrait; diff --git a/app/Services/Logic/Trade/TradeCreate.php b/app/Services/Logic/Trade/TradeCreate.php index 77cdbbc3..f10cbcef 100644 --- a/app/Services/Logic/Trade/TradeCreate.php +++ b/app/Services/Logic/Trade/TradeCreate.php @@ -4,10 +4,10 @@ namespace App\Services\Logic\Trade; use App\Models\Trade as TradeModel; use App\Services\Logic\OrderTrait; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; use App\Validators\Trade as TradeValidator; -class TradeCreate extends Service +class TradeCreate extends LogicService { use OrderTrait; diff --git a/app/Services/Logic/Trade/TradeInfo.php b/app/Services/Logic/Trade/TradeInfo.php index 09f0d58d..ca4f3bc3 100644 --- a/app/Services/Logic/Trade/TradeInfo.php +++ b/app/Services/Logic/Trade/TradeInfo.php @@ -3,10 +3,10 @@ namespace App\Services\Logic\Trade; use App\Models\Trade as TradeModel; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; use App\Services\Logic\TradeTrait; -class TradeInfo extends Service +class TradeInfo extends LogicService { use TradeTrait; diff --git a/app/Services/Logic/User/Console/AccountInfo.php b/app/Services/Logic/User/Console/AccountInfo.php index 343df5db..875767bd 100644 --- a/app/Services/Logic/User/Console/AccountInfo.php +++ b/app/Services/Logic/User/Console/AccountInfo.php @@ -4,9 +4,9 @@ namespace App\Services\Logic\User\Console; use App\Models\User as UserModel; use App\Repos\Account as AccountRepo; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; -class AccountInfo extends Service +class AccountInfo extends LogicService { public function handle() diff --git a/app/Services/Logic/User/Console/BalanceInfo.php b/app/Services/Logic/User/Console/BalanceInfo.php index 656d4253..13cf1b78 100644 --- a/app/Services/Logic/User/Console/BalanceInfo.php +++ b/app/Services/Logic/User/Console/BalanceInfo.php @@ -3,9 +3,9 @@ namespace App\Services\Logic\User\Console; use App\Repos\User as UserRepo; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; -class BalanceInfo extends Service +class BalanceInfo extends LogicService { public function handle() diff --git a/app/Services/Logic/User/Console/ConnectDelete.php b/app/Services/Logic/User/Console/ConnectDelete.php index 28209993..40e2f979 100644 --- a/app/Services/Logic/User/Console/ConnectDelete.php +++ b/app/Services/Logic/User/Console/ConnectDelete.php @@ -2,10 +2,9 @@ namespace App\Services\Logic\User\Console; -use App\Services\Logic\Service; use App\Validators\Connect as ConnectValidator; -class ConnectDelete extends Service +class ConnectDelete extends LogicService { public function handle($id) diff --git a/app/Services/Logic/User/Console/ConnectList.php b/app/Services/Logic/User/Console/ConnectList.php index 7c930e89..ea2edfa0 100644 --- a/app/Services/Logic/User/Console/ConnectList.php +++ b/app/Services/Logic/User/Console/ConnectList.php @@ -3,9 +3,9 @@ namespace App\Services\Logic\User\Console; use App\Repos\Connect as ConnectRepo; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; -class ConnectList extends Service +class ConnectList extends LogicService { public function handle() diff --git a/app/Services/Logic/User/Console/ConsultList.php b/app/Services/Logic/User/Console/ConsultList.php index d023a329..49d608e7 100644 --- a/app/Services/Logic/User/Console/ConsultList.php +++ b/app/Services/Logic/User/Console/ConsultList.php @@ -5,9 +5,8 @@ namespace App\Services\Logic\User\Console; use App\Builders\ConsultList as ConsultListBuilder; use App\Library\Paginator\Query as PagerQuery; use App\Repos\Consult as ConsultRepo; -use App\Services\Logic\Service; -class ConsultList extends Service +class ConsultList extends LogicService { public function handle() diff --git a/app/Services/Logic/User/Console/ContactInfo.php b/app/Services/Logic/User/Console/ContactInfo.php index 1125baec..8273ab0f 100644 --- a/app/Services/Logic/User/Console/ContactInfo.php +++ b/app/Services/Logic/User/Console/ContactInfo.php @@ -3,9 +3,9 @@ namespace App\Services\Logic\User\Console; use App\Repos\User as UserRepo; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; -class ContactInfo extends Service +class ContactInfo extends LogicService { public function handle() diff --git a/app/Services/Logic/User/Console/ContactUpdate.php b/app/Services/Logic/User/Console/ContactUpdate.php index d8ab0aaf..d95f4cb3 100644 --- a/app/Services/Logic/User/Console/ContactUpdate.php +++ b/app/Services/Logic/User/Console/ContactUpdate.php @@ -3,10 +3,10 @@ namespace App\Services\Logic\User\Console; use App\Models\UserContact as UserContactModel; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; use App\Validators\UserContact as UserContactValidator; -class ContactUpdate extends Service +class ContactUpdate extends LogicService { public function handle() diff --git a/app/Services/Logic/User/Console/CourseList.php b/app/Services/Logic/User/Console/CourseList.php index a06cde89..7c444244 100644 --- a/app/Services/Logic/User/Console/CourseList.php +++ b/app/Services/Logic/User/Console/CourseList.php @@ -2,10 +2,10 @@ namespace App\Services\Logic\User\Console; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; use App\Services\Logic\User\CourseList as UserCourseListService; -class CourseList extends Service +class CourseList extends LogicService { public function handle() diff --git a/app/Services/Logic/User/Console/FavoriteList.php b/app/Services/Logic/User/Console/FavoriteList.php index b71779da..8ca15bc1 100644 --- a/app/Services/Logic/User/Console/FavoriteList.php +++ b/app/Services/Logic/User/Console/FavoriteList.php @@ -2,10 +2,9 @@ namespace App\Services\Logic\User\Console; -use App\Services\Logic\Service; use App\Services\Logic\User\FavoriteList as UserFavoriteListService; -class FavoriteList extends Service +class FavoriteList extends LogicService { public function handle() diff --git a/app/Services/Logic/User/Console/FriendList.php b/app/Services/Logic/User/Console/FriendList.php index 698b17b9..8f6b49f6 100644 --- a/app/Services/Logic/User/Console/FriendList.php +++ b/app/Services/Logic/User/Console/FriendList.php @@ -2,10 +2,10 @@ namespace App\Services\Logic\User\Console; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; use App\Services\Logic\User\FriendList as UserFriendListService; -class FriendList extends Service +class FriendList extends LogicService { public function handle() diff --git a/app/Services/Logic/User/Console/GroupList.php b/app/Services/Logic/User/Console/GroupList.php index 434442dd..be21d0b3 100644 --- a/app/Services/Logic/User/Console/GroupList.php +++ b/app/Services/Logic/User/Console/GroupList.php @@ -5,10 +5,10 @@ namespace App\Services\Logic\User\Console; use App\Builders\ImGroupList as ImGroupListBuilder; use App\Library\Paginator\Query as PagerQuery; use App\Repos\ImGroup as ImGroupRepo; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; use App\Services\Logic\User\GroupList as UserGroupListService; -class GroupList extends Service +class GroupList extends LogicService { public function handle($scope = 'joined') diff --git a/app/Services/Logic/User/Console/OrderList.php b/app/Services/Logic/User/Console/OrderList.php index 2f935fb4..e4225325 100644 --- a/app/Services/Logic/User/Console/OrderList.php +++ b/app/Services/Logic/User/Console/OrderList.php @@ -5,11 +5,11 @@ namespace App\Services\Logic\User\Console; use App\Builders\OrderList as OrderListBuilder; use App\Library\Paginator\Query as PagerQuery; use App\Repos\Order as OrderRepo; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; use App\Services\Logic\UserTrait; use App\Validators\Order as OrderValidator; -class OrderList extends Service +class OrderList extends LogicService { use UserTrait; diff --git a/app/Services/Logic/User/Console/PointHistory.php b/app/Services/Logic/User/Console/PointHistory.php index 1a655619..55ec3a5e 100644 --- a/app/Services/Logic/User/Console/PointHistory.php +++ b/app/Services/Logic/User/Console/PointHistory.php @@ -4,10 +4,10 @@ namespace App\Services\Logic\User\Console; use App\Library\Paginator\Query as PagerQuery; use App\Repos\PointHistory as PointHistoryRepo; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; use App\Services\Logic\UserTrait; -class PointHistory extends Service +class PointHistory extends LogicService { use UserTrait; diff --git a/app/Services/Logic/User/Console/PointRedeemList.php b/app/Services/Logic/User/Console/PointRedeemList.php index 9b65d41f..b7f6e6a0 100644 --- a/app/Services/Logic/User/Console/PointRedeemList.php +++ b/app/Services/Logic/User/Console/PointRedeemList.php @@ -4,10 +4,10 @@ namespace App\Services\Logic\User\Console; use App\Library\Paginator\Query as PagerQuery; use App\Repos\PointRedeem as PointRedeemRepo; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; use App\Services\Logic\UserTrait; -class PointRedeemList extends Service +class PointRedeemList extends LogicService { use UserTrait; diff --git a/app/Services/Logic/User/Console/ProfileInfo.php b/app/Services/Logic/User/Console/ProfileInfo.php index c70c7fbf..d4d81c10 100644 --- a/app/Services/Logic/User/Console/ProfileInfo.php +++ b/app/Services/Logic/User/Console/ProfileInfo.php @@ -3,9 +3,9 @@ namespace App\Services\Logic\User\Console; use App\Models\User as UserModel; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; -class ProfileInfo extends Service +class ProfileInfo extends LogicService { public function handle() diff --git a/app/Services/Logic/User/Console/ProfileUpdate.php b/app/Services/Logic/User/Console/ProfileUpdate.php index 82ecbc2e..ed642cac 100644 --- a/app/Services/Logic/User/Console/ProfileUpdate.php +++ b/app/Services/Logic/User/Console/ProfileUpdate.php @@ -3,10 +3,10 @@ namespace App\Services\Logic\User\Console; use App\Caches\User as UserCache; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; use App\Validators\User as UserValidator; -class ProfileUpdate extends Service +class ProfileUpdate extends LogicService { public function handle() diff --git a/app/Services/Logic/User/Console/RefundList.php b/app/Services/Logic/User/Console/RefundList.php index 6953c21a..da1b0af1 100644 --- a/app/Services/Logic/User/Console/RefundList.php +++ b/app/Services/Logic/User/Console/RefundList.php @@ -5,11 +5,11 @@ namespace App\Services\Logic\User\Console; use App\Builders\RefundList as RefundListBuilder; use App\Library\Paginator\Query as PagerQuery; use App\Repos\Refund as RefundRepo; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; use App\Services\Logic\UserTrait; use App\Validators\Refund as RefundValidator; -class RefundList extends Service +class RefundList extends LogicService { use UserTrait; diff --git a/app/Services/Logic/User/Console/ReviewList.php b/app/Services/Logic/User/Console/ReviewList.php index b57df0b5..2a74422a 100644 --- a/app/Services/Logic/User/Console/ReviewList.php +++ b/app/Services/Logic/User/Console/ReviewList.php @@ -5,9 +5,8 @@ namespace App\Services\Logic\User\Console; use App\Builders\ReviewList as ReviewListBuilder; use App\Library\Paginator\Query as PagerQuery; use App\Repos\Review as ReviewRepo; -use App\Services\Logic\Service; -class ReviewList extends Service +class ReviewList extends LogicService { public function handle() diff --git a/app/Services/Logic/User/CourseList.php b/app/Services/Logic/User/CourseList.php index 1ef41939..c0195916 100644 --- a/app/Services/Logic/User/CourseList.php +++ b/app/Services/Logic/User/CourseList.php @@ -5,10 +5,9 @@ namespace App\Services\Logic\User; use App\Builders\CourseUserList as CourseUserListBuilder; use App\Library\Paginator\Query as PagerQuery; use App\Repos\CourseUser as CourseUserRepo; -use App\Services\Logic\Service; use App\Services\Logic\UserTrait; -class CourseList extends Service +class CourseList extends LogicService { use UserTrait; diff --git a/app/Services/Logic/User/FavoriteList.php b/app/Services/Logic/User/FavoriteList.php index 8db2ea90..ff628f08 100644 --- a/app/Services/Logic/User/FavoriteList.php +++ b/app/Services/Logic/User/FavoriteList.php @@ -5,10 +5,9 @@ namespace App\Services\Logic\User; use App\Builders\CourseFavoriteList as CourseFavoriteListBuilder; use App\Library\Paginator\Query as PagerQuery; use App\Repos\CourseFavorite as CourseFavoriteRepo; -use App\Services\Logic\Service; use App\Services\Logic\UserTrait; -class FavoriteList extends Service +class FavoriteList extends LogicService { use UserTrait; diff --git a/app/Services/Logic/User/FriendList.php b/app/Services/Logic/User/FriendList.php index c7bb591b..44cb96d8 100644 --- a/app/Services/Logic/User/FriendList.php +++ b/app/Services/Logic/User/FriendList.php @@ -5,7 +5,6 @@ namespace App\Services\Logic\User; use App\Builders\ImFriendUserList as ImFriendUserListBuilder; use App\Library\Paginator\Query as PagerQuery; use App\Repos\ImFriendUser as ImFriendUserRepo; -use App\Services\Logic\Service; use App\Services\Logic\UserTrait; class FriendList extends Service diff --git a/app/Services/Logic/User/GroupList.php b/app/Services/Logic/User/GroupList.php index c3203039..6a4daf3d 100644 --- a/app/Services/Logic/User/GroupList.php +++ b/app/Services/Logic/User/GroupList.php @@ -5,10 +5,9 @@ namespace App\Services\Logic\User; use App\Builders\ImGroupUserList as ImGroupUserListBuilder; use App\Library\Paginator\Query as PagerQuery; use App\Repos\ImGroupUser as ImGroupUserRepo; -use App\Services\Logic\Service; use App\Services\Logic\UserTrait; -class GroupList extends Service +class GroupList extends LogicService { use UserTrait; diff --git a/app/Services/Logic/User/UserInfo.php b/app/Services/Logic/User/UserInfo.php index 387cf444..bb7e0d98 100644 --- a/app/Services/Logic/User/UserInfo.php +++ b/app/Services/Logic/User/UserInfo.php @@ -4,10 +4,10 @@ namespace App\Services\Logic\User; use App\Models\User as UserModel; use App\Repos\User as UserRepo; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; use App\Services\Logic\UserTrait; -class UserInfo extends Service +class UserInfo extends LogicService { use UserTrait; diff --git a/app/Services/Logic/Verify/EmailCode.php b/app/Services/Logic/Verify/EmailCode.php index 11671ae5..d88fca4c 100644 --- a/app/Services/Logic/Verify/EmailCode.php +++ b/app/Services/Logic/Verify/EmailCode.php @@ -2,12 +2,12 @@ namespace App\Services\Logic\Verify; -use App\Services\Logic\Service; -use App\Services\Mail\Verify as VerifyMailService; +use App\Services\Logic\Notice\Mail\Verify as VerifyMailService; +use App\Services\Logic\Service as LogicService; use App\Validators\Captcha as CaptchaValidator; use App\Validators\Verify as VerifyValidator; -class EmailCode extends Service +class EmailCode extends LogicService { public function handle() diff --git a/app/Services/Logic/Verify/SmsCode.php b/app/Services/Logic/Verify/SmsCode.php index 48c79713..9fdc423f 100644 --- a/app/Services/Logic/Verify/SmsCode.php +++ b/app/Services/Logic/Verify/SmsCode.php @@ -3,11 +3,11 @@ namespace App\Services\Logic\Verify; use App\Services\Logic\Notice\Sms\Verify as SmsVerifyService; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; use App\Validators\Captcha as CaptchaValidator; use App\Validators\Verify as VerifyValidator; -class SmsCode extends Service +class SmsCode extends LogicService { public function handle() diff --git a/app/Services/Logic/Vip/CourseList.php b/app/Services/Logic/Vip/CourseList.php index 3cb7502d..c386a243 100644 --- a/app/Services/Logic/Vip/CourseList.php +++ b/app/Services/Logic/Vip/CourseList.php @@ -4,7 +4,6 @@ namespace App\Services\Logic\Vip; use App\Library\Paginator\Query as PagerQuery; use App\Repos\Course as CourseRepo; -use App\Services\Logic\Service; class CourseList extends Service { diff --git a/app/Services/Logic/Vip/OptionList.php b/app/Services/Logic/Vip/OptionList.php index 0f732a03..64bc23c5 100644 --- a/app/Services/Logic/Vip/OptionList.php +++ b/app/Services/Logic/Vip/OptionList.php @@ -3,7 +3,6 @@ namespace App\Services\Logic\Vip; use App\Repos\Vip as VipRepo; -use App\Services\Logic\Service; class OptionList extends Service { diff --git a/app/Services/Logic/Vip/UserList.php b/app/Services/Logic/Vip/UserList.php index cdbb4b71..606c256a 100644 --- a/app/Services/Logic/Vip/UserList.php +++ b/app/Services/Logic/Vip/UserList.php @@ -4,7 +4,7 @@ namespace App\Services\Logic\Vip; use App\Library\Paginator\Query as PagerQuery; use App\Repos\User as UserRepo; -use App\Services\Logic\Service; +use App\Services\Logic\Service as LogicService; class UserList extends Service { diff --git a/app/Services/Pay/WxpayGateway.php b/app/Services/Pay/WxpayGateway.php index 00a7800f..ad311b22 100644 --- a/app/Services/Pay/WxpayGateway.php +++ b/app/Services/Pay/WxpayGateway.php @@ -2,7 +2,7 @@ namespace App\Services\Pay; -use App\Services\Service as Service; +use App\Services\Service; use Yansongda\Pay\Gateways\Wechat; use Yansongda\Pay\Pay; diff --git a/app/Services/Sync/Learning.php b/app/Services/Sync/Learning.php index fe5ba353..3f4a8d93 100644 --- a/app/Services/Sync/Learning.php +++ b/app/Services/Sync/Learning.php @@ -3,10 +3,10 @@ namespace App\Services\Sync; use App\Models\Learning as LearningModel; -use App\Services\Service; +use App\Services\Service as AppService; use App\Traits\Client as ClientTrait; -class Learning extends Service +class Learning extends AppService { use ClientTrait; diff --git a/app/Services/Utils/IndexCourseCache.php b/app/Services/Utils/IndexCourseCache.php index beedbd32..3781e53c 100644 --- a/app/Services/Utils/IndexCourseCache.php +++ b/app/Services/Utils/IndexCourseCache.php @@ -10,9 +10,9 @@ use App\Caches\IndexSimpleFreeCourseList as IndexSimpleFreeCourseListCache; use App\Caches\IndexSimpleNewCourseList as IndexSimpleNewCourseListCache; use App\Caches\IndexSimpleVipCourseList as IndexSimpleVipCourseListCache; use App\Caches\IndexVipCourseList as IndexVipCourseListCache; -use App\Services\Service; +use App\Services\Service as AppService; -class IndexCourseCache extends Service +class IndexCourseCache extends AppService { public function rebuild($section = null)