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/common/helpers/WechatHelper.php | common/helpers/WechatHelper.php | <?php
namespace common\helpers;
use Yii;
/**
* Class WechatHelper
* @package common\helpers
* @author jianyan74 <751393839@qq.com>
*/
class WechatHelper
{
/**
* 验证token是否一致
*
* @param string $signature 微信加密签名,signature结合了开发者填写的token参数和请求中的timestamp参数、nonce参数
* @param integer $timestamp 时间... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/helpers/BcHelper.php | common/helpers/BcHelper.php | <?php
namespace common\helpers;
/**
* bc 高精度库
*
* 四舍六入(银行家舍入)
* round(1.2849, 2, PHP_ROUND_HALF_EVEN);
*
* Class BcHelper
* @package common\helpers
* @author jianyan74 <751393839@qq.com>
*/
class BcHelper
{
/**
* 将二个高精确度数字相除
*
* @param $dividend
* @param $divisor
* @param int $sc... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/fixtures/UserFixture.php | common/fixtures/UserFixture.php | <?php
namespace common\fixtures;
use yii\test\ActiveFixture;
class UserFixture extends ActiveFixture
{
public $modelClass = 'common\models\User';
}
| php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/behaviors/TaggableBehavior.php | common/behaviors/TaggableBehavior.php | <?php
namespace common\behaviors;
use yii\db\Query;
use yii\db\ActiveRecord;
use yii\base\Behavior;
/**
* 标签行为
* TaggableBehavior
*
* @property ActiveRecord $owner
* @author Alexander Kochetov <creocoder@gmail.com>
*/
class TaggableBehavior extends Behavior
{
/**
* 是否将标签返回为数组而不是字符串
*
* @var ... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/behaviors/TaggableQueryBehavior.php | common/behaviors/TaggableQueryBehavior.php | <?php
namespace common\behaviors;
use yii\base\Behavior;
use yii\db\ActiveQuery;
use yii\db\Expression;
/**
* TaggableQueryBehavior
*
* @property \yii\db\ActiveQuery $owner
*
* @author Alexander Kochetov <creocoder@gmail.com>
*/
class TaggableQueryBehavior extends Behavior
{
/**
* 通过标签ID查询内容
*
... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/behaviors/CounterBehavior.php | common/behaviors/CounterBehavior.php | <?php
namespace common\behaviors;
use Yii;
use yii\base\Behavior;
use yii\web\Controller;
use yii\redis\Connection;
use yii\web\TooManyRequestsHttpException;
use common\helpers\DateHelper;
/**
* 计数器 - 限流
*
* Class CounterBehavior
* @package common\behaviors
* @author jianyan74 <751393839@qq.com>
*/
class Count... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/behaviors/HttpSignAuth.php | common/behaviors/HttpSignAuth.php | <?php
namespace common\behaviors;
use Yii;
use yii\base\Behavior;
use yii\web\Controller;
use yii\web\UnprocessableEntityHttpException;
use common\helpers\EncryptionHelper;
use common\forms\SignAuthForm;
/**
* http 签名验证
*
* Class HttpSignAuth
* @package api\behaviors
* @author jianyan74 <751393839@qq.com>
*/
c... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/behaviors/MerchantBehavior.php | common/behaviors/MerchantBehavior.php | <?php
namespace common\behaviors;
use Yii;
use yii\behaviors\BlameableBehavior;
use yii\db\ActiveRecord;
/**
* Trait MerchantBehavior
* @package common\components
*/
trait MerchantBehavior
{
/**
* @return array
*/
public function behaviors()
{
$behaviors = parent::behaviors();
... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/behaviors/SoftDeleteBehavior.php | common/behaviors/SoftDeleteBehavior.php | <?php
namespace common\behaviors;
use yii\base\Behavior;
use yii\base\Event;
use yii\db\BaseActiveRecord;
use yii\db\Expression;
use common\models\base\BaseModel;
/**
* 伪删除行为
*
* Class SoftDeleteBehavior
* @package common\behaviors
* @author jianyan74 <751393839@qq.com>
*/
class SoftDeleteBehavior extends Beha... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/behaviors/TrafficShaperBehavior.php | common/behaviors/TrafficShaperBehavior.php | <?php
namespace common\behaviors;
use Yii;
use yii\base\Behavior;
use yii\helpers\Json;
use yii\web\Controller;
use yii\web\TooManyRequestsHttpException;
use common\components\TrafficShaper;
use common\helpers\Auth;
/**
* 令牌桶 - 限流行为
*
* Class TrafficShaperBehavior
* @package common\behaviors
* @author jianyan74... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/behaviors/MerchantStoreBehavior.php | common/behaviors/MerchantStoreBehavior.php | <?php
namespace common\behaviors;
use Yii;
use yii\behaviors\BlameableBehavior;
use yii\db\ActiveRecord;
/**
* Trait MerchantStoreBehavior
* @package common\components
*/
trait MerchantStoreBehavior
{
/**
* @return array
*/
public function behaviors()
{
$behaviors = parent::behaviors... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/tests/_bootstrap.php | common/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 __DIR__ . '/../../vendor/autoload.php';
require_once __DIR__ . '/../../vendor/yiisoft/yii2/Yii.php';
require __DIR__ ... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/tests/_data/user.php | common/tests/_data/user.php | <?php
return [
[
'username' => 'bayer.hudson',
'auth_key' => 'HP187Mvq7Mmm3CTU80dLkGmni_FUH_lR',
//password_0
'password_hash' => '$2y$13$EjaPFBnZOQsHdGuHI.xvhuDp1fHpo8hKRSk6yshqa9c5EG8s3C3lO',
'password_reset_token' => 'ExzkCOaYc1L8IOBs4wdTGGbgNiG3Wz1I_1402312317',
'... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/tests/unit/models/LoginFormTest.php | common/tests/unit/models/LoginFormTest.php | <?php
namespace common\tests\unit\models;
use Yii;
use common\forms\LoginForm;
use common\fixtures\UserFixture;
/**
* Login form test
*/
class LoginFormTest extends \Codeception\Test\Unit
{
/**
* @var \common\tests\UnitTester
*/
protected $tester;
/**
* @return array
*/
public... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/tests/_support/UnitTester.php | common/tests/_support/UnitTester.php | <?php
namespace common\tests;
/**
* Inherited Methods
* @method void wantToTest($text)
* @method void wantTo($text)
* @method void execute($callable)
* @method void expectTo($prediction)
* @method void expect($prediction)
* @method void amGoingTo($argumentation)
* @method void am($role)
* @method void lookFo... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/controllers/ProvincesController.php | common/controllers/ProvincesController.php | <?php
namespace common\controllers;
use Yii;
use yii\web\Controller;
use yii\web\Response;
use common\helpers\Html;
/**
* Class ProvincesController
* @package common\controllers
* @author jianyan74 <751393839@qq.com>
*/
class ProvincesController extends Controller
{
/**
* 联动查询返回
*/
public funct... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/controllers/AddonsController.php | common/controllers/AddonsController.php | <?php
namespace common\controllers;
use Yii;
use yii\filters\AccessControl;
use yii\web\Controller;
use yii\web\UnauthorizedHttpException;
use common\helpers\Auth;
use common\traits\BaseAction;
use common\enums\AppEnum;
/**
* 模块基类控制器
*
* Class AddonsController
* @package common\controllers
* @author jianyan74 <... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/interfaces/AddonWidget.php | common/interfaces/AddonWidget.php | <?php
namespace common\interfaces;
/**
* 小工具接口
*
* Interface AddonWidget
* @package common\interfaces
*/
interface AddonWidget
{
/**
* 运行方法
*
* @param $params
* @return mixed
*/
public function run($params);
} | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/interfaces/PayHandler.php | common/interfaces/PayHandler.php | <?php
namespace common\interfaces;
/**
* Interface PayHandler
* @package common\interfaces
*/
interface PayHandler
{
/**
* 支付说明
*
* @return string
*/
public function getBody(): string;
/**
* 支付详情
*
* @return string
*/
public function getDetails(): string;
... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/components/Init.php | common/components/Init.php | <?php
namespace common\components;
use Yii;
use yii\base\BootstrapInterface;
use yii\web\UnauthorizedHttpException;
use common\models\member\Member;
use common\helpers\StringHelper;
use common\enums\AppEnum;
/**
* Class InitConfig
* @package common\components
* @author jianyan74 <751393839@qq.com>
*/
class Init ... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/components/TrafficShaper.php | common/components/TrafficShaper.php | <?php
namespace common\components;
use Yii;
use yii\redis\Connection;
/**
* 令牌桶 - 限流
*
* 令牌桶算法 (Token Bucket) 和 Leaky Bucket 效果一样但方向相反的算法,更加容易理解。
* 随着时间流逝,系统会按恒定 1/QPS 时间间隔 (如果 QPS=100, 则间隔是 10ms) 往桶里加入 Token (想象和漏洞漏水相反,有个水龙头在不断的加水), 如果桶已经满了就不再加了。
* 新请求来临时,会各自拿走一个 Token, 如果没有 Token 可拿了就阻塞或者拒绝服务.
*
* 令牌桶的另外一个好... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/components/Migration.php | common/components/Migration.php | <?php
namespace common\components;
use Yii;
use common\helpers\ArrayHelper;
/**
* Class Migration
* @package common\components
*/
class Migration extends \yii\db\Migration
{
/**
* 修改字段名称
*
* @param string $table
* @param string $column
* @param string $type
* @throws \yii\db\Exce... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/components/BaseAddonConfigService.php | common/components/BaseAddonConfigService.php | <?php
namespace common\components;
use Yii;
/**
* 公用获取配置服务
*
* Class BaseAddonConfigService
* @package common\components
*/
class BaseAddonConfigService extends Service
{
/**
* @var array
*/
private $setting = [];
/**
* @param $merchant_id
* @return mixed
*/
public func... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/components/BaseAddonConfig.php | common/components/BaseAddonConfig.php | <?php
namespace common\components;
/**
* Class BaseAddonConfig
* @package common\components
* @author jianyan74 <751393839@qq.com>
*/
class BaseAddonConfig
{
/**
* 基础信息
*
* @var array
*/
public $info = [];
/**
* 前置插件
*
* @var array
*/
public $preposition = ... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/components/WechatCache.php | common/components/WechatCache.php | <?php
namespace common\components;
use Yii;
use Psr\SimpleCache\CacheInterface;
/**
* Class WechatCache
* @package common\components
* @author jianyan74 <751393839@qq.com>
*/
class WechatCache implements CacheInterface
{
/**
* @var int
*/
protected $setTime = 0;
/**
* @param string $k... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/components/Wechat.php | common/components/Wechat.php | <?php
namespace common\components;
use Yii;
use common\helpers\FileHelper;
use common\enums\AppEnum;
use common\helpers\ArrayHelper;
/**
* Class Wechat
* @package common\components
* @author jianyan74 <751393839@qq.com>
*/
class Wechat extends \jianyan\easywechat\Wechat
{
/**
* Wechat constructor.
... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/components/Service.php | common/components/Service.php | <?php
namespace common\components;
use Yii;
use yii\base\Component;
use yii\base\InvalidConfigException;
use common\traits\BaseAction;
/**
* Class Service
* @package common\components
* @author jianyan74 <751393839@qq.com>
*/
class Service extends Component
{
use BaseAction;
/**
* 子服务
*
*... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/components/Pay.php | common/components/Pay.php | <?php
namespace common\components;
use Yii;
use yii\base\Component;
use common\components\payment\AliPay;
use common\components\payment\UniPay;
use common\components\payment\WechatPay;
use common\components\payment\ByteDancePay;
use common\components\payment\Stripe;
use common\helpers\ArrayHelper;
/**
* 支付组件
*
* ... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/components/BaseAddonModule.php | common/components/BaseAddonModule.php | <?php
namespace common\components;
use Yii;
use yii\base\Module;
use common\enums\AppEnum;
use common\helpers\ExecuteHelper;
/**
* Class BaseAddonModule
* @package common\components
* @author jianyan74 <751393839@qq.com>
*/
class BaseAddonModule extends Module
{
/**
* 插件名称
*
* @var string
... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/components/ByteDance.php | common/components/ByteDance.php | <?php
namespace common\components;
use Yii;
use yii\base\Component;
use Doctrine\Common\Cache\PhpFileCache;
use Doctrine\Common\Cache\RedisCache;
use Qbhy\TtMicroApp\TtMicroApp;
/**
* 抖音小程序
*
* Class ByteDance
* @package common\components
*
* @property \Qbhy\TtMicroApp\TtMicroApp $miniProgram SDK实例
*
* @auth... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/components/gii/model/default/query.php | common/components/gii/model/default/query.php | <?php
/**
* This is the template for generating the ActiveQuery class.
*/
/* @var $this yii\web\View */
/* @var $generator yii\gii\generators\model\Generator */
/* @var $tableName string full table name */
/* @var $className string class name */
/* @var $tableSchema yii\db\TableSchema */
/* @var $labels string[] lis... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/components/gii/model/default/model.php | common/components/gii/model/default/model.php | <?php
/**
* This is the template for generating the model class of a specified table.
*/
/* @var $this yii\web\View */
/* @var $generator yii\gii\generators\model\Generator */
/* @var $tableName string full table name */
/* @var $className string class name */
/* @var $queryClassName string query class name */
/* @v... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/components/gii/model/merchant/query.php | common/components/gii/model/merchant/query.php | <?php
/**
* This is the template for generating the ActiveQuery class.
*/
/* @var $this yii\web\View */
/* @var $generator yii\gii\generators\model\Generator */
/* @var $tableName string full table name */
/* @var $className string class name */
/* @var $tableSchema yii\db\TableSchema */
/* @var $labels string[] lis... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/components/gii/model/merchant/model.php | common/components/gii/model/merchant/model.php | <?php
/**
* This is the template for generating the model class of a specified table.
*/
/* @var $this yii\web\View */
/* @var $generator yii\gii\generators\model\Generator */
/* @var $tableName string full table name */
/* @var $className string class name */
/* @var $queryClassName string query class name */
/* @v... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/components/gii/crud/form.php | common/components/gii/crud/form.php | <?php
/* @var $this yii\web\View */
/* @var $form yii\widgets\ActiveForm */
/* @var $generator yii\gii\generators\crud\Generator */
use yii\helpers\Html;
echo $form->field($generator, 'modelClass');
// echo $form->field($generator, 'searchModelClass');
echo $form->field($generator, 'controllerClass');
echo $form->fi... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/components/gii/crud/Generator.php | common/components/gii/crud/Generator.php | <?php
namespace common\components\gii\crud;
use Yii;
/**
* Class Generator
* @package backend\components\gii\crud
* @author jianyan74 <751393839@qq.com>
*/
class Generator extends \yii\gii\generators\crud\Generator
{
public $listFields;
public $formFields;
public $inputType;
/**
* @return a... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/components/gii/crud/default/controller.php | common/components/gii/crud/default/controller.php | <?php
/**
* This is the template for generating a CRUD controller class file.
*/
use yii\db\ActiveRecordInterface;
use yii\helpers\StringHelper;
/* @var $this yii\web\View */
/* @var $generator yii\gii\generators\crud\Generator */
$controllerClass = StringHelper::basename($generator->controllerClass);
$modelClass... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/components/gii/crud/default/views/edit.php | common/components/gii/crud/default/views/edit.php | <?php
use yii\helpers\Inflector;
use yii\helpers\StringHelper;
/* @var $this yii\web\View */
/* @var $generator yii\gii\generators\crud\Generator */
/* @var $model \yii\db\ActiveRecord */
$model = new $generator->modelClass();
$safeAttributes = $model->safeAttributes();
if (empty($safeAttributes)) {
$safeAttribu... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/components/gii/crud/default/views/index.php | common/components/gii/crud/default/views/index.php | <?php
use yii\helpers\Inflector;
use yii\helpers\StringHelper;
/* @var $this yii\web\View */
/* @var $generator yii\gii\generators\crud\Generator */
$urlParams = $generator->generateUrlParams();
$nameAttribute = $generator->getNameAttribute();
echo "<?php\n";
?>
use common\helpers\Html;
use common\helpers\Url;
use... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/components/gii/crud/merchant/controller.php | common/components/gii/crud/merchant/controller.php | <?php
/**
* This is the template for generating a CRUD controller class file.
*/
use yii\db\ActiveRecordInterface;
use yii\helpers\StringHelper;
/* @var $this yii\web\View */
/* @var $generator yii\gii\generators\crud\Generator */
$controllerClass = StringHelper::basename($generator->controllerClass);
$modelClass... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/components/gii/crud/merchant/views/edit.php | common/components/gii/crud/merchant/views/edit.php | <?php
use yii\helpers\Inflector;
use yii\helpers\StringHelper;
/* @var $this yii\web\View */
/* @var $generator yii\gii\generators\crud\Generator */
/* @var $model \yii\db\ActiveRecord */
$model = new $generator->modelClass();
$safeAttributes = $model->safeAttributes();
if (empty($safeAttributes)) {
$safeAttribu... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/components/gii/crud/merchant/views/index.php | common/components/gii/crud/merchant/views/index.php | <?php
use yii\helpers\Inflector;
use yii\helpers\StringHelper;
/* @var $this yii\web\View */
/* @var $generator yii\gii\generators\crud\Generator */
$urlParams = $generator->generateUrlParams();
$nameAttribute = $generator->getNameAttribute();
echo "<?php\n";
?>
use common\helpers\Html;
use common\helpers\Url;
use... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/components/payment/WechatPay.php | common/components/payment/WechatPay.php | <?php
namespace common\components\payment;
use yii\helpers\Json;
use yii\web\UnprocessableEntityHttpException;
use common\helpers\ArrayHelper;
use Yansongda\Pay\Pay;
use Yansongda\Pay\Exception\InvalidResponseException;
use Yansongda\Pay\Contract\ConfigInterface;
use Yansongda\Pay\Exception\InvalidConfigException;
us... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/components/payment/UniPay.php | common/components/payment/UniPay.php | <?php
namespace common\components\payment;
use Yansongda\Pay\Pay;
/**
* 银联支付类
*
* Class UniPay
* @package common\components\payment
*/
class UniPay
{
public function __construct($config)
{
// 初始化
Pay::config($config);
}
/**
* @return \Yansongda\Supports\Collection
* @t... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/components/payment/AliPay.php | common/components/payment/AliPay.php | <?php
namespace common\components\payment;
use common\helpers\ArrayHelper;
use yii\web\UnprocessableEntityHttpException;
use Yansongda\Pay\Pay;
use Yansongda\Pay\Exception\InvalidResponseException;
/**
* Class AliPay
* @doc https://pay.yansongda.cn/docs/v3/
* @package common\components\payment
*/
class AliPay
{
... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/components/payment/Stripe.php | common/components/payment/Stripe.php | <?php
namespace common\components\payment;
use Yii;
use yii\helpers\ArrayHelper;
use Omnipay\Omnipay;
/**
* Stripe 支付类
*
* Class Stripe
* @package common\components\payment
*/
class Stripe
{
const DEFAULT = 'Stripe';
const PI = 'Stripe_PaymentIntents';
/**
* 订单
*
* @var array
*/... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/components/payment/ByteDancePay.php | common/components/payment/ByteDancePay.php | <?php
namespace common\components\payment;
use linslin\yii2\curl\Curl;
use yii\helpers\Json;
use yii\web\UnprocessableEntityHttpException;
/**
* 字节跳动小程序
*
* Class ByteDancePay
* @package common\components\payment
*/
class ByteDancePay
{
const URL = 'https://developer.toutiao.com/';
/**
* UnionPay ... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/forms/MemberForm.php | common/forms/MemberForm.php | <?php
namespace common\forms;
use Yii;
use common\enums\MemberTypeEnum;
use common\enums\StatusEnum;
use common\helpers\ArrayHelper;
use common\models\member\Member;
/**
* Class MemberForm
* @package common\forms
* @author jianyan74 <751393839@qq.com>
*/
class MemberForm extends Member
{
/**
* @var int
... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/forms/CreditsLogForm.php | common/forms/CreditsLogForm.php | <?php
namespace common\forms;
use Yii;
use yii\base\Model;
use common\models\member\Member;
use common\models\member\Level;
use common\models\member\Account;
/**
* Class CreditsLogForm
* @package common\models\forms
* @author jianyan74 <751393839@qq.com>
*/
class CreditsLogForm extends Model
{
/**
* @va... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/forms/OrderPayFrom.php | common/forms/OrderPayFrom.php | <?php
namespace common\forms;
use Yii;
use yii\base\Model;
use common\interfaces\PayHandler;
/**
* Class OrderPayFrom
* @package common\forms
* @author jianyan74 <751393839@qq.com>
*/
class OrderPayFrom extends Model implements PayHandler
{
/**
* @var
*/
public $order_id;
protected $order;... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/forms/SignAuthForm.php | common/forms/SignAuthForm.php | <?php
namespace common\forms;
use Yii;
use yii\base\Model;
/**
* Class SignAuthForm
* @package common\forms
* @author jianyan74 <751393839@qq.com>
*/
class SignAuthForm extends Model
{
public $time;
public $sign;
public $nonceStr;
public $appId;
public $appSecret;
/**
* 时间过期容差
... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/forms/LogisticsForm.php | common/forms/LogisticsForm.php | <?php
namespace common\forms;
use yii\base\Model;
/**
* Class LogisticsForm
* @package common\forms
* @author jianyan74 <751393839@qq.com>
*/
class LogisticsForm extends Model
{
/**
* 接口返回状态码
*
* @var int
*/
public $code;
/**
* 接口返回说明
*
* @var int
*/
public... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/forms/LoginForm.php | common/forms/LoginForm.php | <?php
namespace common\forms;
use Yii;
use yii\base\Model;
use common\models\member\Member;
use common\models\base\User;
/**
* Class LoginForm
* @package common\forms
*/
class LoginForm extends Model
{
public $username;
public $password;
public $rememberMe = true;
/**
* @var Member
*/
... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/forms/MerchantMemberForm.php | common/forms/MerchantMemberForm.php | <?php
namespace common\forms;
use common\enums\MemberTypeEnum;
/**
* Class MerchantMemberForm
* @package common\forms
* @author jianyan74 <751393839@qq.com>
*/
class MerchantMemberForm extends MemberForm
{
/**
* @var int
*/
protected $defaultType = MemberTypeEnum::MERCHANT;
}
| php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/forms/PostQueryForm.php | common/forms/PostQueryForm.php | <?php
namespace common\forms;
use common\behaviors\TaggableQueryBehavior;
/**
* Class PostQueryForm
* @package common\forms
* @author jianyan74 <751393839@qq.com>
*/
class PostQueryForm extends \yii\db\ActiveQuery
{
/**
* @return array
*/
public function behaviors()
{
return [
... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/forms/PayForm.php | common/forms/PayForm.php | <?php
namespace common\forms;
use Yii;
use yii\base\Model;
use yii\helpers\Json;
use yii\web\UnprocessableEntityHttpException;
use common\enums\PayTypeEnum;
use common\models\extend\PayLog;
use common\interfaces\PayHandler;
use common\helpers\ArrayHelper;
use common\helpers\StringHelper;
use common\enums\PayTradeType... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/forms/ExportForm.php | common/forms/ExportForm.php | <?php
namespace common\forms;
use yii\base\Model;
/**
* Class ExportForm
* @package common\forms
*/
abstract class ExportForm extends Model
{
/**
* 默认选中字段
*
* @var array
*/
public $info = [];
/**
* @return array
*/
public function rules()
{
return [
... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/forms/RechargePayFrom.php | common/forms/RechargePayFrom.php | <?php
namespace common\forms;
use Yii;
use yii\base\Model;
use common\helpers\StringHelper;
use common\interfaces\PayHandler;
/**
* Class RechargePayFrom
* @package common\forms
* @author jianyan74 <751393839@qq.com>
*/
class RechargePayFrom extends Model implements PayHandler
{
/**
* @var
*/
p... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/forms/ManagerMemberForm.php | common/forms/ManagerMemberForm.php | <?php
namespace common\forms;
use common\enums\MemberTypeEnum;
/**
* Class ManagerForm
* @package common\forms
* @author jianyan74 <751393839@qq.com>
*/
class ManagerMemberForm extends MemberForm
{
/**
* @var int
*/
protected $defaultType = MemberTypeEnum::MANAGER;
}
| php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/forms/BankAccountForm.php | common/forms/BankAccountForm.php | <?php
namespace common\forms;
use common\enums\AccountTypeEnum;
use common\enums\StatusEnum;
use common\helpers\ArrayHelper;
use common\models\member\BankAccount;
/**
* Class BankAccountForm
* @package common\models\forms
* @author jianyan74 <751393839@qq.com>
*/
class BankAccountForm extends BankAccount
{
/... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/forms/UploadForm.php | common/forms/UploadForm.php | <?php
namespace common\forms;
use Yii;
use yii\web\NotFoundHttpException;
use yii\web\UnprocessableEntityHttpException;
use yii\web\UploadedFile;
use common\helpers\RegularHelper;
use common\helpers\ArrayHelper;
use common\enums\AttachmentDriveEnum;
use common\enums\AttachmentUploadTypeEnum;
use common\helpers\String... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/models/oauth2/Client.php | common/models/oauth2/Client.php | <?php
namespace common\models\oauth2;
use Yii;
/**
* This is the model class for table "{{%oauth2_client}}".
*
* @property int $id
* @property int|null $merchant_id 商户id
* @property string $title 标题
* @property string $client_id
* @property string $client_secret
* @property string|null $redirect_uri 回调Url
*... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/models/oauth2/AuthorizationCode.php | common/models/oauth2/AuthorizationCode.php | <?php
namespace common\models\oauth2;
use common\behaviors\MerchantBehavior;
/**
* This is the model class for table "{{%oauth2_authorization_code}}".
*
* @property string $authorization_code
* @property int|null $merchant_id 商户id
* @property string $client_id 授权ID
* @property string|null $member_id 用户ID
* @p... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/models/oauth2/AccessToken.php | common/models/oauth2/AccessToken.php | <?php
namespace common\models\oauth2;
use Yii;
use yii\behaviors\BlameableBehavior;
use yii\db\ActiveRecord;
use yii\behaviors\TimestampBehavior;
use common\behaviors\MerchantBehavior;
use common\models\base\User;
/**
* This is the model class for table "{{%oauth2_access_token}}".
*
* @property int $id
* @proper... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/models/oauth2/RefreshToken.php | common/models/oauth2/RefreshToken.php | <?php
namespace common\models\oauth2;
use common\behaviors\MerchantBehavior;
/**
* This is the model class for table "{{%oauth2_refresh_token}}".
*
* @property string $refresh_token
* @property int|null $merchant_id 商户id
* @property string $client_id 授权ID
* @property string|null $member_id 用户ID
* @property st... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/models/base/User.php | common/models/base/User.php | <?php
namespace common\models\base;
use Yii;
use yii\base\NotSupportedException;
use yii\behaviors\TimestampBehavior;
use yii\db\ActiveRecord;
use yii\web\IdentityInterface;
/**
* User model
*
* @property integer $id
* @property string $username
* @property string $password_hash
* @property string $password_re... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/models/base/BaseModel.php | common/models/base/BaseModel.php | <?php
namespace common\models\base;
use yii\db\ActiveRecord;
use yii\behaviors\TimestampBehavior;
use common\behaviors\SoftDeleteBehavior;
/**
* Class BaseModel
* @package common\models\common
* @author jianyan74 <751393839@qq.com>
*/
class BaseModel extends ActiveRecord
{
/**
* @return array
*/
... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/models/base/SearchModel.php | common/models/base/SearchModel.php | <?php
namespace common\models\base;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use yii\data\Pagination;
use yii\db\ActiveQuery;
use yii\validators\Validator;
use yii\web\NotFoundHttpException;
/**
* // 示例一
*
* ```php
* $searchModel = new SearchModel(
* [
* 'model' => Topic::class,
* 'scena... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/models/validators/SmsCodeValidator.php | common/models/validators/SmsCodeValidator.php | <?php
namespace common\models\validators;
use common\enums\StatusEnum;
use common\models\extend\SmsLog;
use yii\validators\Validator;
/**
* 短信验证码验证器
*
* 在rule使用:
*
* ['verifyCode', '\common\models\validators\SmsCodeValidator', 'usage' => 'userRegister'],
*
* Class SmsCodeValidator
* @package common\models\co... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/models/member/Account.php | common/models/member/Account.php | <?php
namespace common\models\member;
use Yii;
use yii\db\ActiveRecord;
/**
* This is the model class for table "{{%member_account}}".
*
* @property int $id
* @property int|null $merchant_id 商户id
* @property int|null $store_id 店铺ID
* @property int|null $member_id 用户id
* @property int|null $member_type 用户类型
*... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/models/member/Address.php | common/models/member/Address.php | <?php
namespace common\models\member;
use Yii;
use common\enums\StatusEnum;
/**
* This is the model class for table "{{%member_address}}".
*
* @property int $id 主键
* @property int|null $merchant_id 商户id
* @property int|null $member_id 用户id
* @property string|null $realname 真实姓名
* @property string|null $mobile... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/models/member/CreditsLog.php | common/models/member/CreditsLog.php | <?php
namespace common\models\member;
use Yii;
use common\enums\StatusEnum;
use common\traits\HasOneMember;
use common\traits\HasOneMerchant;
/**
* This is the model class for table "{{%member_credits_log}}".
*
* @property int $id
* @property string|null $app_id 应用id
* @property int|null $merchant_id 商户id
* @p... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/models/member/Tag.php | common/models/member/Tag.php | <?php
namespace common\models\member;
use common\behaviors\MerchantBehavior;
/**
* This is the model class for table "{{%member_tag}}".
*
* @property int $id 主键
* @property int|null $merchant_id 商户id
* @property string $title 标题
* @property int|null $sort 排序
* @property int|null $status 状态
* @property int $c... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/models/member/Level.php | common/models/member/Level.php | <?php
namespace common\models\member;
use Yii;
use yii\db\ActiveQuery;
/**
* This is the model class for table "{{%member_level}}".
*
* @property int $id 主键
* @property int|null $merchant_id 商户id
* @property int|null $level 等级(数字越大等级越高)
* @property string|null $name 等级名称
* @property string|null $icon 等级图标
* ... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/models/member/Auth.php | common/models/member/Auth.php | <?php
namespace common\models\member;
use Yii;
use common\enums\StatusEnum;
use common\traits\HasOneMember;
/**
* This is the model class for table "{{%member_auth}}".
*
* @property int $id 主键
* @property int|null $merchant_id 商户id
* @property int|null $member_id 用户id
* @property int|null $member_type 1:会员;2:后... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/models/member/Invoice.php | common/models/member/Invoice.php | <?php
namespace common\models\member;
use common\enums\StatusEnum;
/**
* This is the model class for table "rf_member_invoice".
*
* @property int $id
* @property int|null $merchant_id 商户id
* @property int|null $store_id 店铺ID
* @property int|null $member_id 用户id
* @property string|null $title 公司抬头
* @property... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/models/member/TagMap.php | common/models/member/TagMap.php | <?php
namespace common\models\member;
use Yii;
use common\traits\HasOneMember;
/**
* This is the model class for table "{{%member_tag_map}}".
*
* @property int $tag_id 标签id
* @property int $member_id 会员id
*/
class TagMap extends \yii\db\ActiveRecord
{
use HasOneMember;
/**
* {@inheritdoc}
*/
... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/models/member/Member.php | common/models/member/Member.php | <?php
namespace common\models\member;
use Yii;
use yii\base\Exception;
use yii\base\InvalidConfigException;
use yii\db\ActiveQuery;
use common\models\base\User;
use common\traits\Tree;
use common\models\rbac\AuthAssignment;
use common\helpers\RegularHelper;
use common\enums\StatusEnum;
use common\enums\MemberTypeEnum... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/models/member/Stat.php | common/models/member/Stat.php | <?php
namespace common\models\member;
use common\models\base\BaseModel;
use common\traits\HasOneMember;
/**
* This is the model class for table "{{%addon_tiny_vision_member_stat}}".
*
* @property int $id
* @property int|null $merchant_id 商户id
* @property int|null $store_id 店铺id
* @property int|null $member_id ... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/models/member/LevelConfig.php | common/models/member/LevelConfig.php | <?php
namespace common\models\member;
use Yii;
/**
* This is the model class for table "{{%member_level_config}}".
*
* @property int $id
* @property int|null $merchant_id 商户id
* @property int|null $upgrade_type 升级方式
* @property int|null $auto_upgrade_type 自动升级类型
* @property int|null $status 状态[-1:删除;0:禁用;1启用]... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/models/member/WithdrawDeposit.php | common/models/member/WithdrawDeposit.php | <?php
namespace common\models\member;
use common\traits\HasOneMember;
use common\traits\HasOneMerchant;
/**
* This is the model class for table "{{%member_withdraw_deposit}}".
*
* @property int $id
* @property int|null $merchant_id 商户id
* @property int|null $member_id 会员id
* @property int|null $member_type 1:会... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/models/member/BankAccount.php | common/models/member/BankAccount.php | <?php
namespace common\models\member;
use common\behaviors\MerchantBehavior;
use common\enums\AccountTypeEnum;
use common\enums\StatusEnum;
/**
* This is the model class for table "{{%member_bank_account}}".
*
* @property int $id
* @property int|null $merchant_id 商户id
* @property int|null $member_id 会员id
* @pr... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/models/member/Cancel.php | common/models/member/Cancel.php | <?php
namespace common\models\member;
use common\behaviors\MerchantStoreBehavior;
use common\traits\HasOneMember;
/**
* This is the model class for table "{{%member_cancel}}".
*
* @property int $id
* @property int|null $merchant_id 商户id
* @property int|null $store_id 店铺ID
* @property int|null $member_id 会员id
... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/models/member/Certification.php | common/models/member/Certification.php | <?php
namespace common\models\member;
use Yii;
/**
* This is the model class for table "{{%member_certification}}".
*
* @property int $id
* @property int|null $merchant_id 商户id
* @property int|null $member_id 用户id
* @property int|null $member_type 用户类型
* @property string|null $realname 真实姓名
* @property strin... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/models/api/AccessToken.php | common/models/api/AccessToken.php | <?php
namespace common\models\api;
use Yii;
use yii\db\ActiveRecord;
use yii\web\UnauthorizedHttpException;
use common\enums\StatusEnum;
use common\models\member\Member;
use common\models\rbac\AuthAssignment;
use common\models\base\User;
/**
* This is the model class for table "{{%api_access_token}}".
*
* @proper... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/models/common/Provinces.php | common/models/common/Provinces.php | <?php
namespace common\models\common;
use common\traits\Tree;
/**
* This is the model class for table "{{%common_provinces}}".
*
* @property int $id ID
* @property string $title 栏目名
* @property int $pid 父栏目
* @property string|null $short_title 缩写
* @property int|null $area_code 区域编码
* @property int|null $zip... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/models/common/NotifyPullTime.php | common/models/common/NotifyPullTime.php | <?php
namespace common\models\common;
use Yii;
/**
* This is the model class for table "{{%common_notify_pull_time}}".
*
* @property int $id
* @property int $member_id 管理员id
* @property int|null $merchant_id 商户id
* @property int|null $type 消息类型[1:公告;2:提醒;3:信息(私信)
* @property string|null $alert_type 提醒消息类型[sys... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/models/common/Attachment.php | common/models/common/Attachment.php | <?php
namespace common\models\common;
use common\behaviors\MerchantStoreBehavior;
/**
* This is the model class for table "{{%common_attachment}}".
*
* @property int $id
* @property int|null $member_id 用户
* @property int|null $merchant_id 商户id
* @property int|null $store_id 门店ID
* @property int|null $cate_id ... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/models/common/ConfigCate.php | common/models/common/ConfigCate.php | <?php
namespace common\models\common;
use common\enums\StatusEnum;
use common\traits\Tree;
/**
* This is the model class for table "{{%common_config_cate}}".
*
* @property int $id 主键
* @property string $title 标题
* @property string|null $name 标识
* @property int|null $pid 上级id
* @property string $app_id 应用
* @... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/models/common/NotifyMember.php | common/models/common/NotifyMember.php | <?php
namespace common\models\common;
use Yii;
/**
* This is the model class for table "{{%common_notify_member}}".
*
* @property int $id
* @property string|null $app_id 应用id
* @property int|null $merchant_id 商户id
* @property int $member_id 管理员id
* @property int|null $notify_id 消息id
* @property int|null $is_... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/models/common/ActionLog.php | common/models/common/ActionLog.php | <?php
namespace common\models\common;
use Yii;
use common\behaviors\MerchantBehavior;
use common\traits\HasOneMember;
/**
* This is the model class for table "{{%common_action_log}}".
*
* @property int $id 主键
* @property string|null $app_id 应用id
* @property int|null $merchant_id 商户id
* @property int|null $memb... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/models/common/BankNumber.php | common/models/common/BankNumber.php | <?php
namespace common\models\common;
use Yii;
/**
* This is the model class for table "{{%common_bank_number}}".
*
* @property int $id
* @property string|null $bank_name 银行名称
* @property string|null $bank_number 银行编号
* @property int|null $type 银行卡类型:1:微信;2:支付宝
* @property int|null $status 状态
* @property int... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/models/common/AddonsConfig.php | common/models/common/AddonsConfig.php | <?php
namespace common\models\common;
use Yii;
/**
* This is the model class for table "{{%common_addons_config}}".
*
* @property int $id 主键
* @property string $app_id 应用
* @property string $addon_name 插件名或标识
* @property int|null $merchant_id 商户id
* @property int|null $store_id 店铺ID
* @property string|null $... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/models/common/Theme.php | common/models/common/Theme.php | <?php
namespace common\models\common;
use common\behaviors\MerchantBehavior;
/**
* This is the model class for table "{{%common_theme}}".
*
* @property int $id 主键
* @property int $merchant_id 商户ID
* @property int|null $member_id 用户ID
* @property int|null $member_type 用户类型
* @property string $app_id 应用
* @pro... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/models/common/NotifyConfig.php | common/models/common/NotifyConfig.php | <?php
namespace common\models\common;
use common\behaviors\MerchantBehavior;
/**
* This is the model class for table "{{%common_notify_config}}".
*
* @property int $id
* @property int|null $member_id 用户id
* @property int|null $merchant_id 商户id
* @property string|null $app_id 应用id
* @property string|null $name... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/models/common/MenuCate.php | common/models/common/MenuCate.php | <?php
namespace common\models\common;
use Yii;
use common\enums\StatusEnum;
use common\enums\WhetherEnum;
use common\helpers\TreeHelper;
use common\traits\Tree;
use common\models\base\BaseModel;
/**
* This is the model class for table "{{%common_menu_cate}}".
*
* @property int $id 主键
* @property string $title 标题... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/models/common/Menu.php | common/models/common/Menu.php | <?php
namespace common\models\common;
use Yii;
use common\traits\Tree;
use common\helpers\TreeHelper;
use common\models\base\BaseModel;
/**
* This is the model class for table "{{%common_menu}}".
*
* @property int $id
* @property string|null $title 标题
* @property string|null $name 标识
* @property string|null $a... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/models/common/Log.php | common/models/common/Log.php | <?php
namespace common\models\common;
use common\behaviors\MerchantBehavior;
use common\traits\HasOneMember;
/**
* This is the model class for table "{{%common_log}}".
*
* @property int $id
* @property string|null $app_id 应用id
* @property int|null $merchant_id 商户id
* @property int|null $member_id 用户id
* @prop... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/models/common/Archives.php | common/models/common/Archives.php | <?php
namespace common\models\common;
use common\models\base\BaseModel;
use Yii;
/**
* This is the model class for table "{{%common_archives}}".
*
* @property int $id
* @property int|null $merchant_id 商户id
* @property int|null $member_id 申请人
* @property int|null $member_type 申请类型
* @property int|null $certifi... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/models/common/Notify.php | common/models/common/Notify.php | <?php
namespace common\models\common;
use common\behaviors\MerchantBehavior;
use common\models\base\BaseModel;
/**
* This is the model class for table "{{%common_notify}}".
*
* @property int $id 主键
* @property int|null $merchant_id 商户id
* @property string|null $title 标题
* @property string|null $content 消息内容
*... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.