mirror of
https://github.com/w7corp/easywechat.git
synced 2025-01-22 03:22:10 +00:00
Page:
configuration_initiation
1
configuration_initiation
James ZHANG edited this page 2015-06-15 17:44:27 +08:00
Table of Contents
- Server
- Message
- User
- Group
- Web Auth
- Menu
- Menu Items
- JSSDK
- Customer Service(aka: Hotline)
- Store
- WeChat Card
- QR Code
- Short URL Service
- Multimedia resources Management
- Image
- Exception
- BaseMessage
- Message:Text
- Message:Image
- Message:Audio
- Message:Video
- Message:News
- Message:NewsItem
- Message:Location
- Message:Music
- Message:Link
- Message:Transfer(Mandatary for the Hotline Service)
This project contains several APIs, each of them may have a defferent initial functional parameters.
All of classes had been also provided the class_alias
, list its below: *tip: while using the alias classes, you may enable the following line onto your project's boot script.
Overtrue\Wechat\Alias::register();
If you are favorited While using the class_alias
, it won't need import the namespace again.
Server
- class: `Overtrue\Wechat\Server`
- alias: `WechatServer`
- parameters: `__construct($appId, $token, $encodingAESKey = null)`
Message
- class: `Overtrue\Wechat\Message`
- alias: `WechatMessage`
- parameters: none
User
- class: `Overtrue\Wechat\User`
- alias: `WechatUser`
- parameters: `__construct($appId, $appSecret)`
Group
- class: `Overtrue\Wechat\Group`
- alias: `WechatGroup`
- parameters: `__construct($appId, $appSecret)`
Web Auth
- class: `Overtrue\Wechat\Auth`
- alias: `WechatAuth`
- parameters: `__construct($appId, $appSecret)`
Menu
- class: `Overtrue\Wechat\Menu`
- alias: `WechatMenu`
- parameters: `__construct($appId, $appSecret)`
Menu Items
- class: `Overtrue\Wechat\MenuItem`
- alias: `WechatMenuItem`
- parameters: `__construct($appId, $appSecret)`
JSSDK
- class: `Overtrue\Wechat\Js`
- alias: `WechatJs`
- parameters: `__construct($appId, $appSecret)`
Customer Service(aka: Hotline)
- class: `Overtrue\Wechat\Staff`
- alias: `WechatStaff`
- parameters: `__construct($appId, $appSecret)`
Store
- class: `Overtrue\Wechat\Store`
- alias: `WechatStore`
- parameters: `__construct($appId, $appSecret)`
WeChat Card
- class: `Overtrue\Wechat\Card`
- alias: `WechatCard`
- parameters: `__construct($appId, $appSecret)`
QR Code
- class: `Overtrue\Wechat\QRCode`
- alias: `WechatQRCode`
- parameters: `__construct($appId, $appSecret)`
Short URL Service
- class: `Overtrue\Wechat\Url`
- alias: `WechatUrl`
- parameters: `__construct($appId, $appSecret)`
Multimedia resources Management
- class: `Overtrue\Wechat\Media`
- alias: `WechatMedia`
- parameters: `__construct($appId, $appSecret)`
Image
- class: `Overtrue\Wechat\Image`
- alias: `WechatImage`
- parameters: `__construct($appId, $appSecret)`
Exception
- class: `Overtrue\Wechat\Exception`
- alias: `WechatException`
- parameters: `__construct($appId, $appSecret)`
BaseMessage
- class: `Overtrue\Wechat\BaseMessage`
- alias: `WechatBaseMessage`
- parameters: `__construct($appId, $appSecret)`
Message:Text
- class: `Overtrue\Wechat\Messages\Text`
- alias: `WechatTextMessage`
- parameters: None
Message:Image
- class: `Overtrue\Wechat\Messages\Image`
- alias: `WechatImageMessage`
- parameters: None
Message:Audio
- class: `Overtrue\Wechat\Messages\Voice`
- alias: `WechatVoiceMessage`
- parameters: None
Message:Video
- class: `Overtrue\Wechat\Messages\Video`
- alias: `WechatVideoMessage`
- parameters: None
Message:News
- class: `Overtrue\Wechat\Messages\News`
- alias: `WechatNewsMessage`
- parameters: None
Message:NewsItem
- class: `Overtrue\Wechat\Messages\NewsItem`
- alias: `WechatNewsMessageItem`
- parameters: None
Message:Location
- class: `Overtrue\Wechat\Messages\Location`
- alias: `WechatLocationMessage`
- parameters: None
Message:Music
- class: `Overtrue\Wechat\Messages\Music`
- alias: `WechatMusicMessage`
- parameters: None
Message:Link
- class: `Overtrue\Wechat\Messages\Link`
- alias: `WechatLinkMessage`
- parameters: None
Message:Transfer(Mandatary for the Hotline Service)
- class: `Overtrue\Wechat\Messages\Transfer`
- alias: `WechatTransferMessage`
- parameters: None
About the PHP namespace, @see PHP Offical
中文版 English
目录
English 中文版
Table of Contents
Laravel 5 版: overtrue/laravel-wechat
可能由于微信的接口调整导致某些接口不能正常使用,请及时给我反馈,谢谢!https://github.com/overtrue/wechat/issues