Tag: update
-
Post Views: 17 1. The json field is stored in the array format, the value example:[249, 247, 250, 244, 243, 255, 246, 245, 257, 248, 259, 252, 256]. as shown in Figure 1 2. The existing code running in the queue job is implemented as follows, the generated SQL is as follows 3. Since the queue tasks can be run…
-
Post Views: 16 1. Execute SQL as follows 2. Error: 1093 – you canT specific target tablexx_themesfor update in from clause. as shown in Figure 1 3. Reference:https://dev.mysql.com/doc/refman/5.7/en/update.html, in MySQL, you cannot modify the same table used in the Select section. You can connect the table to itself, which will cause MySQL to treat the table as two different things,…
-
Post Views: 18 1. Print the current object, its properties[architecture]=> 2.0 . as shown in Figure 1 2. The code is implemented as follows 3. Print object $wptheme, its attributes[architecture]=> 2.0. Print $wptheme->Architecture with a value of 1.0. Not as expected. as shown in Figure 2 4. Finally found the reason, the influence of the settings in the model file,…
-
Post Views: 12 1. An error occurred while updating Hueman Addons: the download failed. Curl Error 18: Transfer closed with 2183267 bytes remaining to read. CURL error 18: Transport is turned off, and 2183267 bytes are available for read. as shown in Figure 1 2. Reference URL:https://www.shuijingwanwq.com/2021/02/19/4734/. The solution is to download from the server and put it in the…
-
Post Views: 14 1. An error occurred while updating in WordPress: the download failed. Too many requests, as shown in Figure 1 2. Open the URL:https://wordpress.org/, Response: 429 Too many requests, so it seems that the reason is that the official WordPress website is blocked in China. as shown in Figure 2 3. After connecting the blue light locally, you…
-
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: 17 1. Table: Fields in pub_log: The type of data is: text, as shown in Figure 1 2. Table: field in pub_log: data structure of data is: json, the formatted data is as follows, as shown in Figure 2 3. The current requirement is that if “channel_app_task_status”: 6, it needs to be changed to: “channel_app_task_status”: 7, that is,…