Monthly Archive: September 2018

0

In the LNMP environment, the response no input file specified. But the file is the analysis and solution of the actual existence

Post Views: 10 1,http://wmpublish.mp.sztv.com.cn:8026/wx/robots.txt, the response is successful, indicating that the configuration of nginx is correct 2,http://wmpublish.mp.sztv.com.cn:8026/v1/channel-app-sources?group_id=channel, the response failed, no input file specified 3. Run the command in the container and view the...

升级至开发环境(CentOS)后,复制文件成功 0

Implemented in Yii 2.0: Resource Services

Post Views: 13 1. Configuration file: \common\config\params-local.php, self-media as the source 2. Create a new service class, \Common\Services\AssetService.php to implement a static method: CopyAssets 3. Reference the service class, \common\services\AssetService.php, call the static method:...

下载配置文件:config.inc.php,复制 config.inc.php 至 \phpmyadmin-localhost\config.inc.php,打开网址:http://localhost/phpmyadmin-localhost ,登录时,选择服务器已经存在2个,可以自行选择登录哪个服务器 0

Install phpMyAdmin 4.8 in Windows 10, and upgrade based on Composer to avoid the trouble of subsequent manual installation and upgrade

Post Views: 14 1. Reference URL:https://docs.phpmyadmin.net/zh_CN/latest/setup.html#installing-using-composer 2. Install and run the command based on composer, as shown in Figure 1 3. Enter the phpmyadmin-localhost directory, update phpmyadmin to the latest version, and run the...

POST http://api.channel-pub-api.localhost/qq/v1/articles?group_id=015ce30b116ce86058fa6ab4fea4ac63 ,请求参数 uuid 为数组格式 0

Based on Yii 2.0, the API of RESTful-style web service service is realized. In the request parameter, only one parameter supports data filling and validation of multiple parameter values (ie array, list input) and validation.

Post Views: 13 1. Posthttp://api.channel-pub-api.localhost/qq/v1/articles?group_id=015ce30b116ce86058fa6ab4fea4ac63, as shown in Figure 1 Print request parameters: 2. Posthttp://api.channel-pub-api.localhost/qq/v1/articles?group_id=015ce30b116ce86058fa6ab4fea4ac63, the request parameter UUID is the array format, as shown in Figure 2 Print request parameters: 3. Check \QQ\RESTS\Article\CreateAction.php,...

Post http://api.channel-pub-api.localhost/qq/v1/articles?group_id=015ce30b116ce86058fa6ab4fea4ac63 ,参数:uuid 不存在于企鹅号的第三方服务平台应用的企鹅媒体用户模型中,响应:数据验证失败:企鹅号ID(UUID)是无效的。,符合预期 0

Based on yiisoft/yii2-app-advanced, the API of RESTful-style web service service is realized. When the request parameter is multi-model, the realization of data filling and validation

Post Views: 15 1. Reference URL:https://www.yiiframework.com/doc/guide/2.0/zh-cn/input-multiple-models, it is suitable for web forms, but the request parameters of the API application generally do not add the form name (especially when the single model is entered),...