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: 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…