Monthly Archive: September 2019

基地设置的图标 的场景,文件扩展名为 zip 的文件,上传失败,符合预期 0

The interface for uploading files in Yii 2.0, the realization of multiplexing in multi-scenario (the validation rules for each scenario)

浏览量: 9 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...

容器升级后,设置环境变量 PCS_API_CFG_CONSOLE=true,查看 supervisord 运行状态,PHP 命令行脚本 cmc-console-user/sync、config-column-user/sync 皆已运行,符合预期 0

Run the PHP command-line script based on Supervisord, which can be controlled based on the Rancher environment variable to support the implementation of the PHP command-line script only runs in the stand-alone when deploying a cluster

浏览量: 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...

在 Postman 中打开网址:http://api.pcs.wjdev.chinamcloud.cn/v1/assets/upload, 上传文件,响应失败 0

Missing the temporary folder to store the uploaded file

浏览量: 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...

打开文件:我的任务-2019-09-20-19-39-11.xlsx,符合预期 0

Implementation flow of exporting resource list to Excel file in Yii 2.0

浏览量: 58 1. The resource list of my task, plan to add an export button at the head of the resource list, as shown in Figure 1 2. Search in github: yii2 export excel,...