1
0
mirror of https://gitee.com/zoujingli/WeChatDeveloper.git synced 2025-04-06 03:58:03 +08:00

[更新]修正命名空间加载

This commit is contained in:
Anyon 2018-02-01 09:34:47 +08:00
parent 6281807677
commit 34650e09bb
4 changed files with 15 additions and 15 deletions

@ -14,9 +14,9 @@
namespace WeChat\Contracts;
use Wechat\Exceptions\InvalidArgumentException;
use Wechat\Exceptions\InvalidDecryptException;
use Wechat\Exceptions\InvalidResponseException;
use WeChat\Exceptions\InvalidArgumentException;
use WeChat\Exceptions\InvalidDecryptException;
use WeChat\Exceptions\InvalidResponseException;
/**
* 微信通知处理基本类

@ -14,14 +14,14 @@
namespace WeChat\Contracts;
use Wechat\Exceptions\InvalidArgumentException;
use Wechat\Exceptions\InvalidResponseException;
use Wechat\Exceptions\LocalCacheException;
use WeChat\Exceptions\InvalidArgumentException;
use WeChat\Exceptions\InvalidResponseException;
use WeChat\Exceptions\LocalCacheException;
/**
* 网络请求支持
* Class Request
* @package Wechat
* Class Tools
* @package WeChat\Contracts
*/
class Tools
{

@ -66,8 +66,8 @@ class WeChat
/**
* 获取访问accessToken
* @return string
* @throws \Wechat\Exceptions\InvalidResponseException
* @throws \Wechat\Exceptions\LocalCacheException
* @throws \WeChat\Exceptions\InvalidResponseException
* @throws \WeChat\Exceptions\LocalCacheException
*/
public function getAccesstoken()
{
@ -143,8 +143,8 @@ class WeChat
* @param string $method 当前接口方法
* @param array $arguments 请求参数
* @return mixed
* @throws \Wechat\Exceptions\InvalidResponseException
* @throws \Wechat\Exceptions\LocalCacheException
* @throws \WeChat\Exceptions\InvalidResponseException
* @throws \WeChat\Exceptions\LocalCacheException
*/
protected function registerApi(&$url, $method, $arguments = [])
{
@ -162,7 +162,7 @@ class WeChat
* @param bool $isBuildJson
* @return array
* @throws InvalidResponseException
* @throws \Wechat\Exceptions\LocalCacheException
* @throws \WeChat\Exceptions\LocalCacheException
*/
public function callPostApi($url, array $data, $isBuildJson = true)
{
@ -175,7 +175,7 @@ class WeChat
* @param string $url 接口URL
* @return array
* @throws InvalidResponseException
* @throws \Wechat\Exceptions\LocalCacheException
* @throws \WeChat\Exceptions\LocalCacheException
*/
public function callGetApi($url)
{

@ -30,7 +30,7 @@ class User extends WeChat
* @param string $remark
* @return array
* @throws Exceptions\InvalidResponseException
* @throws \Wechat\Exceptions\LocalCacheException
* @throws \WeChat\Exceptions\LocalCacheException
*/
public function updateMark($openid, $remark)
{