Tagged: Yii 2 Starter Kit

查看Redis,包含Redis cache、Redis 活动记录等数据 0

Implement deletion cache of RESTful applications in Yii 2 Starter Kit (get cache list (based on cache component ID), delete cache (based on cache component ID + cache key), clear the cache, that is, delete all data in a cache component ID)

浏览量: 1 1. Edit the cached controller class, \API\Controllers\CacheController.php 2. Create the data layer of the cached resource class (the corresponding model language package file), \common\models\redis\cache.php 3. Create the logical layer of the cached...

GET 请求:http://www.cmcp-api.localhost/v1/cache-components?tenantid=default&api_gateway_user_id=1 ,响应成功 0

Implement a list of fetch cache components for RESTful applications in Yii 2 Starter Kit

浏览量: 3 1. Create the controller class of the cache component, \API\Controllers\CacheComponentController.php 2. Create the data layer of the resource class of the cache component (the corresponding model language package file), \common\models\redis\cachecomponent.php 3. Create...

检查数据库连接组件、RBAC组件是否被注册,如果已经被注册,则无需覆盖,编辑 \common\components\db\ActiveRecord.php 0

Dynamic configuration of database connection in Yii 2 Starter Kit, the configuration attribute comes from the multi-tenant system

浏览量: 0 1. The multi-tenant system contains multiple tenants, and each tenant has its own database configuration information. The existing requirement is to connect the database based on the response host name, user name...