PHP 7.1.12 – Eternal Night https://www.shuijingwanwq.com There is no problem not worth solving, and no technology not worth learning! Wed, 03 Jun 2026 13:51:32 +0000 en-US hourly 1 https://wordpress.org/?v=7.0 Implemented in Yii 2.0: Resource Services https://www.shuijingwanwq.com/en/2018/09/21/15654/ https://www.shuijingwanwq.com/en/2018/09/21/15654/#respond Fri, 21 Sep 2018 05:17:01 +0000 https://www.shuijingwanwq.com/?p=15654 https://www.shuijingwanwq.com/en/2018/09/21/15654/feed/ 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. https://www.shuijingwanwq.com/en/2018/09/04/15662/ https://www.shuijingwanwq.com/en/2018/09/04/15662/#respond Tue, 04 Sep 2018 09:08:50 +0000 https://www.shuijingwanwq.com/?p=15662 https://www.shuijingwanwq.com/en/2018/09/04/15662/feed/ 0 In Yii 2, when processing a RESTful API request, the new response format is supported: text/html, and only the HTML format is supported https://www.shuijingwanwq.com/en/2018/08/27/10170/ https://www.shuijingwanwq.com/en/2018/08/27/10170/#respond Mon, 27 Aug 2018 10:17:24 +0000 https://www.shuijingwanwq.com/?p=10170 https://www.shuijingwanwq.com/en/2018/08/27/10170/feed/ 0 Implementation of Sentry 9 Integration with Yii 2 Advanced Project Template https://www.shuijingwanwq.com/en/2018/08/24/15670/ https://www.shuijingwanwq.com/en/2018/08/24/15670/#respond Fri, 24 Aug 2018 02:11:47 +0000 https://www.shuijingwanwq.com/?p=15670 https://www.shuijingwanwq.com/en/2018/08/24/15670/feed/ 0 Nginx-based single domain name configuration on Yii 2 Advanced Project Template https://www.shuijingwanwq.com/en/2018/08/16/15678/ https://www.shuijingwanwq.com/en/2018/08/16/15678/#respond Thu, 16 Aug 2018 10:02:52 +0000 https://www.shuijingwanwq.com/?p=15678 https://www.shuijingwanwq.com/en/2018/08/16/15678/feed/ 0 Based on yiisoft/yii2-app-advanced, create a new repository yii2-app-advanced on github, and create a new remote procedure call application (implement hprose 2.0 for PHP’s RPC server), support for creating new RPC directories, configuration and environment, testing, Vagrant, etc. https://www.shuijingwanwq.com/en/2018/08/15/11560/ https://www.shuijingwanwq.com/en/2018/08/15/11560/#respond Wed, 15 Aug 2018 01:48:49 +0000 https://www.shuijingwanwq.com/?p=11560 https://www.shuijingwanwq.com/en/2018/08/15/11560/feed/ 0 Under Yii 2, realize the logical isolation of multi-tenant, that is, there is a tenant ID field in each table of the database, customize the active query class, and add the query conditions of the tenant ID by default in each query. https://www.shuijingwanwq.com/en/2018/07/13/15694/ https://www.shuijingwanwq.com/en/2018/07/13/15694/#respond Fri, 13 Jul 2018 08:56:30 +0000 https://www.shuijingwanwq.com/?p=15694 https://www.shuijingwanwq.com/en/2018/07/13/15694/feed/ 0 Under Yii 2,[[yii\validators\UniqueValidator|unique(唯一性)]], uniqueness of the combined field, customizing the error message in the common model logic layer https://www.shuijingwanwq.com/en/2018/07/13/15698/ https://www.shuijingwanwq.com/en/2018/07/13/15698/#respond Fri, 13 Jul 2018 01:35:03 +0000 https://www.shuijingwanwq.com/?p=15698 https://www.shuijingwanwq.com/en/2018/07/13/15698/feed/ 0 Based on yiisoft/yii2-app-advanced, create a new repository yii2-app-advanced on github, and create a new interface application (implement RESTful-style web service services. API), realize the soft deletion of ActiveRecord, generate ActiveQuery, and customize the query class https://www.shuijingwanwq.com/en/2018/07/12/11568/ https://www.shuijingwanwq.com/en/2018/07/12/11568/#respond Thu, 12 Jul 2018 05:26:20 +0000 https://www.shuijingwanwq.com/?p=11568 https://www.shuijingwanwq.com/en/2018/07/12/11568/feed/ 0 Based on yiisoft/yii2-app-advanced, create a new repository yii2-app-advanced on github, and create a new interface application (implement RESTful-style web service services. API), adjust the default character set to: utf8mb4, the adjustment of the interface response format, the empty array is automatically converted to empty objects, and the request log message is collected in the interface application (1 request corresponds to 1 log message) to the database, and the corresponding interface to implement the log function: log list (set data filter to enable filter processing), log details (2) https://www.shuijingwanwq.com/en/2018/06/27/10118/ https://www.shuijingwanwq.com/en/2018/06/27/10118/#respond Wed, 27 Jun 2018 08:48:57 +0000 https://www.shuijingwanwq.com/?p=10118 https://www.shuijingwanwq.com/en/2018/06/27/10118/feed/ 0