Category: yii2-starter-kit

当 本地 的值设置为 简体中文 时,创建文章 时,编辑器未正常显示 0

After yii2 starter kit is switched to the Chinese locale, the solution is not displayed normally in the editor

浏览量: 0 1. When the value of locale is set to english (us), the editor will display normally, but the corresponding language package file /assets/5fbb6f5a/lang/en.js response 404, as shown in Figure 1 2. When...

查看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...

在 Postman 中,PUT http://www.cmcp-api.localhost/v1/pages/4 ,200响应 0

Under WINDWOS 10 and PHP 7.1.12 Based on Yii 2 Starter Kit, the background application is replicated as an interface application to realize the process of RESTful Web service.

浏览量: 3 1. In Windows PowerSHLL, enter the E:\wwwroot\cmcp-api directory, as shown in Figure 1 2. Create a new application API, copy the backend directory as the API, as shown in Figure 2 3....

查看调整后的界面,侧边栏背景颜色、顶栏背景颜色、侧边栏宽度(从230px变化为280px),皆已经发生变化了,且与设计一致 0

In the background application of Yii2 Starter Kit, adjust its style based on a set of themes to conform to the design

浏览量: 0 1. Previous:https://www.shuijingwanwq.com/2017/11/30/2084/ 2. The existing default interface, as shown in Figure 1 3. The designed UI interface needs to be implemented in this way, as shown in Figure 2 4. Copy:\vendor\bower\admin-lte\build\less\variables.less To:...