[更新]修改基础支持工具类

This commit is contained in:
Anyon 2018-02-02 19:51:28 +08:00
parent aa0c3c90e2
commit 03e283087f
17 changed files with 36 additions and 36 deletions

View File

@ -15,14 +15,14 @@
namespace Wechat;
use WeChat\Contracts\WeChat;
use WeChat\Contracts\BasicWeChat;
/**
* 卡券管理
* Class Card
* @package Wechat
*/
class Card extends WeChat
class Card extends BasicWeChat
{
/**
* 创建卡券

View File

@ -20,10 +20,10 @@ use WeChat\Exceptions\InvalidResponseException;
/**
* 微信通知处理基本类
* Class Request
* Class BasicPushEvent
* @package WeChat\Contracts
*/
class Request
class BasicPushEvent
{
/**
* 公众号APPID
@ -68,7 +68,7 @@ class Request
protected $message;
/**
* Request constructor.
* BasicPushEvent constructor.
* @param array $options
* @throws InvalidResponseException
*/

View File

@ -18,10 +18,10 @@ use WeChat\Exceptions\InvalidArgumentException;
use WeChat\Exceptions\InvalidResponseException;
/**
* Class Wechat
* Class BasicWeChat
* @package WeChat\Contracts
*/
class WeChat
class BasicWeChat
{
/**
@ -55,7 +55,7 @@ class WeChat
private $GetAccessTokenCallback;
/**
* Wechat constructor.
* BasicWeChat constructor.
* @param array $options
*/
public function __construct(array $options)

View File

@ -14,14 +14,14 @@
namespace WeChat;
use WeChat\Contracts\WeChat;
use WeChat\Contracts\BasicWeChat;
/**
* 客服消息处理
* Class Custom
* @package WeChat
*/
class Custom extends WeChat
class Custom extends BasicWeChat
{
/**
* 添加客服帐号

View File

@ -15,7 +15,7 @@
namespace WeChat;
use WeChat\Contracts\Tools;
use WeChat\Contracts\WeChat;
use WeChat\Contracts\BasicWeChat;
use WeChat\Exceptions\InvalidResponseException;
/**
@ -23,7 +23,7 @@ use WeChat\Exceptions\InvalidResponseException;
* Class Media
* @package WeChat
*/
class Media extends WeChat
class Media extends BasicWeChat
{
/**
* 新增临时素材

View File

@ -14,14 +14,14 @@
namespace WeChat;
use WeChat\Contracts\WeChat;
use WeChat\Contracts\BasicWeChat;
/**
* 微信菜单管理
* Class Menu
* @package WeChat
*/
class Menu extends WeChat
class Menu extends BasicWeChat
{
/**

View File

@ -14,14 +14,14 @@
namespace Wechat;
use WeChat\Contracts\Wechat;
use WeChat\Contracts\BasicWeChat;
/**
* 微信网页授权
* Class Oauth
* @package Wechat
*/
class Oauth extends Wechat
class Oauth extends BasicWeChat
{
/**

View File

@ -15,14 +15,14 @@
namespace WeChat;
use WeChat\Contracts\WeChat;
use WeChat\Contracts\BasicWeChat;
/**
* 商店管理
* Class Product
* @package WeChat
*/
class Product extends WeChat
class Product extends BasicWeChat
{
/**
* 提交审核/取消发布商品

View File

@ -14,14 +14,14 @@
namespace WeChat;
use WeChat\Contracts\WeChat;
use WeChat\Contracts\BasicWeChat;
/**
* 二维码管理
* Class Qrcode
* @package WeChat
*/
class Qrcode extends WeChat
class Qrcode extends BasicWeChat
{
/**

View File

@ -14,14 +14,14 @@
namespace WeChat;
use WeChat\Contracts\Request;
use WeChat\Contracts\BasicPushEvent;
/**
* 公众号推送管理
* Class Receive
* @package WeChat
*/
class Receive extends Request
class Receive extends BasicPushEvent
{
/**

View File

@ -14,14 +14,14 @@
namespace WeChat;
use WeChat\Contracts\WeChat;
use WeChat\Contracts\BasicWeChat;
/**
* 扫一扫接入管理
* Class Scan
* @package WeChat
*/
class Scan extends WeChat
class Scan extends BasicWeChat
{
/**
* 获取商户信息

View File

@ -15,7 +15,7 @@
namespace WeChat;
use WeChat\Contracts\Tools;
use WeChat\Contracts\WeChat;
use WeChat\Contracts\BasicWeChat;
use WeChat\Exceptions\InvalidResponseException;
/**
@ -23,7 +23,7 @@ use WeChat\Exceptions\InvalidResponseException;
* Class Script
* @package WeChat
*/
class Script extends WeChat
class Script extends BasicWeChat
{
/**

View File

@ -16,14 +16,14 @@ namespace WeChat;
use WeChat\Contracts\Tools;
use WeChat\Contracts\WeChat;
use WeChat\Contracts\BasicWeChat;
/**
* 揺一揺周边
* Class Shake
* @package WeChat
*/
class Shake extends WeChat
class Shake extends BasicWeChat
{
/**
* 申请开通功能

View File

@ -14,14 +14,14 @@
namespace WeChat;
use WeChat\Contracts\WeChat;
use WeChat\Contracts\BasicWeChat;
/**
* 用户标签管理
* Class Tags
* @package WeChat
*/
class Tags extends WeChat
class Tags extends BasicWeChat
{
/**
* 获取粉丝标签列表

View File

@ -14,14 +14,14 @@
namespace WeChat;
use WeChat\Contracts\WeChat;
use WeChat\Contracts\BasicWeChat;
/**
* 模板消息
* Class Template
* @package WeChat
*/
class Template extends WeChat
class Template extends BasicWeChat
{
/**
* 设置所属行业

View File

@ -14,14 +14,14 @@
namespace WeChat;
use WeChat\Contracts\WeChat;
use WeChat\Contracts\BasicWeChat;
/**
* 微信粉丝管理
* Class User
* @package WeChat
*/
class User extends WeChat
class User extends BasicWeChat
{
/**

View File

@ -15,14 +15,14 @@
namespace WeChat;
use WeChat\Contracts\WeChat;
use WeChat\Contracts\BasicWeChat;
/**
* 门店 WIFI 管理
* Class Wifi
* @package WeChat
*/
class Wifi extends WeChat
class Wifi extends BasicWeChat
{
/**