Category: Programming Development
-
Post Views: 50 1. In the ShowDoc, 2 * 3600 is displayed as: 2 * 3600. 30 * 24 * 3600 is displayed as: 30 24 3600. as shown in Figure 1 2. Use escape characters in 30 * 24 * 3600, modify it to: 30 \* 24 \* 3600. 30 \* 24 \* 3600 are displayed as: 30 *…
-
Post Views: 13 1. Open the URL:https://www.sqlite.org/download.html. Download sqlite-dll-win64-x64-3330000.zip. as shown in Figure 1 2. Copy files: sqlite3.def, sqlite3.dll to the directory: D:\Program Files\SQLite. as shown in Figure 2 3. Add D:\Program Files\SQLite to the PATH environment variable. as shown in Figure 3 4. Finally, at the command prompt, use the sqlite3 command, the following results will be displayed. Indicates…
-
Post Views: 14 1. Under api.pcs-stat.localhost, a standard RESTful API. The code in the method file is as follows (written by a colleague). as shown in Figure 1 2. Now plan to migrate this interface to api.pcs-api.localhost, at this time, api.pcs-api.localhost is an RPC client, api.pcs-stat.localhost is RPC server. Reference:https://www.shuijingwanwq.com/en/2020/06/23/11545/. 3. Create a new RPC server file, RPC/Controllers/DataPlanControlTaskController.php 4. Create…
-
Post Views: 13 1. The full name of MinGW is: Minimalist GNU on Windows. Open URL:http://www.mingw-w64.org/doku.php/download, select MinGW-W64-Builds. as shown in Figure 1 2. Download the package name: mingw-w64-install.exe. Error during installation: cannot download repository.txt. as shown in Figure 2 3. Select Win-Builds. as shown in Figure 3 4. Download and install from Windows. as shown in Figure 4 5.…
-
Post Views: 14 1. Reference URL:https://www.shuijingwanwq.com/2020/07/02/4288/. Previously, the code file could only be placed below: C:\Users\Administrator\Go\Src. Put it in: E:\wwwroot\go\src will report an error. 2. Edit the environment variable – the user variable of Administrator – GOPATH, its original value is: C:\Users\Administrator\Go, create a new: E:\wwwroot\go. Its new value is: C:\Users\Administrator\Go;E:\wwwroot\go. as shown in Figure 1 3. Reference URL:https://github.com/unknwon/the-way-to-go_ZH_CN/blob/master/eBook/09.8.md. Compile…
-
Post Views: 37 1. Implement the corresponding RPC service of the page in the RPC directory, create a remote procedure call HTTP server, and create a new \RPC\Controllers\ServerController.php 2. Create a new page model \rpc\models\page.php 3. Create a new page controller, \rpc\controllers\pagecontroller.php 4. Then open the URL on the browser side:http://rpc.github-shuijingwan-yii2-app-advanced.localhost/page/create, see the following output: Fa2{u#s11″page_create”}z, as expected 5. Create…
-
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: 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…