Year: 2017
-
Post Views: 11 1. The picture in the red box in the web interface is a picture called across the second-level domain name, as shown in Figure 1 2. The source code of the web page, the picture address in the red box is the second-level domain name relative to the current web page address, as shown in Figure 2…
-
Post Views: 12 1. Compatibility goal: adjust the response of the flying flow to the response specification of the body (convert the field type of the non-array to a string), and be backwards compatible Note: If the version of the requested headers does not exist or the version exists and the version is greater than or equal to 2.1, the…
-
Post Views: 50 1. In the production environment, the data in the skill data table is repeatedly written, as shown in Figure 1 2. However, before writing, it is judged whether the record exists. The combination of GAME_CODE and TEAM_CODE should be the only one, as shown in Figure 2 3. It is recommended to check the website first: https://www.shuijingwanwq.com/2017/04/18/1568/…
-
Post Views: 63 1. Based on the AB test tool, carry out a simulation test in a high-concurrency situation, open: http://httpd.apache.org/docs/current/platform/windows.html#down, as shown in Figure 1 2. Select apachehaus, download, the binary file of the 2.4 version of x64, as shown in Figure 2 3. The download file name is: httpd-2.4.25-x64-vc14-r1.zip, as shown in Figure 3 4. After decompression, copy…
-
Post Views: 15 1. The original English address is:https://httpd.apache.org/docs/2.4/programs/ab.html,如图1 2. The options are translated as follows: ab – Apache HTTP Server Benchmarking Tool ab – Apache HTTP Server Stress Testing Tool Available languages: en | fr | ko | tr Available languages: EN | FR | KO | TR AB is a tool for benchmarking your apache hypertext transfer protocol…
-
Post Views: 14 1. Copy\vendor\yiisoft\yii2\console\controllers\cacheController .php to \console\controllers\luagameteamskillController.php, as shown in Figure 1 2. Rename \console\controllers\luagameteamskillcontroller.php to \console\controllers\luagameteamskillcontroller.php, as shown in Figure 2 3. Modify the namespace to namespace console\controllers;, and the class name is modified to luagameteamskillController, as shown in Figure 3 4. Only keep ActionIndex(), other methods are deleted, as shown in Figure 4 5. In Windows PowerShell,…
-
Post Views: 18 1. Set the lockout time: the current UNIX timestamp + Redis lock timeout time, in seconds (3), edit the file: \common\config\params.php, as shown in Figure 1 2. Get the relevant setting parameters and edit the file: \api\models\redis\gamecategory.php, as shown in Figure 2 3. Get the Redis connection to execute the relevant commands, edit the file: \API\Models\Redis\GameCategory.php, as…