Author: 永夜

  • Post Views: 13 1. The request interface, the total number of resources in the response parameters is 30. Resources containing ids equal to 37918 are duplicates. A total of 2. as shown in Figure 1 2. Check the model class, /common/models/redis/cmc_console/user.php 3. Check /common/components/redis/activerecord.php , which defines the prefix and applies to all AR keys. 4. Open RedisDesktopManager, check the…

  • Post Views: 11 1. When multiple database connection components have been added in Yii 2.0 2. The strategy to migrate multiple databases is to store the migration to different directories. A connection component corresponds to a directory. DB directory: /console/migrations/. Directory of statdb: /console/migrations/stat_db/. as shown in Figure 1 3. When generating the migration file under statdb, you need to…

  • Post Views: 17 1. When multiple database connection components have been added in Yii 2.0 2. When statdb is selected for the database connection ID, only the data table under statdb will appear in the drop-down list of the table name, as shown in Figure 1 3. When the model file under statdb is generated, getdb() is additionally generated, as…

  • Post Views: 16 1. Edit .gitignore and add /vendor to the git warehouse, as shown in Figure 1 2. Failed to build in Jenkins, check Console output. as shown in Figure 2 3. Docker deployment, delete the composer install. Edit Dockerfile. as shown in Figure 3 4. Build successfully in Jenkins. as shown in Figure 4 5. Failed to start…

  • Post Views: 50 1. Report an error in the shell:[!: command not found,如图1 [Caption id=”attachment_4126″ align=”alignnone” width=”1363″]#ATFP_CLOSE_Translate_span# Figure 1[/caption] 2. Edit /build/c_files/config/init/console_init.sh. at[]Add spaces before and after. as shown in Figure 2 3. There is no error in the shell. And the error: unlinking stale socket /var/run/supervisor/supervisor.sock has also disappeared. as shown in Figure 3

  • Post Views: 8 1. In the Opera browser, the opened URL:https://cmcconsole.flydev.chinamcloud.cn/#/chzh/pcs/da666d1d2d43df871c1804f632d8795d, as shown in Figure 1 2. Prepare to manually modify it to:http://cmcconsole.flydev.chinamcloud.cn/#/chzh/pcs/da666d1d2d43df871c1804f632d8795d, the reason is that some links inside are not supported: https . 3. In the Chrome browser, you can enter: http:// prefix in the address bar to achieve the goal of modifying to http, as shown in…

  • Post Views: 17 1. In the interface that obtains the resource list, the response parameter: actions, determine whether the current user has a certain operation permission for a resource, and the value is 1 to indicate that it has, and the value of 0 means that it does not have it. as shown in Figure 1 2. Interface document description,…

  • Post Views: 55 1. Reference website: https://www.shuijingwanwq.com/en/2020/04/09/9889/ , adjust the group and name of the project in gitlab. 2. After configuring in jenkins, an error is reported: repositoryhttps://gitlab.chinamcloud.com/pcs/pcs_api.git/not found, as shown in Figure 1 3. The user list under the analysis group PHP, there is a user: JenkinsIntegration, as shown in Figure 2 4. In the user list under the…

  • Post Views: 47 1. The group of the existing project and its names are: PHP, PCS-API, as shown in Figure 1 2. In settings -> general -> advanced settings, the php in the path is not allowed to be modified, as shown in Figure 2 3. In Settings -> General -> Export Project, export the project and all related data,…

  • Post Views: 13 1. Write interface documents on RAP, you can use the function of importing JSON, and support multi-level parameters. as shown in Figure 1 2. Write the interface document on the showdoc, do not provide the function of importing json, it must be written based on markdown manually. as shown in Figure 2 3. Write an interface document…

👨‍💻 Personal Brand

Wang Shiqiang | PHP & Go Technical Consultant

15+ years of backend development experience specializing in system maintenance, architecture optimization, performance tuning, and Linux administration.

Technical blogger since 2013 with 1,000+ original articles.

Available for consulting, long-term maintenance, and remote collaboration.

👉 About Me & Contact

.env (14) 404 (13) add (17) Aliyun (19) Apache (13) Array (19) browser (14) Cache (13) CentOS (23) chrome (18) Client (11) command line (13) composer (42) composer.json (22) composer install (13) composer update (14) console (14) Container (25) curl (15) Database (11) database migration (16) delete (32) Docker (31) Dockerfile (15) ECS (12) environment variable (20) error (24) escape (12) Failed (13) file (16) filter (20) fopen (11) FORMAT (12) function (13) Git (27) GitHub (16) Gitlab (15) Go (34) Go 1.26 (12) GraphQL (24) GraphQL API (14) hosts (11) http (21) https (20) Installation (13) Interface (19) Jenkins (12) Jquery (13) json (24) Laravel (36) Laravel 6 (56) Laravel 9 (25) Lighthouse (17) Lighthouse 5 (14) Linux (15) Memory (11) Migrate (13) Migration (11) Module (17) MySQL (76) MySQL 5.7 (21) Nginx (45) Node.js (12) normalize.css (29) OKX (15) PHP (63) php.ini (24) PHP 7.1.12 (22) PHP 7.4 (26) phpmyadmin (15) PhpStorm (24) Polylang (25) postman (18) Query (17) queue (16) Rancher (24) Redis (38) Refactoring (12) require (12) response (13) RESTful (27) RESTful API (23) rules (12) setting (12) Shell (13) Shopify (19) Shopify CLI (12) SQL (24) String (15) TortoiseGit (15) Ubuntu (35) update (20) VPN (13) Windows 10 (46) WireGuard (22) WordPress (48) Wstunnel (11) Yii (40) Yii 2 (70) Yii 2.0 (51)

June 2026
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
2930