Author: 永夜
-
Post Views: 17 1. Obtain the topic details interface, the operation permission of the topic includes all the permission buttons of the current user, which can be customized for the mobile terminal 2. Edit method file: \api\rests\plan\viewaction.php, get the controller ID (yii::$app->controller->id), when its route is: /v1/plans/2, its value is: plan, as shown in Figure 1 3. Edit the method…
-
Post Views: 14 1. The requirements put forward by the new colleagues are required to realize the following requirements: (1) Logged in, desktop \api\rests\resource Modified to: \API\RESTS\PLAN_TASK_RESOURCE (2) Tourists, do not make changes \API\RESTS\CLIENT_RESOURCE (3) Logged in, mobile terminal Task Management – Delete Task Materials Task Management – Manage background material list \API\RESTS\MOBILE\PLAN_TASK_RESOURCE (4) Logged in, mobile terminal /v1/mobile/resources/resource material…
-
Post Views: 48 1. Execute the update statement in mysql workbench, the statement is as follows: 2. Error code: 1175, the specific error information is as follows:, as shown in Figure 1 3. Execute the update statement in phpmyadmin, the statement is as follows: the execution is successful, as shown in Figure 2 4. According to the prompts, to disable…
-
Post Views: 16 1. View the commit on the develop branch on GitLab, as shown in Figure 1 2. View the commit on the wx-auth branch on gitlab, as shown in Figure 2 3. In the local repository, switch to the develop branch, right-click, and TortoiseGit -> Merge, as shown in Figure 3 4. From the remotes/origin/wx-auth branch (why the…
-
Post Views: 14 1. Open the desktop application terminal, the interface, as shown in Figure 1 2. Interface: my topic selection (get a list of topics), the response structure in postman, as shown in Figure 2 3. Prototype design on the mobile application side, as shown in Figure 3 4. At this stage: the subsequent iterative development stage, the desktop…
-
Post Views: 15 1. The data structure of the A table, as shown in Figure 1 2. The data structure of the B table, as shown in Figure 2 3. The current requirement is that 8 fields in the A table need to be queried, inserted into the B table, and the following commands are used to create a new…
-
Post Views: 13 1. Check the relevant information of phpinfo(), and confirm to download the version of xdebug, VC15 x64 Thread Safe, as shown in Figure 1 2. Open the URL:https://xdebug.org/download.php, download PHP 7.2 VC15 TS (64 bit), as shown in Figure 2 3. Copy php_xdebug-2.7.1-7.2-vc15-x86_64.dll to C:\php-7.2.14\ext\php_xdebug.dll, in Add a new line to php.ini, restart php 4. Check the…
-
Post Views: 11 1. Error: yii\db\exception: redis error: err unknown command “brpop” or not support now Redis Command Was: BRPOP 2. The commands that are not supported by the CKV master-slave include BRPOP, as shown in Figure 1 3. Decide to switch to the master-slave version (community) of the cloud database Redis, and the supported commands include BRPOP, as shown…
-
Post Views: 46 1. Execute the command and report an error: php warning: strpos(): empty needle in E:\WWWRoot\PCS-API\Vendor\yiisoft\yii2\log\target.php on line 243, as shown in Figure 1 2. View \console\runtime\logs\app.log 3. Edit on the command line 4. Edit on the command line. Once an exception is thrown in the console command line, when writing to the log, an error will be…