repo
stringlengths
7
63
file_url
stringlengths
81
284
file_path
stringlengths
5
200
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:02:33
2026-01-05 05:24:06
truncated
bool
2 classes
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/oauth2/controllers/PasswordController.php
oauth2/controllers/PasswordController.php
<?php namespace oauth2\controllers; use Yii; use oauth2\repository\UserRepository; use oauth2\repository\RefreshTokenRepository; use common\helpers\ResultHelper; use GuzzleHttp\Psr7\ServerRequest; use oauth2\components\Response; /** * 密码模式(将用户名,密码传过去,直接获取token) * * Class PasswordController * @package oauth2\cont...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/oauth2/controllers/SiteController.php
oauth2/controllers/SiteController.php
<?php namespace oauth2\controllers; use Yii; use yii\web\Controller; use yii\web\NotFoundHttpException; /** * Class SiteController * @package oauth2\controllers * @author jianyan74 <751393839@qq.com> */ class SiteController extends Controller { /** * @return string */ public function actionErro...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/oauth2/controllers/MemberController.php
oauth2/controllers/MemberController.php
<?php namespace oauth2\controllers; use Yii; use yii\filters\Cors; use oauth2\behaviors\JWTAuth; use common\traits\BaseAction; /** * Class MemberController * @package oauth2\controllers * @author jianyan74 <751393839@qq.com> */ class MemberController extends \yii\rest\ActiveController { use BaseAction; ...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/oauth2/controllers/AuthorizeController.php
oauth2/controllers/AuthorizeController.php
<?php namespace oauth2\controllers; use Yii; use oauth2\components\Response; use common\helpers\ResultHelper; use oauth2\repository\AuthCodeRepository; use oauth2\repository\RefreshTokenRepository; use League\OAuth2\Server\Grant\AuthCodeGrant; use GuzzleHttp\Psr7\ServerRequest; /** * 授权码模式(即先登录获取code,再获取token) * ...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/oauth2/components/ServerRequest.php
oauth2/components/ServerRequest.php
<?php namespace oauth2\components; use Psr\Http\Message\ServerRequestInterface; use Yii; use GuzzleHttp\Psr7\LazyOpenStream; /** * Class ServerRequest * @package oauth2\components * @author jianyan74 <751393839@qq.com> */ class ServerRequest extends \GuzzleHttp\Psr7\ServerRequest { private $attributes = []; ...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/oauth2/components/Stream.php
oauth2/components/Stream.php
<?php namespace oauth2\components; use Yii; use yii\helpers\Json; use Psr\Http\Message\StreamInterface; /** * Class Stream * @package common\models\oauth2 * @author jianyan74 <751393839@qq.com> */ class Stream implements StreamInterface { /** * Reads all data from the stream into a string, from the begi...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/oauth2/components/Response.php
oauth2/components/Response.php
<?php namespace oauth2\components; use Yii; use Psr\Http\Message\ResponseInterface; use Psr\Http\Message\StreamInterface; /** * Class Response * @package common\models\oauth2 * @author jianyan74 <751393839@qq.com> */ class Response implements ResponseInterface { /** * @var Stream */ protected $...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/oauth2/repository/ClientRepository.php
oauth2/repository/ClientRepository.php
<?php namespace oauth2\repository; use Yii; use yii\web\UnprocessableEntityHttpException; use oauth2\entity\ClientEntity; use League\OAuth2\Server\Repositories\ClientRepositoryInterface; use League\OAuth2\Server\Entities\ClientEntityInterface; /** * Class ClientRepository * @package oauth2 * @author jianyan74 <75...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/oauth2/repository/ScopeRepository.php
oauth2/repository/ScopeRepository.php
<?php namespace oauth2\repository; use oauth2\entity\ScopeEntity; use League\OAuth2\Server\Repositories\ScopeRepositoryInterface; use League\OAuth2\Server\Entities\ClientEntityInterface; use League\OAuth2\Server\Entities\ScopeEntityInterface; /** * Class ScopeRepository * @package oauth2 * @author jianyan74 <7513...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/oauth2/repository/RefreshTokenRepository.php
oauth2/repository/RefreshTokenRepository.php
<?php namespace oauth2\repository; use Yii; use yii\helpers\Json; use oauth2\entity\RefreshTokenEntity; use League\OAuth2\Server\Entities\RefreshTokenEntityInterface; use League\OAuth2\Server\Repositories\RefreshTokenRepositoryInterface; /** * Class RefreshTokenRepository * @package oauth2 * @author jianyan74 <75...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/oauth2/repository/AuthCodeRepository.php
oauth2/repository/AuthCodeRepository.php
<?php namespace oauth2\repository; use Yii; use yii\helpers\Json; use oauth2\entity\AuthCodeEntity; use League\OAuth2\Server\Entities\AuthCodeEntityInterface; use League\OAuth2\Server\Repositories\AuthCodeRepositoryInterface; /** * Class AuthCodeRepository * @package oauth2 * @author jianyan74 <751393839@qq.com> ...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/oauth2/repository/UserRepository.php
oauth2/repository/UserRepository.php
<?php namespace oauth2\repository; use common\models\member\Member; use oauth2\entity\UserEntity; use League\OAuth2\Server\Repositories\UserRepositoryInterface; use League\OAuth2\Server\Entities\ClientEntityInterface; use League\OAuth2\Server\Entities\UserEntityInterface; use yii\web\UnprocessableEntityHttpException;...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/oauth2/repository/AccessTokenRepository.php
oauth2/repository/AccessTokenRepository.php
<?php namespace oauth2\repository; use Yii; use yii\helpers\Json; use oauth2\entity\AccessTokenEntity; use League\OAuth2\Server\Repositories\AccessTokenRepositoryInterface; use League\OAuth2\Server\Entities\ClientEntityInterface; use League\OAuth2\Server\Entities\ScopeEntityInterface; use League\OAuth2\Server\Entitie...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/oauth2/entity/AccessTokenEntity.php
oauth2/entity/AccessTokenEntity.php
<?php namespace oauth2\entity; use League\OAuth2\Server\Entities\AccessTokenEntityInterface; use League\OAuth2\Server\Entities\Traits\AccessTokenTrait; use League\OAuth2\Server\Entities\Traits\TokenEntityTrait; use League\OAuth2\Server\Entities\Traits\EntityTrait; /** * Class AccessTokenEntity * @package oauth2\en...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/oauth2/entity/RefreshTokenEntity.php
oauth2/entity/RefreshTokenEntity.php
<?php namespace oauth2\entity; use League\OAuth2\Server\Entities\RefreshTokenEntityInterface; use League\OAuth2\Server\Entities\Traits\RefreshTokenTrait; use League\OAuth2\Server\Entities\Traits\EntityTrait; /** * Class RefreshTokenEntity * @package oauth2\entity * @author jianyan74 <751393839@qq.com> */ class R...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/oauth2/entity/ClientEntity.php
oauth2/entity/ClientEntity.php
<?php namespace oauth2\entity; use League\OAuth2\Server\Entities\ClientEntityInterface; use League\OAuth2\Server\Entities\Traits\ClientTrait; use League\OAuth2\Server\Entities\Traits\EntityTrait; /** * Class ClientEntity * @package oauth2\entity * @author jianyan74 <751393839@qq.com> */ class ClientEntity implem...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/oauth2/entity/ScopeEntity.php
oauth2/entity/ScopeEntity.php
<?php namespace oauth2\entity; use League\OAuth2\Server\Entities\ScopeEntityInterface; use League\OAuth2\Server\Entities\Traits\EntityTrait; /** * Class ScopeEntity * @package oauth2\entity * @author jianyan74 <751393839@qq.com> */ class ScopeEntity implements ScopeEntityInterface { use EntityTrait; // ...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/oauth2/entity/UserEntity.php
oauth2/entity/UserEntity.php
<?php namespace oauth2\entity; use League\OAuth2\Server\Entities\Traits\EntityTrait; use League\OAuth2\Server\Entities\UserEntityInterface; /** * Class UserEntity * @package oauth2\entity * @author jianyan74 <751393839@qq.com> */ class UserEntity implements UserEntityInterface { use EntityTrait; }
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/oauth2/entity/AuthCodeEntity.php
oauth2/entity/AuthCodeEntity.php
<?php namespace oauth2\entity; use League\OAuth2\Server\Entities\AuthCodeEntityInterface; use League\OAuth2\Server\Entities\Traits\EntityTrait; use League\OAuth2\Server\Entities\Traits\TokenEntityTrait; use League\OAuth2\Server\Entities\Traits\AuthCodeTrait; /** * Class AuthCodeEntity * @package oauth2\entity * @...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/oauth2/modules/v1/Module.php
oauth2/modules/v1/Module.php
<?php namespace oauth2\modules\v1; /** * v1 module definition class */ class Module extends \yii\base\Module { /** * {@inheritdoc} */ public $controllerNamespace = 'oauth2\modules\v1\controllers'; /** * {@inheritdoc} */ public function init() { parent::init(); ...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/oauth2/modules/v1/controllers/DefaultController.php
oauth2/modules/v1/controllers/DefaultController.php
<?php namespace oauth2\modules\v1\controllers; use Yii; use oauth2\controllers\OnAuthController; /** * 默认控制器 * * Class DefaultController * @package oauth2\modules\v1\controllers * @property \yii\db\ActiveRecord $modelClass * @author jianyan74 <751393839@qq.com> */ class DefaultController extends OnAuthControl...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/oauth2/modules/v2/Module.php
oauth2/modules/v2/Module.php
<?php namespace oauth2\modules\v2; /** * v2 module definition class */ class Module extends \yii\base\Module { /** * {@inheritdoc} */ public $controllerNamespace = 'oauth2\modules\v2\controllers'; /** * {@inheritdoc} */ public function init() { parent::init(); ...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/oauth2/modules/v2/controllers/DefaultController.php
oauth2/modules/v2/controllers/DefaultController.php
<?php namespace oauth2\modules\v2\controllers; use Yii; use oauth2\controllers\OnAuthController; /** * 默认控制器 * * Class DefaultController * @package oauth2\modules\v2\controllers * @author jianyan74 <751393839@qq.com> */ class DefaultController extends OnAuthController { public $modelClass = ''; /** ...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/oauth2/config/main.php
oauth2/config/main.php
<?php $params = array_merge( require __DIR__ . '/../../common/config/params.php', require __DIR__ . '/../../common/config/params-local.php', require __DIR__ . '/params.php', require __DIR__ . '/params-local.php' ); return [ 'id' => 'oauth2', 'basePath' => dirname(__DIR__), 'controllerNamesp...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/oauth2/config/params.php
oauth2/config/params.php
<?php return [ /** ------ 日志记录 ------ **/ 'user.log' => true, 'user.log.level' => YII_DEBUG ? ['success', 'info', 'warning', 'error'] : ['warning', 'error'], // 级别 ['success', 'info', 'warning', 'error'] 'user.log.except.code' => [], // 不记录的code /** ------ token相关 ------ **/ // 注意:需要了解 DateInt...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/oauth2/config/test.php
oauth2/config/test.php
<?php return [ 'id' => 'app-oauth2-tests', 'components' => [ 'assetManager' => [ 'basePath' => __DIR__ . '/../web/assets', ], 'urlManager' => [ 'showScriptName' => true, ], 'request' => [ 'cookieValidationKey' => 'test', ], ...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/oauth2/config/bootstrap.php
oauth2/config/bootstrap.php
<?php
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/Application.php
services/Application.php
<?php namespace services; use common\components\Service; /** * Class Application * @package services * * 会员 * @property \services\member\MemberService $member 会员 * @property \services\member\MemberTagService $memberTag 会员标签 * @property \services\member\MemberTagMapService $memberTagMap 会员标签关联 * @property \se...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/oauth2/AccessTokenService.php
services/oauth2/AccessTokenService.php
<?php namespace services\oauth2; use common\models\oauth2\AccessToken; use common\components\Service; use yii\web\UnprocessableEntityHttpException; /** * Class AccessTokenService * @package services\oauth2 * @author jianyan74 <751393839@qq.com> */ class AccessTokenService extends Service { /** * @param ...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/oauth2/ClientService.php
services/oauth2/ClientService.php
<?php namespace services\oauth2; use common\components\Service; use common\enums\StatusEnum; use common\helpers\StringHelper; use common\models\oauth2\Client; /** * Class ClientService * @package services\oauth2 * @author jianyan74 <751393839@qq.com> */ class ClientService extends Service { /** * @param...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/oauth2/ServerService.php
services/oauth2/ServerService.php
<?php namespace services\oauth2; use Yii; use common\components\Service; use common\helpers\StringHelper; use oauth2\repository\ClientRepository; use oauth2\repository\ScopeRepository; use oauth2\repository\AccessTokenRepository; use League\OAuth2\Server\AuthorizationServer; use League\OAuth2\Server\CryptKey; /** *...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/oauth2/RefreshTokenService.php
services/oauth2/RefreshTokenService.php
<?php namespace services\oauth2; use common\components\Service; use common\models\oauth2\RefreshToken; /** * Class RefreshTokenService * @package services\oauth2 * @author jianyan74 <751393839@qq.com> */ class RefreshTokenService extends Service { /** * @param $client_id * @param $grant_type *...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/oauth2/AuthorizationCodeService.php
services/oauth2/AuthorizationCodeService.php
<?php namespace services\oauth2; use common\components\Service; use common\models\oauth2\AuthorizationCode; /** * Class AuthorizationCodeService * @package services\oauth2 * @author jianyan74 <751393839@qq.com> */ class AuthorizationCodeService extends Service { /** * @param $client_id * @param $au...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/store/StoreService.php
services/store/StoreService.php
<?php namespace services\store; use Yii; use common\enums\StatusEnum; use addons\TinyStore\common\models\store\Store; /** * Class StoreService * @package ${NAMESPACE} * @author jianyan74 <751393839@qq.com> */ class StoreService { /** * @var int */ protected $store_id = 0; /** * @retur...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/member/AuthService.php
services/member/AuthService.php
<?php namespace services\member; use Yii; use common\helpers\ArrayHelper; use common\enums\StatusEnum; use common\components\Service; use common\models\member\Auth; use common\enums\MemberTypeEnum; /** * Class AuthService * @package services\member * @author jianyan74 <751393839@qq.com> */ class AuthService exte...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/member/BankAccountService.php
services/member/BankAccountService.php
<?php namespace services\member; use common\components\Service; use common\enums\AccountTypeEnum; use common\enums\StatusEnum; use common\models\member\BankAccount; /** * Class BankAccountService * @package services\member * @author jianyan74 <751393839@qq.com> */ class BankAccountService extends Service { /...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/member/AccountService.php
services/member/AccountService.php
<?php namespace services\member; use common\enums\MemberTypeEnum; use common\enums\StatusEnum; use common\models\member\Account; /** * Class AccountService * @package services\member * @author jianyan74 <751393839@qq.com> */ class AccountService { /** * 获取商户下的用户账号统计 * * @return array|\yii\db\A...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/member/AddressService.php
services/member/AddressService.php
<?php namespace services\member; use yii\db\ActiveRecord; use common\enums\StatusEnum; use common\components\Service; use common\models\member\Address; /** * Class AddressService * @package services\member * @author jianyan74 <751393839@qq.com> */ class AddressService extends Service { /** * 获取默认地址 ...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/member/CancelService.php
services/member/CancelService.php
<?php namespace services\member; use Yii; use yii\web\UnprocessableEntityHttpException; use common\components\Service; use common\enums\AuditStatusEnum; use common\enums\StatusEnum; use common\models\member\Cancel; use common\models\member\Member; /** * Class CancelService * @package services\member * @author jia...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/member/InvoiceService.php
services/member/InvoiceService.php
<?php namespace services\member; use common\components\Service; use common\enums\StatusEnum; use common\models\member\Invoice; /** * Class InvoiceService * @package services\member * @author jianyan74 <751393839@qq.com> */ class InvoiceService extends Service { /** * @param $member_id * @return arr...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/member/CreditsLogService.php
services/member/CreditsLogService.php
<?php namespace services\member; use Yii; use yii\web\NotFoundHttpException; use common\forms\CreditsLogForm; use common\components\Service; use common\models\member\CreditsLog; use common\enums\CreditsLogTypeEnum; use common\models\member\Account; use common\enums\StatusEnum; use common\enums\MemberTypeEnum; use com...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/member/MemberTagService.php
services/member/MemberTagService.php
<?php namespace services\member; use Yii; use common\models\member\Tag; use common\enums\StatusEnum; use common\helpers\ArrayHelper; /** * Class MemberTagService * @package services\member * @author jianyan74 <751393839@qq.com> */ class MemberTagService { /** * @return array|\yii\db\ActiveRecord[] ...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/member/MemberTagMapService.php
services/member/MemberTagMapService.php
<?php namespace services\member; use Yii; use common\helpers\ArrayHelper; use common\models\member\TagMap; /** * Class MemberTagMapService * @package services\member * @author jianyan74 <751393839@qq.com> */ class MemberTagMapService { /** * @param $member_id * @return array */ public func...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/member/WithdrawDepositService.php
services/member/WithdrawDepositService.php
<?php namespace services\member; use Yii; use yii\base\InvalidConfigException; use yii\db\ActiveRecord; use yii\web\NotFoundHttpException; use yii\web\UnprocessableEntityHttpException; use common\components\Service; use common\enums\StatusEnum; use common\enums\TransferTypeEnum; use common\enums\WithdrawTransferStatu...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/member/LevelService.php
services/member/LevelService.php
<?php namespace services\member; use Yii; use common\helpers\ArrayHelper; use common\components\Service; use common\enums\StatusEnum; use common\models\member\Account; use common\models\member\Level; use common\models\member\Member; use common\enums\MemberLevelUpgradeTypeEnum; use common\enums\MemberLevelAutoUpgradeT...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/member/CertificationService.php
services/member/CertificationService.php
<?php namespace services\member; use linslin\yii2\curl\Curl; use common\enums\StatusEnum; use common\models\member\Certification; use yii\helpers\Json; use yii\web\UnprocessableEntityHttpException; /** * Class CertificationService * @package services\member * @author jianyan74 <751393839@qq.com> * * 购买地址:https:...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/member/MemberService.php
services/member/MemberService.php
<?php namespace services\member; use Yii; use common\models\base\User; use common\components\Service; use common\enums\AppEnum; use common\enums\StatusEnum; use common\models\member\Member; use common\enums\MemberTypeEnum; use common\helpers\TreeHelper; use common\helpers\EchantsHelper; use common\enums\MemberLevelBu...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/member/LevelConfigService.php
services/member/LevelConfigService.php
<?php namespace services\member; use common\components\Service; use common\models\member\LevelConfig; /** * Class LevelConfigService * @package services\member */ class LevelConfigService extends Service { /** * @var array */ protected $models = []; /** * @return array|\yii\db\ActiveRe...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/api/AccessTokenService.php
services/api/AccessTokenService.php
<?php namespace services\api; use Yii; use yii\db\ActiveRecord; use common\components\Service; use common\enums\StatusEnum; use common\helpers\ArrayHelper; use common\models\member\Member; use common\enums\DevPatternEnum; use common\models\api\AccessToken; /** * Class AccessTokenService * @package services\api * ...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/common/NotifyAnnounceService.php
services/common/NotifyAnnounceService.php
<?php namespace services\common; use common\enums\StatusEnum; use common\models\common\NotifyAnnounce; /** * Class NotifyAnnounceService * @package services\common */ class NotifyAnnounceService { /** * @return array|\yii\db\ActiveRecord|null */ public function findById($id) { return...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/common/LogService.php
services/common/LogService.php
<?php namespace services\common; use Yii; use common\models\common\Log; use common\enums\AppEnum; use common\enums\MessageLevelEnum; use common\enums\StatusEnum; use common\helpers\ArrayHelper; use common\helpers\DebrisHelper; use common\queues\LogJob; use common\helpers\EchantsHelper; use common\enums\SubscriptionAc...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/common/ThemeService.php
services/common/ThemeService.php
<?php namespace services\common; use Yii; use common\helpers\ArrayHelper; use common\models\common\Theme; use common\enums\ThemeColorEnum; /** * Class ThemeService * @package services\common * @author jianyan74 <751393839@qq.com> */ class ThemeService { /** * @return void */ public function aut...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/common/AddonsConfigService.php
services/common/AddonsConfigService.php
<?php namespace services\common; use Yii; use common\enums\AppEnum; use common\models\common\AddonsConfig; /** * Class AddonsConfigService * @package services\common */ class AddonsConfigService { /** * @param $name * @param $merchant_id * @return array|\yii\db\ActiveRecord|null */ pub...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/common/NotifyService.php
services/common/NotifyService.php
<?php namespace services\common; use Yii; use common\enums\MemberTypeEnum; use common\components\Service; use common\enums\NotifyTypeEnum; use common\enums\StatusEnum; use common\models\common\Notify; use common\models\common\NotifyMember; use common\helpers\ArrayHelper; use common\enums\SubscriptionActionEnum; use c...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/common/ProvincesService.php
services/common/ProvincesService.php
<?php namespace services\common; use Yii; use common\models\common\Provinces; use common\components\Service; use common\helpers\ArrayHelper; /** * Class ProvincesService * @package services\common * @author jianyan74 <751393839@qq.com> */ class ProvincesService extends Service { /** * 获取省市区禁用状态 * ...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/common/MailerService.php
services/common/MailerService.php
<?php namespace services\common; use Yii; use yii\base\InvalidConfigException; use common\queues\MailerJob; /** * Class MailerService * @package services\common * @author jianyan74 <751393839@qq.com> */ class MailerService { /** * 消息队列 * * @var bool */ public $queueSwitch = false; ...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/common/AttachmentService.php
services/common/AttachmentService.php
<?php namespace services\common; use common\components\Service; use common\enums\StatusEnum; use common\models\common\Attachment; /** * Class AttachmentService * @package services\common */ class AttachmentService extends Service { /** * @param $data * @return Attachment * @throws \yii\web\Unpr...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/common/ActionLogService.php
services/common/ActionLogService.php
<?php namespace services\common; use Yii; use common\helpers\ArrayHelper; use common\helpers\DebrisHelper; use common\models\common\ActionLog; use common\queues\ActionLogJob; use common\enums\StatusEnum; use common\components\Service; use Zhuzhichao\IpLocationZh\Ip; /** * Class ActionLogService * @package services...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/common/AttachmentCateService.php
services/common/AttachmentCateService.php
<?php namespace services\common; use Yii; use common\components\Service; use common\enums\StatusEnum; use common\helpers\ArrayHelper; use common\models\common\AttachmentCate; /** * Class AttachmentCateService * @package services\common */ class AttachmentCateService extends Service { /** * @return array ...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/common/ConfigCateService.php
services/common/ConfigCateService.php
<?php namespace services\common; use yii\db\ActiveQuery; use common\enums\StatusEnum; use common\helpers\ArrayHelper; use common\models\common\ConfigCate; /** * Class ConfigCateService * @package services\common */ class ConfigCateService { /** * @return array */ public function getDropDown($app...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/common/AddonsService.php
services/common/AddonsService.php
<?php namespace services\common; use Yii; use yii\helpers\Console; use yii\web\NotFoundHttpException; use yii\web\UnprocessableEntityHttpException; use common\enums\StatusEnum; use common\helpers\ArrayHelper; use common\helpers\AddonHelper; use common\models\common\Addons; use common\components\BaseAddonConfig; use c...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/common/MenuService.php
services/common/MenuService.php
<?php namespace services\common; use Yii; use yii\helpers\Json; use yii\db\ActiveQuery; use common\enums\StatusEnum; use common\enums\AddonTypeEnum; use common\enums\WhetherEnum; use common\models\common\Menu; use common\models\common\MenuCate; use common\components\Service; use common\helpers\Auth; use common\helper...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/common/DevPatternService.php
services/common/DevPatternService.php
<?php namespace services\common; use Yii; use common\enums\AppEnum; use common\components\Service; use common\enums\DevPatternEnum; /** * 开发模式 * * Class DevPatternService * @package services\common * @author jianyan74 <751393839@qq.com> */ class DevPatternService extends Service { /** * 判断多商户 * ...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/common/BaseService.php
services/common/BaseService.php
<?php namespace services\common; use Yii; use yii\web\NotFoundHttpException; use yii\web\UnprocessableEntityHttpException; /** * Class BaseService * @package services\common */ class BaseService { /** * 当前版本号 * * @return mixed|string * @throws NotFoundHttpException */ public funct...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/common/BankNumberService.php
services/common/BankNumberService.php
<?php namespace services\common; use common\enums\StatusEnum; use common\helpers\ArrayHelper; use common\models\common\BankNumber; /** * Class BankNumberService * @package services\common */ class BankNumberService { /** * @return array */ public function getMap() { return ArrayHelpe...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/common/NotifyMemberService.php
services/common/NotifyMemberService.php
<?php namespace services\common; use common\enums\NotifyTypeEnum; use common\helpers\ArrayHelper; use common\enums\StatusEnum; use common\models\common\NotifyMember; /** * Class NotifyMemberService * @package services\common */ class NotifyMemberService { /** * 获取用户消息列表 * * @param $merchant_id ...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/common/ConfigService.php
services/common/ConfigService.php
<?php namespace services\common; use Yii; use yii\db\ActiveQuery; use yii\helpers\Json; use common\enums\AppEnum; use common\models\common\Config; use common\models\common\ConfigValue; /** * 配置管理 * * Class ConfigService * @package services\common */ class ConfigService { /** * @var array */ pr...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/common/RageFrameService.php
services/common/RageFrameService.php
<?php namespace services\common; use Yii; use yii\helpers\Json; use linslin\yii2\curl\Curl; use common\helpers\ResultHelper; use common\helpers\FileHelper; use common\helpers\ZipHelper; use yii\web\NotFoundHttpException; use yii\web\UnprocessableEntityHttpException; use Exception; /** * Class RageFrameService * @p...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/common/NotifyConfigService.php
services/common/NotifyConfigService.php
<?php namespace services\common; use Yii; use yii\helpers\Json; use common\enums\NotifyConfigTypeEnum; use common\helpers\ArrayHelper; use common\enums\StatusEnum; use common\models\common\NotifyConfig; use common\enums\AccessTokenGroupEnum; /** * Class NotifyConfigService * @package services\common * @author jia...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/common/MenuCateService.php
services/common/MenuCateService.php
<?php namespace services\common; use Yii; use yii\helpers\Json; use common\enums\StatusEnum; use common\enums\WhetherEnum; use common\enums\AddonTypeEnum; use common\helpers\ArrayHelper; use common\helpers\Auth; use common\components\Service; use common\models\common\MenuCate; /** * Class MenuCateService * @packag...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/common/ArchivesService.php
services/common/ArchivesService.php
<?php namespace services\common; use common\enums\MemberTypeEnum; use common\enums\StatusEnum; use common\models\common\Archives; /** * Class ArchivesService * @package services\common */ class ArchivesService { /** * 商户最后一条认证信息 * * @return array|\yii\db\ActiveRecord|null */ public fun...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/common/ArchivesApplyService.php
services/common/ArchivesApplyService.php
<?php namespace services\common; use common\enums\AuditStatusEnum; use common\enums\MemberTypeEnum; use common\enums\StatusEnum; use common\models\common\ArchivesApply; /** * Class ArchivesApplyService * @package services\common */ class ArchivesApplyService { /** * @return array|\yii\db\ActiveRecord[] ...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/rbac/AuthService.php
services/rbac/AuthService.php
<?php namespace services\rbac; use Yii; /** * Class AuthService * @package services\rbac * @author jianyan74 <751393839@qq.com> */ class AuthService { /** * 是否超级管理员 * * @return bool */ public function isSuperAdmin() { return in_array(Yii::$app->user->id, Yii::$app->params[...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/rbac/AuthAssignmentService.php
services/rbac/AuthAssignmentService.php
<?php namespace services\rbac; use Yii; use common\components\Service; use common\models\rbac\AuthAssignment; use yii\web\UnprocessableEntityHttpException; /** * Class AuthAssignmentService * @package services\rbac */ class AuthAssignmentService extends Service { /** * 分配角色 * * @param array $ro...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/rbac/AuthItemChildService.php
services/rbac/AuthItemChildService.php
<?php namespace services\rbac; use Yii; use yii\db\ActiveQuery; use common\components\Service; use common\enums\WhetherEnum; use common\helpers\ArrayHelper; use common\helpers\StringHelper; use common\helpers\TreeHelper; use common\models\rbac\AuthItem; use common\models\rbac\AuthItemChild; use yii\web\UnprocessableE...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/rbac/AuthItemService.php
services/rbac/AuthItemService.php
<?php namespace services\rbac; use common\enums\AppEnum; use common\enums\StatusEnum; use common\enums\WhetherEnum; use common\helpers\ArrayHelper; use common\models\rbac\AuthItem; use common\models\rbac\AuthItemChild; /** * Class AuthItemService * @package services\rbac */ class AuthItemService { /** * ...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/rbac/AuthRoleService.php
services/rbac/AuthRoleService.php
<?php namespace services\rbac; use Yii; use yii\web\UnauthorizedHttpException; use common\enums\WhetherEnum; use common\enums\StatusEnum; use common\helpers\ArrayHelper; use common\models\rbac\AuthRole; use common\helpers\TreeHelper; /** * Class AuthRoleService * @package services\rbac */ class AuthRoleService { ...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/merchant/MerchantService.php
services/merchant/MerchantService.php
<?php namespace services\merchant; use Yii; use common\enums\StatusEnum; use common\components\Service; use common\models\merchant\Merchant; /** * 商户 * * Class MerchantService * @package services\merchant * @author jianyan74 <751393839@qq.com> */ class MerchantService extends Service { /** * @var int ...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/extend/OpenPlatformService.php
services/extend/OpenPlatformService.php
<?php namespace services\extend; use Yii; use AppleSignIn\ASDecoder; use linslin\yii2\curl\Curl; use yii\helpers\Json; use yii\web\UnprocessableEntityHttpException; /** * Class OpenPlatformService * @package services\extend */ class OpenPlatformService { /** * 微信开放平台 * * @param string $code ...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/extend/DetectionService.php
services/extend/DetectionService.php
<?php namespace services\extend; use Yii; use Detection\MobileDetect; /** * Class DetectionService * @package services\extend * @author jianyan74 <751393839@qq.com> */ class DetectionService { /** * @return bool */ public function isMobile() { return (new MobileDetect())->isiMobile(...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/extend/SmsService.php
services/extend/SmsService.php
<?php namespace services\extend; use Yii; use yii\helpers\Json; use yii\web\NotFoundHttpException; use yii\web\UnprocessableEntityHttpException; use common\models\extend\sms\TencentSms; use common\enums\StatusEnum; use common\helpers\ArrayHelper; use common\helpers\EchantsHelper; use common\models\extend\SmsLog; use ...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/extend/UploadService.php
services/extend/UploadService.php
<?php namespace services\extend; use Yii; use common\helpers\Url; use yii\helpers\Json; use yii\web\UnprocessableEntityHttpException; use common\enums\StatusEnum; use common\forms\UploadForm; use common\helpers\UploadHelper; use common\components\Service; use common\helpers\ArrayHelper; use common\enums\AttachmentUpl...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/extend/ConfigService.php
services/extend/ConfigService.php
<?php namespace services\extend; use common\enums\ExtendConfigNameEnum; use common\enums\StatusEnum; use common\models\extend\Config; use common\models\extend\printer\FeiE; use common\models\extend\printer\YiLianYun; /** * Class ConfigService * @package services\extend */ class ConfigService { /** * 获取对应...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/extend/PayService.php
services/extend/PayService.php
<?php namespace services\extend; use Yansongda\Pay\Exception\InvalidResponseException; use Yansongda\Pay\Pay; use Yii; use yii\web\UnprocessableEntityHttpException; use common\enums\PayTypeEnum; use common\enums\StatusEnum; use common\enums\PayTradeTypeEnum; use common\helpers\BcHelper; use common\helpers\StringHelpe...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/extend/MapService.php
services/extend/MapService.php
<?php namespace services\extend; use Yii; use linslin\yii2\curl\Curl; use yii\helpers\Json; /** * Class MapService * @package services\extend */ class MapService { const URL = 'http://restapi.amap.com'; /** * 高德根据地址获取经纬度 * * @param $address * @return bool|false|string[] * @throws...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/extend/push/AppPushService.php
services/extend/push/AppPushService.php
<?php namespace services\extend\push; use Yii; use common\enums\AppPushEnum; use common\enums\AccessTokenGroupEnum; use common\models\member\Auth; use common\queues\AppPushJob; /** * app 推送 * * Class AppPushService * @package services\extend */ class AppPushService { /** * @var bool */ public ...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/extend/push/GeTuiService.php
services/extend/push/GeTuiService.php
<?php namespace services\extend\push; use GeTui\Client; use Yii; use yii\helpers\Json; use common\components\Service; use common\helpers\ArrayHelper; /** * 个推 * * Yii::$app->services->extendGeTui->client()->ios($title, $content, $clientId, $transmissionContent = []) * * Class GeTuiService * @package servic...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/extend/push/JPushService.php
services/extend/push/JPushService.php
<?php namespace services\extend\push; use Yii; use common\components\Service; use common\helpers\FileHelper; use JPush\Client as JPush; /** * Class JPushService * @package services\extend\push * @author jianyan74 <751393839@qq.com> */ class JPushService extends Service { /** * @var \JPush\Client */...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/extend/logistics/JuHeService.php
services/extend/logistics/JuHeService.php
<?php namespace services\extend\logistics; use Yii; use yii\helpers\Json; use yii\web\NotFoundHttpException; use common\forms\LogisticsForm; use linslin\yii2\curl\Curl; /** * 聚合物流查询 * * Class JuHeService * @package services\extend\logistics * @author jianyan74 <751393839@qq.com> * @deprecated 接口已停用 */ class J...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/extend/logistics/LogisticsService.php
services/extend/logistics/LogisticsService.php
<?php namespace services\extend\logistics; use Yii; use yii\web\NotFoundHttpException; use common\components\Service; use common\forms\LogisticsForm; use common\enums\LogisticsTypeEnum; use common\helpers\StringHelper; /** * 物流查询 * * $order = Yii::$app->-service->extendLogistics->aliyun($no); * * $order->code; ...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/extend/logistics/ALiYunService.php
services/extend/logistics/ALiYunService.php
<?php namespace services\extend\logistics; use Yii; use linslin\yii2\curl\Curl; use common\forms\LogisticsForm; use yii\helpers\Json; use yii\web\NotFoundHttpException; /** * 阿里云物流查询 * * Class ALiYunService * @package services\extend\logistics * @doc https://market.aliyun.com/products/57126001/cmapi021863.html ...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/extend/logistics/Kd100Service.php
services/extend/logistics/Kd100Service.php
<?php namespace services\extend\logistics; use Yii; use yii\helpers\Json; use yii\web\NotFoundHttpException; use common\components\Service; use common\forms\LogisticsForm; use linslin\yii2\curl\Curl; /** * Class Kd100Service * @package services\extend\logistics * @author jianyan74 <751393839@qq.com> */ class Kd1...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/extend/logistics/KdnService.php
services/extend/logistics/KdnService.php
<?php namespace services\extend\logistics; use Yii; use Exception; use common\forms\LogisticsForm; use linslin\yii2\curl\Curl; use yii\helpers\Json; use yii\web\NotFoundHttpException; /** * Class KdnService * @package services\extend\logistics * @author jianyan74 <751393839@qq.com> */ class KdnService { cons...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/extend/printer/YiLianYunService.php
services/extend/printer/YiLianYunService.php
<?php namespace services\extend\printer; use Yii; use yii\web\NotFoundHttpException; use yii\web\UnprocessableEntityHttpException; use App\Api\PicturePrintService; use App\Api\PrintService; use App\Config\YlyConfig; use App\Oauth\YlyOauthClient; use common\components\Service; use common\helpers\ArrayHelper; use commo...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/extend/printer/XpYunService.php
services/extend/printer/XpYunService.php
<?php namespace services\extend\printer; use common\components\Service; use common\helpers\StringHelper; use common\models\extend\printer\XpYun; use linslin\yii2\curl\Curl; use Yii; use yii\helpers\Json; use yii\web\UnprocessableEntityHttpException; use function services\extend\iconv; use function services\extend\mb_...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/extend/printer/PrinterService.php
services/extend/printer/PrinterService.php
<?php namespace services\extend\printer; use Yii; use common\enums\ExtendConfigNameEnum; use common\enums\ExtendConfigTypeEnum; use common\models\extend\Config; use common\queues\ReceiptPrinterJob; /** * 小票打印 * * Class PrinterService * @package services\extend */ class PrinterService { /** * @var bool ...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/extend/printer/FeiEYunService.php
services/extend/printer/FeiEYunService.php
<?php namespace services\extend\printer; use common\components\Service; use common\helpers\StringHelper; use common\models\extend\printer\FeiE; use linslin\yii2\curl\Curl; use Yii; use yii\helpers\Json; use yii\web\UnprocessableEntityHttpException; use function services\extend\iconv; use function services\extend\mb_s...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/services/extend/printer/HiPrintService.php
services/extend/printer/HiPrintService.php
<?php namespace services\extend\printer; use common\helpers\StringHelper; use Yii; use yii\helpers\Json; use function services\extend\mb_strlen; use function services\extend\mb_substr; /** * 本地打印 * * 官网:http://hiprint.io/ * * Class HiPrintService * @package services\extend * @author jianyan74 <751393839@qq.co...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/html5/tests/_bootstrap.php
html5/tests/_bootstrap.php
<?php defined('YII_DEBUG') or define('YII_DEBUG', true); defined('YII_ENV') or define('YII_ENV', 'test'); defined('YII_APP_BASE_PATH') or define('YII_APP_BASE_PATH', __DIR__.'/../../'); require_once YII_APP_BASE_PATH . '/vendor/autoload.php'; require_once YII_APP_BASE_PATH . '/vendor/yiisoft/yii2/Yii.php'; require_onc...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/html5/tests/_data/login_data.php
html5/tests/_data/login_data.php
<?php return [ [ 'username' => 'erau', 'auth_key' => 'tUu1qHcde0diwUol3xeI-18MuHkkprQI', // password_0 'password_hash' => '$2y$13$nJ1WDlBaGcbCdbNC5.5l4.sgy.OMEKCqtDQOdQ2OWpgiKRWYyzzne', 'password_reset_token' => 'RkD_Jw0_8HEedzLk7MM-ZKEFfYR7VbMr_1392559490', 'created_...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false