永夜 Blog

检查数据库连接组件、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

Post Views: 13 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...

在 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.

Post Views: 13 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...

执行:composer update 时,提示:No valid bower.json was found in any branch or tag of https://github.com/blueimp/JavaScript-Canvas-to-Blob.git, cou ld not load a package from it. 0

When executing: composer update, prompt: no valid bower.json was found in any branch or tag ofhttps://github.com/blueimp/JavaScript-Canvas-to-Blob.git,cou ld not load a package from it.

Post Views: 8 1. When executing: composer update, prompt: no valid bower.json was found in any branch or tag ofhttps://github.com/blueimp/JavaScript-Canvas-to-Blob.git,cou LD not load a package from it. As shown in Figure 1 2. Execute:composer...

查看调整后的界面,侧边栏背景颜色、顶栏背景颜色、侧边栏宽度(从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

Post Views: 16 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...

打开 /sdcard/storage/kf.txt,复制某页面的链接,在浏览器中打开 0

Install and run Genymotion 2.11.0 under Windows 10 64, Oracle VM VirtualBox 5.2.2 to test the local H5 page

Post Views: 13 1. Open the URL:https://www.genymotion.com/download/, since the Oracle VM VirtualBox has been installed, so choose Without VirtualBox, as shown in Figure 1 2. After the installation is complete, create a new virtual...

执行命令:nginx -s reload,重新加载 Nginx 配置,正常 0

Under Windows 10, Nginx 1.10.1, reload nginx, and report an error: nginx:[emerg]host not found in upstream “default.creditshop.shenzhen.localhost” in c:/nginx-1.10.1/conf/vhosts/credits The solution of hop_shenzhen.conf:26

Post Views: 15 1. Under Windows 10, Nginx 1.10.1, execute the command: nginx -s reload, reload the nginx configuration, and report an error: nginx:[emerg]host not found in upstream “default.creditshop.shenzhen.localhost” in c:/nginx-1.10.1/conf/vhosts/credits Hop_shenzhen.conf:26, as shown...