Category: Web Application Development
-
Post Views: 14 1. In the text mode of the editor, there are code snippets that start and end with go, as shown in Figure 1 2. Browse on the web page and find that it is not effective, it is still original text information, as shown in Figure 2 3. Get a list of valid tags (under “alias”) and…
-
Post Views: 19 1. Edit and update the UI of the task type and step settings of the tenant to complete the design after the interface is implemented. Implementation of the previous version:https://www.shuijingwanwq.com/2019/11/14/3605/, in the previous version, the task type can be implemented at the same time: the task type can be (add, delete, rename its name, sort), and the…
-
Post Views: 13 1. The requirements for editing and updating the tenant’s task type and step settings have changed, and users need to allow users to add task types independently, and then select some of them from the 18 steps to add to the newly added task type. Implementation of the previous version:https://www.shuijingwanwq.com/2019/11/06/3583/, in the previous version, only the user…
-
Post Views: 18 1. Open the task configuration table, as shown in Figure 1 2. Open the task step configuration table, as shown in Figure 2 3. Now there are new requirements: Based on different tenants, the task configuration and task step configuration can be customized. Therefore, it is decided to create a new tenant’s task configuration table and tenant’s…
-
Post Views: 16 1. The operation of the command-line script is supported based on Supervisor. During the continuous operation, the problem of occupying too much memory is still not fundamentally solved. Check the URL:https://www.shuijingwanwq.com/2019/07/24/3376/ 2. Check the URL:https://stackoverflow.com/questions/27341846/using-supervisor-as-cron, by calling the bash sleep command to execute the command-line script at a certain time interval to avoid continuous uninterrupted operation, so…
-
Post Views: 45 1. Since the log message is stored in the log table of mysql, in the production environment, a large amount of data has been accumulated, and the data length of the log table has reached hundreds of gigabytes. Therefore, it is decided to implement the timing deletion of log messages based on the console command line, and…
-
Post Views: 15 1. The interface for uploading the file, which only realizes the scenario of uploading the topic selection material, now needs to add the scene of the upload base icon, and decide to reuse the interface of the upload file, as shown in Figure 1 2. New request parameters, Scenario: optional, scene, default: default; CONFIG_BASE_LOCATION_ICON: The icon set…
-
Post Views: 14 1. will /build/c_files/etc/supervisord.d/yii-cmc-console-user-sync.ini, /build/c_files/etc/supervisord.d/yii-config-column-user-sync.ini Shear to /build/c_files/tmp/yii-cmc-console-user-sync.ini, /b uild/c_files/tmp/yii-config-column-user-sync.ini, as shown in Figure 1 2. Edit \build\c_files\config\init\console_init.sh, the code is as follows, as shown in Figure 2 3. Edit \build\readme.md, whether the console command is executed (when a single-machine deployment, it needs to be set to true; when deploying a cluster, only one machine needs to be…
-
Post Views: 15 1. Open the URL in Postman:http://api.pcs.wjdev.chinamcloud.cn/v1/assets/upload,Upload the file, the response failed, as shown in Figure 1 2. Check /runtime/logs/app.log, and report an error:[warning][yii\validators\FileValidator::validateValue]Missing the temperature folder to store the uploaded file: 360wallpaper(0).jpg 3. Go back to the previous version, no errors are reported, check the git log, and analyze the differences, as shown in Figure 2 4.…