# easy-yii2-wechat **Repository Path**: taoooo/easy-yii2-wechat ## Basic Information - **Project Name**: easy-yii2-wechat - **Description**: easy yii 微信模块 - **Primary Language**: PHP - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2018-09-21 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 使用说明 `wechat` 模块,提供微信快捷接入的功能,当前使用的 sdk 为 [EasyWeChat](https://www.easywechat.com); ## 配置说明 在你的 `common/config/params-local.php` 中添加命名空间 ```php return [ 'namespace' => [ // ... 'wechat' => PATH_ROOT . 'wechat', ], 'annotation' => [ 'modules' => [ // ... 'wechat' ] ] ]; ``` 在你的 `common/config/main-local.php` 中将数据库的编码设置为 `utf8mb4`,因为微信的昵称有特殊的字符