add clear
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
|
||||
|
||||
namespace officialaccount;
|
||||
|
||||
|
||||
use common\Config;
|
||||
|
||||
class WxSDK
|
||||
{
|
||||
|
||||
/**
|
||||
* @param Config $config
|
||||
* @return mixed
|
||||
*/
|
||||
public static function authorization(Config $config)
|
||||
{
|
||||
return Authorization::getInstance($config);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @param Config $config
|
||||
* @return mixed
|
||||
*/
|
||||
public static function qrCode(Config $config)
|
||||
{
|
||||
return QrCode::getInstance($config);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @param Config $config
|
||||
* @return mixed
|
||||
*/
|
||||
public static function news(Config $config)
|
||||
{
|
||||
return NewsManager::getInstance($config);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user