Monthly Archive: November 2018

在 CentOS 7.2 中执行初始化命令,一些应用下的目录权限未设置,不正常(总计 8 行) 0

In the Yii 2 advanced template, execute the initialization command in CentOS 7.2, the analysis solution for some directory permissions under some applications is not set to 777 (the root is the Docker deployment configuration problem)

Post Views: 14 1. Execute the initialization command in Windows 10, set the directory permissions of all applications, normal (14 lines in total), as shown in Figure 1 2. Execute the initialization command in...

实际的响应结果如下:所有字段类型皆为字符串 0

In Yii 2, the query data is declared based on yii\db\ActiveQuery::joinWith() , and the analysis solution of the response field type is a string

Post Views: 14 1. In \QQ\RESTS\Article_Category\StandardIndexAction.php 2. The expected response results are as follows: 3. The actual response result is as follows: all field types are strings, as shown in Figure 1 4. Edit...

PUT http://api.channel-pub-api.localhost/qq/v1/qq-cw-apps/148d4df6eba311e899f654ee75d2ebc1?group_id=spider 时,贵响应成功 0

In Yii 2, when updating the model, when a field does not exist, the model is not updated (default implementation), when a field exists and its value is empty (assigned to the old value of the attribute), the implementation of the model is not updated

Post Views: 17 1. Gethttp://api.channel-pub-api.localhost/qq/v1/qq-cw-apps/edit/148d4df6eba311e899f654ee75d2ebc1?group_id=spider, the response is as follows, based on security reasons, reset the client secret to an empty string 2, therefore, PUThttp://api.channel-pub-api.localhost/qq/v1/qq-cw-apps/148d4df6eba311e899f654ee75d2ebc1?group_id=spider, if the value of client_secret is not updated, its...

在企鹅号后台查看我的素材,视频文件已经分片上传成功 0

The implementation process of video file sharding upload based on Penguin, including queue, file slice, while loop, etc.

Post Views: 14 1. The design of the database structure, a resource table, a video file upload table of a Penguin number, and a transaction table of a penguin. The structure is as follows:...

之前很长一段时间内皆是未出现 html 转义字符的,不确定是因为升级还是什么原因导致的了,之前发布的文章也出现了 html 转义字符 0

The solution to the html escape character in SyntaxHighlighter 3.x of WordPress 4.9.8 is rooted in the Gutenberg editor

Post Views: 12 1. HTML escape characters appear in SyntaxHighlighter 3.x of WordPress 4.9.8, and newline tags are automatically added, etc., as shown in Figure 1 2. The expected format should not appear HTML...

Run the console command script based on Supervisor, after running 1 time, run the implementation of the console command script again after 60 seconds 0

Run the console command script based on Supervisor, after running 1 time, run the implementation of the console command script again after 60 seconds

Post Views: 9 1. Configuration file \channel-pub-api\build\c_files\etc\supervisord.d\yii-qq-transaction-video-sync.ini 2. In the console command script, run once, write 1 file, the code is as follows 3. After the development environment is upgraded, check the directory /sobey/www/channel-pub-api/console/runtime/...