Month: January 2018
-
Post Views: 15 1. The previous article:https://www.shuijingwanwq.com/2018/01/18/2328/ 2. Refer to step 11, the DB component is moved to the development environment to facilitate the use of GII, \common\config\base.php, as shown in Figure 1 3. Configured as a production environment, so that the multi-tenant implementation of the test database migration is not dependent on the DB component, as shown in Figure…
-
Post Views: 15 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 and password, as shown in Figure 1. 2. Now it is configured as an application component, \common\config\base.php, as shown in Figure 2 3. Open dubug,…
-
Post Views: 15 1. Open in the browser:http://frontend.cmcp-api.localhost/, a debugger toolbar will appear at the bottom of the page, you can click to expand, as shown in Figure 1 2. In Postman, gethttp://www.cmcp-api.localhost/v1/pages, 200 responses, but no debugger toolbar appears, as shown in Figure 2 3. Continue to step 1, click the Yii logo on the debugger toolbar, you can…
-
Post Views: 11 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 global require “fxp/composer-asset-plugin”, update the Composer Asset plugin to the latest version, as shown in Figure 2 3. It is suspected that the network problem caused…