Year: 2019
-
Post Views: 15 1. http request, get the tenant list 2. Get the tenant list (two-dimensional array), and convert the multi-dimensional array of a tree structure into a two-dimensional array
-
Post Views: 14 1. In the submission of a developer, there is a conflicting file, and the conflict is forced to submit, as shown in Figure 1 2. Decide to delete several possible conflicting files to delete, and reset the version to the latest valid submission, as shown in Figure 2 3. Select hard reset, and discard all subsequent commits…
-
Post Views: 49 1. Execute the command in CentOS 7.6 64-bit: yum makeCache to update the cache of the yum source, and report an error: There are no enabled repos, as shown in Figure 1 2. Decided to reinstall the 7.6 release package, first go to the Alibaba Yunyuan website, find the corresponding release package, and copy its link, as…
-
Post Views: 11 1. Column configuration: pa_config_column, as shown in Figure 1 2. Column staff configuration: PA_CONFIG_COLUMN_USER, as shown in Figure 2 3. Topic: PA_plan, as shown in Figure 3 4. Topic selection task: PA_PLAN_TASK, as shown in Figure 4 5. Task management – my task, query rules (1) The tenant ID of the task is the tenant ID of…
-
Post Views: 51 1. Request in Postman: https://api.channel-pub.wjdev.chinamcloud.cn/qq/v1/qq-cw-apps?group_id=spider , error: self-signed ssl certificates are being blocked, as shown in Figure 1 2. In the browser firefox Medium request: https://api.channel-pub.wjdev.chinamcloud.cn/qq/v1/qq-cw-apps?group_id=spider , prompt: api.channel-pub.wjdev.chinamcloud.cn uses an invalid security certificate. , as shown in Figure 2 3. Add a security exception to the browser Firefox, as shown in Figure 3 4. In the…
-
Post Views: 40 1. In Postman, posthttp://api.github-shuijingwan-yii2-app-advanced.localhost/v1/users201 response, the status value is 1 by default 2. In Postman, deletehttp://api.github-shuijingwan-yii2-app-advanced.localhost/v1/users/1, 200 responses 3. In Postman, posthttp://api.github-shuijingwan-yii2-app-advanced.localhost/v1/users,422 response, not as expected, expected to be 201 response, because “username”: “111111” has been deleted 4. Create a new \console\migrations\m180925_054952_add_is_deleted_and_deleted_at_to_user.php. Update field, status, status, 0: disabled; 1: enabled, default: 1. Added field, is_deleted, whether it…
-
Post Views: 49 1. When using Composer to upgrade from Yii 2.0.x, an error is reported:[ErrorException]undefined variable: nameMatchesRequiredPackage, as shown in Figure 1 2. Update 3 packages, first update the first 2, no errors are reported, and then update the third one, the error is reported, the search dependency package in the current project Bower-asset/jQuery.inputMask, does not exist, as shown…
-
Post Views: 14 1. All Rancher environment variables at this stage have no default values, so they must be clearly set in the Rancher environment variables, as shown in Figure 1 2. The configuration file of the previous environment variable, if the environment variable is not set: channel_pub_api_cfg_db_table_pr efix, then set its default value to: channel_pub_api_cfg_db_table_prefix, that is, its value…
-
Post Views: 54 1. Turn on the blue light, status: The blue light cannot be set as the system agent, as shown in Figure 1 2. Click to get help and open the URL: https://github.com/getlantern/wik I/troubleshooting:-failed-to-set-lantern-as-system-proxy , as shown in Figure 2 3. Click the start menu, then click Settings, click Network and Internet, select the proxy option in the…
-
Post Views: 11 1. URL:https://windows.php.net/download#php-7.2, download vc15 x64 thread safe, as shown in Figure 1 2. VC15 version needs to install Visual Studio 2017 x64 or x86 Visual C++ Redistributable, download and install Microsoft Visual C++ Redistributable for Visual Studio 2017, as shown in Figure 2 3. Copy php-7.2.14-win32-vc15-x64 to C:\php-7.2.14 4. Edit environment variables: C:\php-7.1.12, modified to C:\php-7.2.14 5.…