diff --git a/AliPay/App.php b/AliPay/App.php index 1a91d97..ea3c8a5 100644 --- a/AliPay/App.php +++ b/AliPay/App.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/AliPay/Bill.php b/AliPay/Bill.php index 4060bac..003b0a7 100644 --- a/AliPay/Bill.php +++ b/AliPay/Bill.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/AliPay/Pos.php b/AliPay/Pos.php index 77dca26..6476427 100644 --- a/AliPay/Pos.php +++ b/AliPay/Pos.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/AliPay/Scan.php b/AliPay/Scan.php index 77b196f..b77ee6b 100644 --- a/AliPay/Scan.php +++ b/AliPay/Scan.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/AliPay/Trade.php b/AliPay/Trade.php index 906226b..364cd08 100644 --- a/AliPay/Trade.php +++ b/AliPay/Trade.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/AliPay/Transfer.php b/AliPay/Transfer.php index ae80a08..33dfa45 100644 --- a/AliPay/Transfer.php +++ b/AliPay/Transfer.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/AliPay/Wap.php b/AliPay/Wap.php index 691bce6..6c0f76f 100644 --- a/AliPay/Wap.php +++ b/AliPay/Wap.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/AliPay/Web.php b/AliPay/Web.php index 93b476f..ab13be5 100644 --- a/AliPay/Web.php +++ b/AliPay/Web.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/We.php b/We.php index 2278c7a..2a186a2 100644 --- a/We.php +++ b/We.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/WeChat/Card.php b/WeChat/Card.php index 3ba388e..20e0b59 100644 --- a/WeChat/Card.php +++ b/WeChat/Card.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/WeChat/Contracts/BasicAliPay.php b/WeChat/Contracts/BasicAliPay.php index 07913bc..04bd9a2 100644 --- a/WeChat/Contracts/BasicAliPay.php +++ b/WeChat/Contracts/BasicAliPay.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- @@ -110,7 +110,7 @@ abstract class BasicAliPay * 查询支付宝订单状态 * @param string $out_trade_no * @return array|boolean - * @throws InvalidResponseException + * @throws \WeChat\Exceptions\InvalidResponseException * @throws \WeChat\Exceptions\LocalCacheException */ public function query($out_trade_no = '') @@ -124,7 +124,7 @@ abstract class BasicAliPay * @param array|string $options 退款参数或退款商户订单号 * @param null $refund_amount 退款金额 * @return array|boolean - * @throws InvalidResponseException + * @throws \WeChat\Exceptions\InvalidResponseException * @throws \WeChat\Exceptions\LocalCacheException */ public function refund($options, $refund_amount = null) @@ -138,7 +138,7 @@ abstract class BasicAliPay * 关闭支付宝进行中的订单 * @param array|string $options * @return array|boolean - * @throws InvalidResponseException + * @throws \WeChat\Exceptions\InvalidResponseException * @throws \WeChat\Exceptions\LocalCacheException */ public function close($options) @@ -151,8 +151,8 @@ abstract class BasicAliPay /** * 获取通知数据 * @param boolean $needSignType 是否需要sign_type字段 - * @return boolean|array - * @throws InvalidResponseException + * @return array + * @throws \WeChat\Exceptions\InvalidResponseException */ public function notify($needSignType = false) { @@ -173,8 +173,8 @@ abstract class BasicAliPay * 验证接口返回的数据签名 * @param array $data 通知数据 * @param null|string $sign 数据签名 - * @return array|boolean - * @throws InvalidResponseException + * @return array + * @throws \WeChat\Exceptions\InvalidResponseException */ protected function verify($data, $sign) { @@ -223,7 +223,7 @@ abstract class BasicAliPay * 数据签名处理 * @param array $data 需要进行签名数据 * @param boolean $needSignType 是否需要sign_type字段 - * @return bool|string + * @return string */ private function getSignContent(array $data, $needSignType = false) { @@ -232,7 +232,7 @@ abstract class BasicAliPay if (empty($needSignType)) unset($data['sign_type']); foreach ($data as $key => $value) { if ($value === '' || is_null($value)) continue; - array_push($attrs, "{$key}={$value}"); + $attrs[] = "{$key}={$value}"; } return join('&', $attrs); } @@ -251,7 +251,7 @@ abstract class BasicAliPay * 请求接口并验证访问数据 * @param array $options * @return array|boolean - * @throws InvalidResponseException + * @throws \WeChat\Exceptions\InvalidResponseException * @throws \WeChat\Exceptions\LocalCacheException */ protected function getResult($options) diff --git a/WeChat/Contracts/BasicPushEvent.php b/WeChat/Contracts/BasicPushEvent.php index 31be218..76e6f91 100644 --- a/WeChat/Contracts/BasicPushEvent.php +++ b/WeChat/Contracts/BasicPushEvent.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- @@ -70,7 +70,7 @@ class BasicPushEvent /** * BasicPushEvent constructor. * @param array $options - * @throws InvalidResponseException + * @throws \WeChat\Exceptions\InvalidResponseException */ public function __construct(array $options) { @@ -130,7 +130,7 @@ class BasicPushEvent * @param boolean $return 是否返回XML内容 * @param boolean $isEncrypt 是否加密内容 * @return string - * @throws InvalidDecryptException + * @throws \WeChat\Exceptions\InvalidDecryptException */ public function reply(array $data = [], $return = false, $isEncrypt = false) { diff --git a/WeChat/Contracts/BasicWeChat.php b/WeChat/Contracts/BasicWeChat.php index 1fd9493..bb8ac71 100644 --- a/WeChat/Contracts/BasicWeChat.php +++ b/WeChat/Contracts/BasicWeChat.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- @@ -159,7 +159,7 @@ class BasicWeChat * 以GET获取接口数据并转为数组 * @param string $url 接口地址 * @return array - * @throws InvalidResponseException + * @throws \WeChat\Exceptions\InvalidResponseException * @throws \WeChat\Exceptions\LocalCacheException */ protected function httpGetForJson($url) @@ -183,7 +183,7 @@ class BasicWeChat * @param array $data 请求数据 * @param bool $buildToJson * @return array - * @throws InvalidResponseException + * @throws \WeChat\Exceptions\InvalidResponseException * @throws \WeChat\Exceptions\LocalCacheException */ protected function httpPostForJson($url, array $data, $buildToJson = true) @@ -223,7 +223,7 @@ class BasicWeChat * @param array $data POST提交接口参数 * @param bool $isBuildJson * @return array - * @throws InvalidResponseException + * @throws \WeChat\Exceptions\InvalidResponseException * @throws \WeChat\Exceptions\LocalCacheException */ public function callPostApi($url, array $data, $isBuildJson = true) @@ -236,7 +236,7 @@ class BasicWeChat * 接口通用GET请求方法 * @param string $url 接口URL * @return array - * @throws InvalidResponseException + * @throws \WeChat\Exceptions\InvalidResponseException * @throws \WeChat\Exceptions\LocalCacheException */ public function callGetApi($url) diff --git a/WeChat/Contracts/BasicWePay.php b/WeChat/Contracts/BasicWePay.php index 52e4338..86a99ea 100644 --- a/WeChat/Contracts/BasicWePay.php +++ b/WeChat/Contracts/BasicWePay.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- @@ -91,7 +91,7 @@ class BasicWePay /** * 获取微信支付通知 * @return array - * @throws InvalidResponseException + * @throws \WeChat\Exceptions\InvalidResponseException */ public function getNotify() { @@ -137,7 +137,7 @@ class BasicWePay * 转换短链接 * @param string $longUrl 需要转换的URL,签名用原串,传输需URLencode * @return array - * @throws InvalidResponseException + * @throws \WeChat\Exceptions\InvalidResponseException * @throws \WeChat\Exceptions\LocalCacheException */ public function shortUrl($longUrl) @@ -146,7 +146,6 @@ class BasicWePay return $this->callPostApi($url, ['long_url' => $longUrl]); } - /** * 数组直接转xml数据输出 * @param array $data @@ -163,14 +162,15 @@ class BasicWePay } /** - * 以Post请求接口 + * 以 Post 请求接口 * @param string $url 请求 * @param array $data 接口参数 * @param bool $isCert 是否需要使用双向证书 * @param string $signType 数据签名类型 MD5|SHA256 * @param bool $needSignType 是否需要传签名类型参数 + * @param bool $needNonceStr * @return array - * @throws InvalidResponseException + * @throws \WeChat\Exceptions\InvalidResponseException * @throws \WeChat\Exceptions\LocalCacheException */ protected function callPostApi($url, array $data, $isCert = false, $signType = 'HMAC-SHA256', $needSignType = true, $needNonceStr = true) diff --git a/WeChat/Contracts/BasicWeWork.php b/WeChat/Contracts/BasicWeWork.php index 9208e29..8d3d15e 100644 --- a/WeChat/Contracts/BasicWeWork.php +++ b/WeChat/Contracts/BasicWeWork.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/WeChat/Contracts/DataArray.php b/WeChat/Contracts/DataArray.php index 0c12018..1bb6c66 100644 --- a/WeChat/Contracts/DataArray.php +++ b/WeChat/Contracts/DataArray.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/WeChat/Contracts/DataError.php b/WeChat/Contracts/DataError.php index 5df9a3c..4380f1b 100644 --- a/WeChat/Contracts/DataError.php +++ b/WeChat/Contracts/DataError.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/WeChat/Contracts/Prpcrypt.php b/WeChat/Contracts/Prpcrypt.php index d0eb85e..62afcfd 100644 --- a/WeChat/Contracts/Prpcrypt.php +++ b/WeChat/Contracts/Prpcrypt.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/WeChat/Contracts/Tools.php b/WeChat/Contracts/Tools.php index 0f4e181..a5c3fe6 100644 --- a/WeChat/Contracts/Tools.php +++ b/WeChat/Contracts/Tools.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- @@ -69,7 +69,7 @@ class Tools * @param string|array $ext 文件后缀 * @param array $mine 文件后缀MINE信息 * @return string - * @throws LocalCacheException + * @throws \WeChat\Exceptions\LocalCacheException */ public static function getExtMine($ext, $mine = []) { @@ -83,7 +83,7 @@ class Tools /** * 获取所有文件扩展的类型 * @return array - * @throws LocalCacheException + * @throws \WeChat\Exceptions\LocalCacheException */ private static function getMines() { @@ -103,7 +103,7 @@ class Tools * @param string $mimetype * @param string $postname * @return \CURLFile|string - * @throws LocalCacheException + * @throws \WeChat\Exceptions\LocalCacheException */ public static function createCurlFile($filename, $mimetype = null, $postname = null) { @@ -257,7 +257,7 @@ class Tools * 解析JSON内容到数组 * @param string $json * @return array - * @throws InvalidResponseException + * @throws \WeChat\Exceptions\InvalidResponseException */ public static function json2arr($json) { @@ -277,7 +277,7 @@ class Tools * @param array $query GET数 * @param array $options * @return boolean|string - * @throws LocalCacheException + * @throws \WeChat\Exceptions\LocalCacheException */ public static function get($url, $query = [], $options = []) { @@ -291,7 +291,7 @@ class Tools * @param array $data POST数据 * @param array $options * @return boolean|string - * @throws LocalCacheException + * @throws \WeChat\Exceptions\LocalCacheException */ public static function post($url, $data = [], $options = []) { @@ -305,7 +305,7 @@ class Tools * @param string $url 请求方法 * @param array $options 请求参数[headers,data,ssl_cer,ssl_key] * @return boolean|string - * @throws LocalCacheException + * @throws \WeChat\Exceptions\LocalCacheException */ public static function doRequest($method, $url, $options = []) { @@ -384,7 +384,7 @@ class Tools * @param string $name 文件名称 * @param string $content 文件内容 * @return string - * @throws LocalCacheException + * @throws \WeChat\Exceptions\LocalCacheException */ public static function pushFile($name, $content) { @@ -404,7 +404,7 @@ class Tools * @param string $value 缓存内容 * @param int $expired 缓存时间(0表示永久缓存) * @return string - * @throws LocalCacheException + * @throws \WeChat\Exceptions\LocalCacheException */ public static function setCache($name, $value = '', $expired = 3600) { diff --git a/WeChat/Custom.php b/WeChat/Custom.php index 8bcc481..d006358 100644 --- a/WeChat/Custom.php +++ b/WeChat/Custom.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/WeChat/Draft.php b/WeChat/Draft.php index ce91f5e..3d17472 100644 --- a/WeChat/Draft.php +++ b/WeChat/Draft.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- @@ -15,7 +15,6 @@ namespace WeChat; use WeChat\Contracts\BasicWeChat; -use WeChat\Exceptions\InvalidResponseException; /** * 微信草稿箱管理 @@ -29,8 +28,8 @@ class Draft extends BasicWeChat * 新建草稿 * @param $articles * @return array - * @throws Exceptions\LocalCacheException - * @throws InvalidResponseException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function add($articles) { @@ -43,9 +42,9 @@ class Draft extends BasicWeChat * 获取草稿 * @param string $media_id * @param string $outType 返回处理函数 - * @return array|string - * @throws Exceptions\LocalCacheException - * @throws InvalidResponseException + * @return array + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function get($media_id, $outType = null) { @@ -59,15 +58,13 @@ class Draft extends BasicWeChat * 删除草稿 * @param string $media_id * @return array - * @throws Exceptions\LocalCacheException - * @throws InvalidResponseException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function delete($media_id) { - $url = "https://api.weixin.qq.com/cgi-bin/draft/delete?access_token=ACCESS_TOKEN"; $this->registerApi($url, __FUNCTION__, func_get_args()); - return $this->httpPostForJson($url, ['media_id' => $media_id]); } @@ -75,8 +72,8 @@ class Draft extends BasicWeChat * 新增图文素材 * @param array $data 文件名称 * @return array - * @throws Exceptions\LocalCacheException - * @throws InvalidResponseException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function addNews($data) { @@ -91,8 +88,8 @@ class Draft extends BasicWeChat * @param int $index 要更新的文章在图文消息中的位置(多图文消息时,此字段才有意义),第一篇为0 * @param $articles * @return array - * @throws Exceptions\LocalCacheException - * @throws InvalidResponseException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function update($media_id, $index, $articles) { @@ -102,12 +99,11 @@ class Draft extends BasicWeChat return $this->httpPostForJson($url, $data); } - /** * 获取草稿总数 * @return array - * @throws Exceptions\LocalCacheException - * @throws InvalidResponseException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function getCount() { @@ -122,8 +118,8 @@ class Draft extends BasicWeChat * @param int $count 返回素材的数量,取值在1到20之间 * @param int $no_content 1 表示不返回 content 字段,0 表示正常返回,默认为 0 * @return array - * @throws Exceptions\LocalCacheException - * @throws InvalidResponseException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function batchGet($offset = 0, $count = 20, $no_content = 0) { diff --git a/WeChat/Exceptions/InvalidArgumentException.php b/WeChat/Exceptions/InvalidArgumentException.php index 65d5a46..1b75fc4 100644 --- a/WeChat/Exceptions/InvalidArgumentException.php +++ b/WeChat/Exceptions/InvalidArgumentException.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/WeChat/Exceptions/InvalidDecryptException.php b/WeChat/Exceptions/InvalidDecryptException.php index bc64b60..08f107a 100644 --- a/WeChat/Exceptions/InvalidDecryptException.php +++ b/WeChat/Exceptions/InvalidDecryptException.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/WeChat/Exceptions/InvalidInstanceException.php b/WeChat/Exceptions/InvalidInstanceException.php index e3f7123..ed83582 100644 --- a/WeChat/Exceptions/InvalidInstanceException.php +++ b/WeChat/Exceptions/InvalidInstanceException.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/WeChat/Exceptions/InvalidResponseException.php b/WeChat/Exceptions/InvalidResponseException.php index 3a02bf2..0b41287 100644 --- a/WeChat/Exceptions/InvalidResponseException.php +++ b/WeChat/Exceptions/InvalidResponseException.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/WeChat/Exceptions/LocalCacheException.php b/WeChat/Exceptions/LocalCacheException.php index a22f63d..290ead9 100644 --- a/WeChat/Exceptions/LocalCacheException.php +++ b/WeChat/Exceptions/LocalCacheException.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/WeChat/Freepublish.php b/WeChat/Freepublish.php index 91b8c02..42df270 100644 --- a/WeChat/Freepublish.php +++ b/WeChat/Freepublish.php @@ -3,7 +3,6 @@ namespace WeChat; use WeChat\Contracts\BasicWeChat; -use WeChat\Exceptions\InvalidResponseException; /** * 发布能力 @@ -18,8 +17,8 @@ class Freepublish extends BasicWeChat * 开发者需要先将图文素材以草稿的形式保存(见“草稿箱/新建草稿”,如需从已保存的草稿中选择,见“草稿箱/获取草稿列表”) * @param mixed $media_id 选择要发布的草稿的media_id * @return array - * @throws Exceptions\LocalCacheException - * @throws InvalidResponseException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function submit($media_id) { @@ -48,12 +47,11 @@ class Freepublish extends BasicWeChat * @param mixed $article_id 成功发布时返回的 article_id * @param int $index 要删除的文章在图文消息中的位置,第一篇编号为1,该字段不填或填0会删除全部文章 * @return array - * @throws Exceptions\LocalCacheException - * @throws InvalidResponseException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function delete($article_id, $index = 0) { - $url = "https://api.weixin.qq.com/cgi-bin/freepublish/delete?access_token=ACCESS_TOKEN"; $this->registerApi($url, __FUNCTION__, func_get_args()); return $this->httpPostForJson($url, ['article_id' => $article_id, 'index' => $index]); @@ -63,8 +61,8 @@ class Freepublish extends BasicWeChat * 通过 article_id 获取已发布文章 * @param mixed $article_id 要获取的草稿的article_id * @return array - * @throws Exceptions\LocalCacheException - * @throws InvalidResponseException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function getArticle($article_id) { @@ -79,8 +77,8 @@ class Freepublish extends BasicWeChat * @param int $count 返回素材的数量,取值在1到20之间 * @param int $no_content 1 表示不返回 content 字段,0 表示正常返回,默认为 0 * @return array - * @throws Exceptions\LocalCacheException - * @throws InvalidResponseException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function batchGet($offset = 0, $count = 20, $no_content = 0) { @@ -88,5 +86,4 @@ class Freepublish extends BasicWeChat $this->registerApi($url, __FUNCTION__, func_get_args()); return $this->httpPostForJson($url, ['no_content' => $no_content, 'offset' => $offset, 'count' => $count]); } - -} +} \ No newline at end of file diff --git a/WeChat/Limit.php b/WeChat/Limit.php index 958b306..19d182c 100644 --- a/WeChat/Limit.php +++ b/WeChat/Limit.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- @@ -27,8 +27,8 @@ class Limit extends BasicWeChat /** * 公众号调用或第三方平台帮公众号调用对公众号的所有api调用(包括第三方帮其调用)次数进行清零 * @return array - * @throws Exceptions\InvalidResponseException - * @throws Exceptions\LocalCacheException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function clearQuota() { @@ -41,8 +41,8 @@ class Limit extends BasicWeChat * @param string $action 执行的检测动作 * @param string $operator 指定平台从某个运营商进行检测 * @return array - * @throws Exceptions\InvalidResponseException - * @throws Exceptions\LocalCacheException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function ping($action = 'all', $operator = 'DEFAULT') { @@ -53,8 +53,8 @@ class Limit extends BasicWeChat /** * 获取微信服务器IP地址 * @return array - * @throws Exceptions\InvalidResponseException - * @throws Exceptions\LocalCacheException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function getCallbackIp() { @@ -62,5 +62,4 @@ class Limit extends BasicWeChat $this->registerApi($url, __FUNCTION__, func_get_args()); return $this->httpGetForJson($url); } - } \ No newline at end of file diff --git a/WeChat/Media.php b/WeChat/Media.php index 6cf751f..7310a0b 100644 --- a/WeChat/Media.php +++ b/WeChat/Media.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- @@ -30,8 +30,8 @@ class Media extends BasicWeChat * @param string $filename 文件名称 * @param string $type 媒体文件类型(image|voice|video|thumb) * @return array - * @throws Exceptions\LocalCacheException - * @throws InvalidResponseException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function add($filename, $type = 'image') { @@ -48,8 +48,8 @@ class Media extends BasicWeChat * @param string $media_id * @param string $outType 返回处理函数 * @return array|string - * @throws Exceptions\LocalCacheException - * @throws InvalidResponseException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function get($media_id, $outType = null) { @@ -70,8 +70,8 @@ class Media extends BasicWeChat * 新增图文素材 * @param array $data 文件名称 * @return array - * @throws Exceptions\LocalCacheException - * @throws InvalidResponseException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function addNews($data) { @@ -86,8 +86,8 @@ class Media extends BasicWeChat * @param int $index 要更新的文章在图文消息中的位置(多图文消息时,此字段才有意义),第一篇为0 * @param array $news 文章内容 * @return array - * @throws Exceptions\LocalCacheException - * @throws InvalidResponseException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function updateNews($media_id, $index, $news) { @@ -101,8 +101,8 @@ class Media extends BasicWeChat * 上传图文消息内的图片获取URL * @param mixed $filename * @return array - * @throws Exceptions\LocalCacheException - * @throws InvalidResponseException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function uploadImg($filename) { @@ -117,8 +117,8 @@ class Media extends BasicWeChat * @param string $type 媒体文件类型(image|voice|video|thumb) * @param array $description 包含素材的描述信息 * @return array - * @throws Exceptions\LocalCacheException - * @throws InvalidResponseException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function addMaterial($filename, $type = 'image', $description = []) { @@ -135,8 +135,8 @@ class Media extends BasicWeChat * @param string $media_id * @param null|string $outType 输出类型 * @return array|string - * @throws Exceptions\LocalCacheException - * @throws InvalidResponseException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function getMaterial($media_id, $outType = null) { @@ -157,8 +157,8 @@ class Media extends BasicWeChat * 删除永久素材 * @param string $media_id * @return array - * @throws Exceptions\LocalCacheException - * @throws InvalidResponseException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function delMaterial($media_id) { @@ -170,8 +170,8 @@ class Media extends BasicWeChat /** * 获取素材总数 * @return array - * @throws Exceptions\LocalCacheException - * @throws InvalidResponseException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function getMaterialCount() { @@ -186,8 +186,8 @@ class Media extends BasicWeChat * @param int $offset * @param int $count * @return array - * @throws Exceptions\LocalCacheException - * @throws InvalidResponseException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function batchGetMaterial($type = 'image', $offset = 0, $count = 20) { diff --git a/WeChat/Menu.php b/WeChat/Menu.php index 128eb3d..61a43bd 100644 --- a/WeChat/Menu.php +++ b/WeChat/Menu.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- @@ -27,8 +27,8 @@ class Menu extends BasicWeChat /** * 自定义菜单查询接口 * @return array - * @throws Exceptions\InvalidResponseException - * @throws Exceptions\LocalCacheException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function get() { @@ -40,8 +40,8 @@ class Menu extends BasicWeChat /** * 自定义菜单删除接口 * @return array - * @throws Exceptions\InvalidResponseException - * @throws Exceptions\LocalCacheException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function delete() { @@ -54,8 +54,8 @@ class Menu extends BasicWeChat * 自定义菜单创建 * @param array $data * @return array - * @throws Exceptions\InvalidResponseException - * @throws Exceptions\LocalCacheException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function create(array $data) { @@ -68,8 +68,8 @@ class Menu extends BasicWeChat * 创建个性化菜单 * @param array $data * @return array - * @throws Exceptions\InvalidResponseException - * @throws Exceptions\LocalCacheException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function addConditional(array $data) { @@ -82,8 +82,8 @@ class Menu extends BasicWeChat * 删除个性化菜单 * @param string $menuid * @return array - * @throws Exceptions\InvalidResponseException - * @throws Exceptions\LocalCacheException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function delConditional($menuid) { @@ -96,8 +96,8 @@ class Menu extends BasicWeChat * 测试个性化菜单匹配结果 * @param string $openid * @return array - * @throws Exceptions\InvalidResponseException - * @throws Exceptions\LocalCacheException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function tryConditional($openid) { @@ -105,5 +105,4 @@ class Menu extends BasicWeChat $this->registerApi($url, __FUNCTION__, func_get_args()); return $this->httpPostForJson($url, ['user_id' => $openid]); } - } \ No newline at end of file diff --git a/WeChat/Oauth.php b/WeChat/Oauth.php index 77548ba..7f08576 100644 --- a/WeChat/Oauth.php +++ b/WeChat/Oauth.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- @@ -41,9 +41,9 @@ class Oauth extends BasicWeChat /** * 通过 code 获取 AccessToken 和 openid * @param string $code 授权Code值,不传则取GET参数 - * @return bool|array - * @throws Exceptions\InvalidResponseException - * @throws Exceptions\LocalCacheException + * @return array + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function getOauthAccessToken($code = '') { @@ -57,9 +57,9 @@ class Oauth extends BasicWeChat /** * 刷新AccessToken并续期 * @param string $refresh_token - * @return bool|array - * @throws Exceptions\InvalidResponseException - * @throws Exceptions\LocalCacheException + * @return array + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function getOauthRefreshToken($refresh_token) { @@ -73,8 +73,8 @@ class Oauth extends BasicWeChat * @param string $access_token 网页授权接口调用凭证,注意:此access_token与基础支持的access_token不同 * @param string $openid 用户的唯一标识 * @return array - * @throws Exceptions\InvalidResponseException - * @throws Exceptions\LocalCacheException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function checkOauthAccessToken($access_token, $openid) { @@ -88,13 +88,12 @@ class Oauth extends BasicWeChat * @param string $openid 用户的唯一标识 * @param string $lang 返回国家地区语言版本,zh_CN 简体,zh_TW 繁体,en 英语 * @return array - * @throws Exceptions\InvalidResponseException - * @throws Exceptions\LocalCacheException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function getUserInfo($access_token, $openid, $lang = 'zh_CN') { $url = "https://api.weixin.qq.com/sns/userinfo?access_token={$access_token}&openid={$openid}&lang={$lang}"; return $this->httpGetForJson($url); } - } diff --git a/WeChat/Pay.php b/WeChat/Pay.php index d76f0a5..4ecf290 100644 --- a/WeChat/Pay.php +++ b/WeChat/Pay.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- @@ -15,7 +15,6 @@ namespace WeChat; use WeChat\Contracts\BasicWePay; -use WeChat\Exceptions\InvalidResponseException; use WePay\Bill; use WePay\Order; use WePay\Refund; @@ -34,8 +33,8 @@ class Pay extends BasicWePay * 统一下单 * @param array $options * @return array - * @throws Exceptions\LocalCacheException - * @throws InvalidResponseException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function createOrder(array $options) { @@ -46,8 +45,8 @@ class Pay extends BasicWePay * 刷卡支付 * @param array $options * @return array - * @throws Exceptions\LocalCacheException - * @throws InvalidResponseException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function createMicropay($options) { @@ -88,8 +87,8 @@ class Pay extends BasicWePay * 查询订单 * @param array $options * @return array - * @throws Exceptions\LocalCacheException - * @throws InvalidResponseException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function queryOrder(array $options) { @@ -100,8 +99,8 @@ class Pay extends BasicWePay * 关闭订单 * @param string $out_trade_no 商户订单号 * @return array - * @throws Exceptions\LocalCacheException - * @throws InvalidResponseException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function closeOrder($out_trade_no) { @@ -112,8 +111,8 @@ class Pay extends BasicWePay * 申请退款 * @param array $options * @return array - * @throws Exceptions\LocalCacheException - * @throws InvalidResponseException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function createRefund(array $options) { @@ -124,8 +123,8 @@ class Pay extends BasicWePay * 查询退款 * @param array $options * @return array - * @throws Exceptions\LocalCacheException - * @throws InvalidResponseException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function queryRefund(array $options) { @@ -136,8 +135,8 @@ class Pay extends BasicWePay * 交易保障 * @param array $options * @return array - * @throws Exceptions\LocalCacheException - * @throws InvalidResponseException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function report(array $options) { @@ -148,8 +147,8 @@ class Pay extends BasicWePay * 授权码查询openid * @param string $authCode 扫码支付授权码,设备读取用户微信中的条码或者二维码信息 * @return array - * @throws Exceptions\LocalCacheException - * @throws InvalidResponseException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function queryAuthCode($authCode) { @@ -161,8 +160,8 @@ class Pay extends BasicWePay * @param array $options 静音参数 * @param null|string $outType 输出类型 * @return bool|string - * @throws Exceptions\LocalCacheException - * @throws InvalidResponseException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function billDownload(array $options, $outType = null) { @@ -173,8 +172,8 @@ class Pay extends BasicWePay * 拉取订单评价数据 * @param array $options * @return array - * @throws Exceptions\LocalCacheException - * @throws InvalidResponseException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function billCommtent(array $options) { @@ -185,8 +184,8 @@ class Pay extends BasicWePay * 企业付款到零钱 * @param array $options * @return array - * @throws Exceptions\LocalCacheException - * @throws InvalidResponseException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function createTransfers(array $options) { @@ -197,8 +196,8 @@ class Pay extends BasicWePay * 查询企业付款到零钱 * @param string $partner_trade_no 商户调用企业付款API时使用的商户订单号 * @return array - * @throws Exceptions\LocalCacheException - * @throws InvalidResponseException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function queryTransfers($partner_trade_no) { @@ -209,9 +208,9 @@ class Pay extends BasicWePay * 企业付款到银行卡 * @param array $options * @return array - * @throws Exceptions\LocalCacheException - * @throws Exceptions\InvalidDecryptException - * @throws Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\InvalidDecryptException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function createTransfersBank(array $options) { @@ -222,8 +221,8 @@ class Pay extends BasicWePay * 商户企业付款到银行卡操作进行结果查询 * @param string $partner_trade_no 商户订单号,需保持唯一 * @return array - * @throws Exceptions\LocalCacheException - * @throws InvalidResponseException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function queryTransFresBank($partner_trade_no) { diff --git a/WeChat/Product.php b/WeChat/Product.php index f1d9575..0ff5a86 100644 --- a/WeChat/Product.php +++ b/WeChat/Product.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- @@ -29,8 +29,8 @@ class Product extends BasicWeChat * @param string $keystr 商品编码内容 * @param string $status 设置发布状态。on为提交审核,off为取消发布 * @return array - * @throws Exceptions\InvalidResponseException - * @throws Exceptions\LocalCacheException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function modStatus($keystandard, $keystr, $status = 'on') { @@ -45,8 +45,8 @@ class Product extends BasicWeChat * @param array $openids 测试人员的openid列表 * @param array $usernames 测试人员的微信号列表 * @return array - * @throws Exceptions\InvalidResponseException - * @throws Exceptions\LocalCacheException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function setTestWhiteList(array $openids = [], array $usernames = []) { @@ -63,8 +63,8 @@ class Product extends BasicWeChat * @param integer $qrcode_size 二维码的尺寸(整型),数值代表边长像素数,不填写默认值为100 * @param array $extinfo 由商户自定义传入,建议仅使用大小写字母、数字及-_().*这6个常用字符 * @return array - * @throws Exceptions\InvalidResponseException - * @throws Exceptions\LocalCacheException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function getQrcode($keystandard, $keystr, $qrcode_size, $extinfo = []) { @@ -80,8 +80,8 @@ class Product extends BasicWeChat * @param string $keystandard 商品编码标准 * @param string $keystr 商品编码内容 * @return array - * @throws Exceptions\InvalidResponseException - * @throws Exceptions\LocalCacheException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function getProduct($keystandard, $keystr) { @@ -99,8 +99,8 @@ class Product extends BasicWeChat * @param null|string $status 支持按状态拉取。on为发布状态,off为未发布状态,check为审核中状态,reject为审核未通过状态,all为所有状态 * @param string $keystr 支持按部分编码内容拉取。填写该参数后,可将编码内容中包含所传参数的商品信息拉出。类似关键词搜索 * @return array - * @throws Exceptions\InvalidResponseException - * @throws Exceptions\LocalCacheException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function getProductList($offset, $limit = 10, $status = null, $keystr = '') { @@ -112,13 +112,12 @@ class Product extends BasicWeChat return $this->httpPostForJson($url, $data); } - /** * 更新商品信息 * @param array $data * @return array - * @throws Exceptions\InvalidResponseException - * @throws Exceptions\LocalCacheException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function updateProduct(array $data) { @@ -132,8 +131,8 @@ class Product extends BasicWeChat * @param string $keystandard 商品编码标准 * @param string $keystr 商品编码内容 * @return array - * @throws Exceptions\InvalidResponseException - * @throws Exceptions\LocalCacheException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function clearProduct($keystandard, $keystr) { @@ -142,13 +141,12 @@ class Product extends BasicWeChat return $this->httpPostForJson($url, ['keystandard' => $keystandard, 'keystr' => $keystr]); } - /** * 检查wxticket参数 * @param string $ticket * @return array - * @throws Exceptions\InvalidResponseException - * @throws Exceptions\LocalCacheException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function scanTicketCheck($ticket) { @@ -163,8 +161,8 @@ class Product extends BasicWeChat * @param string $keystr 商品编码内容 * @param string $extinfo 调用“获取商品二维码接口”时传入的extinfo,为标识参数 * @return array - * @throws Exceptions\InvalidResponseException - * @throws Exceptions\LocalCacheException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function clearScanticket($keystandard, $keystr, $extinfo) { diff --git a/WeChat/Qrcode.php b/WeChat/Qrcode.php index a7be267..414041b 100644 --- a/WeChat/Qrcode.php +++ b/WeChat/Qrcode.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- @@ -29,8 +29,8 @@ class Qrcode extends BasicWeChat * @param string|integer $scene 场景 * @param int $expire_seconds 有效时间 * @return array - * @throws Exceptions\InvalidResponseException - * @throws Exceptions\LocalCacheException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function create($scene, $expire_seconds = 0) { @@ -57,15 +57,15 @@ class Qrcode extends BasicWeChat */ public function url($ticket) { - return "https://mp.weixin.qq.com/cgi-bin/showqrcode?ticket=".urlencode($ticket); + return "https://mp.weixin.qq.com/cgi-bin/showqrcode?ticket=" . urlencode($ticket); } /** * 长链接转短链接接口 * @param string $longUrl 需要转换的长链接 * @return array - * @throws Exceptions\InvalidResponseException - * @throws Exceptions\LocalCacheException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function shortUrl($longUrl) { @@ -73,5 +73,4 @@ class Qrcode extends BasicWeChat $this->registerApi($url, __FUNCTION__, func_get_args()); return $this->httpPostForJson($url, ['action' => 'long2short', 'long_url' => $longUrl]); } - } \ No newline at end of file diff --git a/WeChat/Receive.php b/WeChat/Receive.php index 6ba984c..9c4890a 100644 --- a/WeChat/Receive.php +++ b/WeChat/Receive.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/WeChat/Scan.php b/WeChat/Scan.php index 1f723c7..0fa9062 100644 --- a/WeChat/Scan.php +++ b/WeChat/Scan.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- @@ -26,8 +26,8 @@ class Scan extends BasicWeChat /** * 获取商户信息 * @return array - * @throws Exceptions\InvalidResponseException - * @throws Exceptions\LocalCacheException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function getMerchantInfo() { @@ -40,8 +40,8 @@ class Scan extends BasicWeChat * 创建商品 * @param array $data * @return array - * @throws Exceptions\InvalidResponseException - * @throws Exceptions\LocalCacheException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function addProduct(array $data) { @@ -56,8 +56,8 @@ class Scan extends BasicWeChat * @param string $keystr 商品编码内容 * @param string $status 设置发布状态。on为提交审核,off为取消发布 * @return array - * @throws Exceptions\InvalidResponseException - * @throws Exceptions\LocalCacheException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function modProduct($keystandard, $keystr, $status = 'on') { @@ -72,8 +72,8 @@ class Scan extends BasicWeChat * @param array $openids 测试人员的openid列表 * @param array $usernames 测试人员的微信号列表 * @return array - * @throws Exceptions\InvalidResponseException - * @throws Exceptions\LocalCacheException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function setTestWhiteList($openids = [], $usernames = []) { @@ -90,8 +90,8 @@ class Scan extends BasicWeChat * @param null|string $extinfo * @param integer $qrcode_size * @return array - * @throws Exceptions\InvalidResponseException - * @throws Exceptions\LocalCacheException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function getQrc($keystandard, $keystr, $extinfo = null, $qrcode_size = 64) { @@ -107,8 +107,8 @@ class Scan extends BasicWeChat * @param string $keystandard 商品编码标准 * @param string $keystr 商品编码内容 * @return array - * @throws Exceptions\InvalidResponseException - * @throws Exceptions\LocalCacheException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function getProductInfo($keystandard, $keystr) { @@ -124,8 +124,8 @@ class Scan extends BasicWeChat * @param string $status 支持按状态拉取。on为发布状态,off为未发布状态,check为审核中状态,reject为审核未通过状态,all为所有状态。 * @param string $keystr 支持按部分编码内容拉取。填写该参数后,可将编码内容中包含所传参数的商品信息拉出。类似关键词搜索。 * @return array - * @throws Exceptions\InvalidResponseException - * @throws Exceptions\LocalCacheException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function getProductList($offset = 1, $limit = 10, $status = null, $keystr = null) { @@ -141,8 +141,8 @@ class Scan extends BasicWeChat * 更新商品信息 * @param array $data * @return array - * @throws Exceptions\InvalidResponseException - * @throws Exceptions\LocalCacheException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function updateProduct(array $data) { @@ -156,8 +156,8 @@ class Scan extends BasicWeChat * @param string $keystandard 商品编码标准 * @param string $keystr 商品编码内容 * @return array - * @throws Exceptions\InvalidResponseException - * @throws Exceptions\LocalCacheException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function clearProduct($keystandard, $keystr) { @@ -170,8 +170,8 @@ class Scan extends BasicWeChat * 检查wxticket参数 * @param string $ticket * @return array - * @throws Exceptions\InvalidResponseException - * @throws Exceptions\LocalCacheException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function checkTicket($ticket) { @@ -186,8 +186,8 @@ class Scan extends BasicWeChat * @param string $keystr 商品编码内容 * @param string $extinfo 调用“获取商品二维码接口”时传入的extinfo,为标识参数 * @return array - * @throws Exceptions\InvalidResponseException - * @throws Exceptions\LocalCacheException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function clearScanTicket($keystandard, $keystr, $extinfo) { diff --git a/WeChat/Script.php b/WeChat/Script.php index bab5f5f..20813e8 100644 --- a/WeChat/Script.php +++ b/WeChat/Script.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- @@ -44,8 +44,8 @@ class Script extends BasicWeChat * @param string $type TICKET类型(wx_card|jsapi) * @param string $appid 强制指定有效APPID * @return string - * @throws Exceptions\InvalidResponseException - * @throws Exceptions\LocalCacheException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function getTicket($type = 'jsapi', $appid = null) { @@ -72,8 +72,8 @@ class Script extends BasicWeChat * @param string $ticket 强制指定ticket * @param array $jsApiList 需初始化的 jsApiList * @return array - * @throws Exceptions\LocalCacheException - * @throws InvalidResponseException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function getJsSign($url, $appid = null, $ticket = null, $jsApiList = null) { @@ -109,7 +109,7 @@ class Script extends BasicWeChat { ksort($data); if (!function_exists($method)) return false; - foreach ($data as $k => $v) array_push($params, "{$k}={$v}"); + foreach ($data as $k => $v) $params[] = "{$k}={$v}"; return $method(join('&', $params)); } } \ No newline at end of file diff --git a/WeChat/Shake.php b/WeChat/Shake.php index a6bf7e1..aace8d8 100644 --- a/WeChat/Shake.php +++ b/WeChat/Shake.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- @@ -15,8 +15,8 @@ namespace WeChat; -use WeChat\Contracts\Tools; use WeChat\Contracts\BasicWeChat; +use WeChat\Contracts\Tools; /** * 揺一揺周边 @@ -29,8 +29,8 @@ class Shake extends BasicWeChat * 申请开通功能 * @param array $data * @return array - * @throws Exceptions\InvalidResponseException - * @throws Exceptions\LocalCacheException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function register(array $data) { @@ -42,8 +42,8 @@ class Shake extends BasicWeChat /** * 查询审核状态 * @return array - * @throws Exceptions\InvalidResponseException - * @throws Exceptions\LocalCacheException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function auditStatus() { @@ -59,8 +59,8 @@ class Shake extends BasicWeChat * @param null|string $comment 备注,不超过15个汉字或30个英文字母 * @param null|string $poi_id 设备关联的门店ID,关联门店后,在门店1KM的范围内有优先摇出信息的机会。 * @return array - * @throws Exceptions\InvalidResponseException - * @throws Exceptions\LocalCacheException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function createApply($quantity, $apply_reason, $comment = null, $poi_id = null) { @@ -76,8 +76,8 @@ class Shake extends BasicWeChat * 查询设备ID申请审核状态 * @param integer $applyId 批次ID,申请设备ID时所返回的批次ID * @return array - * @throws Exceptions\InvalidResponseException - * @throws Exceptions\LocalCacheException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function getApplyStatus($applyId) { @@ -90,8 +90,8 @@ class Shake extends BasicWeChat * 编辑设备信息 * @param array $data * @return array - * @throws Exceptions\InvalidResponseException - * @throws Exceptions\LocalCacheException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function updateApply(array $data) { @@ -104,8 +104,8 @@ class Shake extends BasicWeChat * 配置设备与门店的关联关系 * @param array $data * @return array - * @throws Exceptions\InvalidResponseException - * @throws Exceptions\LocalCacheException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function bindLocation(array $data) { @@ -118,8 +118,8 @@ class Shake extends BasicWeChat * 查询设备列表 * @param array $data * @return array - * @throws Exceptions\InvalidResponseException - * @throws Exceptions\LocalCacheException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function search(array $data) { @@ -132,8 +132,8 @@ class Shake extends BasicWeChat * 页面管理 * @param array $data * @return array - * @throws Exceptions\InvalidResponseException - * @throws Exceptions\LocalCacheException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function createPage(array $data) { @@ -146,8 +146,8 @@ class Shake extends BasicWeChat * 编辑页面信息 * @param array $data * @return array - * @throws Exceptions\InvalidResponseException - * @throws Exceptions\LocalCacheException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function updatePage(array $data) { @@ -160,8 +160,8 @@ class Shake extends BasicWeChat * 查询页面列表 * @param array $data * @return array - * @throws Exceptions\InvalidResponseException - * @throws Exceptions\LocalCacheException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function searchPage(array $data) { @@ -172,10 +172,10 @@ class Shake extends BasicWeChat /** * 删除页面 - * @param integer page_id 指定页面的id + * @param integer $page_id 指定页面的id * @return array - * @throws Exceptions\InvalidResponseException - * @throws Exceptions\LocalCacheException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function deletePage($page_id) { @@ -189,8 +189,8 @@ class Shake extends BasicWeChat * @param string $filename 图片名字 * @param string $type Icon:摇一摇页面展示的icon图;License:申请开通摇一摇周边功能时需上传的资质文件;若不传type,则默认type=icon * @return array - * @throws Exceptions\InvalidResponseException - * @throws Exceptions\LocalCacheException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function upload($filename, $type = 'icon') { @@ -203,8 +203,8 @@ class Shake extends BasicWeChat * 配置设备与页面的关联关系 * @param array $data * @return array - * @throws Exceptions\InvalidResponseException - * @throws Exceptions\LocalCacheException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function bindPage(array $data) { @@ -217,8 +217,8 @@ class Shake extends BasicWeChat * 查询设备与页面的关联关系 * @param array $data * @return array - * @throws Exceptions\InvalidResponseException - * @throws Exceptions\LocalCacheException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function queryPage(array $data) { @@ -231,8 +231,8 @@ class Shake extends BasicWeChat * 以设备为维度的数据统计接口 * @param array $data * @return array - * @throws Exceptions\InvalidResponseException - * @throws Exceptions\LocalCacheException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function totalDevice(array $data) { @@ -246,8 +246,8 @@ class Shake extends BasicWeChat * @param integer $date 指定查询日期时间戳,单位为秒 * @param integer $page_index 指定查询的结果页序号;返回结果按摇周边人数降序排序,每50条记录为一页 * @return array - * @throws Exceptions\InvalidResponseException - * @throws Exceptions\LocalCacheException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function totalDeviceList($date, $page_index = 1) { @@ -262,8 +262,8 @@ class Shake extends BasicWeChat * @param integer $begin_date 起始日期时间戳,最长时间跨度为30天,单位为秒 * @param integer $end_date 结束日期时间戳,最长时间跨度为30天,单位为秒 * @return array - * @throws Exceptions\InvalidResponseException - * @throws Exceptions\LocalCacheException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function totalPage($page_id, $begin_date, $end_date) { @@ -277,8 +277,8 @@ class Shake extends BasicWeChat * @param integer $group_id 分组唯一标识,全局唯一 * @param string $group_name 分组名称,不超过100汉字或200个英文字母 * @return array - * @throws Exceptions\InvalidResponseException - * @throws Exceptions\LocalCacheException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function updateGroup($group_id, $group_name) { @@ -291,8 +291,8 @@ class Shake extends BasicWeChat * 删除分组 * @param integer $group_id 分组唯一标识,全局唯一 * @return array - * @throws Exceptions\InvalidResponseException - * @throws Exceptions\LocalCacheException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function deleteGroup($group_id) { @@ -306,8 +306,8 @@ class Shake extends BasicWeChat * @param integer $begin 分组列表的起始索引值 * @param integer $count 待查询的分组数量,不能超过1000个 * @return array - * @throws Exceptions\InvalidResponseException - * @throws Exceptions\LocalCacheException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function getGroupList($begin = 0, $count = 10) { @@ -323,8 +323,8 @@ class Shake extends BasicWeChat * @param integer $begin 分组里设备的起始索引值 * @param integer $count 待查询的分组里设备的数量,不能超过1000个 * @return array - * @throws Exceptions\InvalidResponseException - * @throws Exceptions\LocalCacheException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function getGroupDetail($group_id, $begin = 0, $count = 100) { @@ -337,8 +337,8 @@ class Shake extends BasicWeChat * 添加设备到分组 * @param array $data * @return array - * @throws Exceptions\InvalidResponseException - * @throws Exceptions\LocalCacheException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function addDeviceGroup(array $data) { @@ -351,8 +351,8 @@ class Shake extends BasicWeChat * 从分组中移除设备 * @param array $data * @return array - * @throws Exceptions\InvalidResponseException - * @throws Exceptions\LocalCacheException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function deleteDeviceGroup(array $data) { diff --git a/WeChat/Tags.php b/WeChat/Tags.php index 74aee40..3791e00 100644 --- a/WeChat/Tags.php +++ b/WeChat/Tags.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/WeChat/Template.php b/WeChat/Template.php index f3567b0..cf36417 100644 --- a/WeChat/Template.php +++ b/WeChat/Template.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/WeChat/User.php b/WeChat/User.php index e11f7b8..cfb6ac5 100644 --- a/WeChat/User.php +++ b/WeChat/User.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/WeChat/Wifi.php b/WeChat/Wifi.php index 60ca5ca..09aa701 100644 --- a/WeChat/Wifi.php +++ b/WeChat/Wifi.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/WeMini/Crypt.php b/WeMini/Crypt.php index d3cb995..3aaf229 100644 --- a/WeMini/Crypt.php +++ b/WeMini/Crypt.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/WeMini/Delivery.php b/WeMini/Delivery.php index 561ddc4..86d8bda 100644 --- a/WeMini/Delivery.php +++ b/WeMini/Delivery.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- @@ -30,8 +30,8 @@ class Delivery extends BasicWeChat * 异常件退回商家商家确认收货接口 * @param array $data * @return array - * @throws InvalidResponseException - * @throws LocalCacheException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function abnormalConfirm($data) { @@ -43,8 +43,8 @@ class Delivery extends BasicWeChat * 下配送单接口 * @param array $data * @return array - * @throws InvalidResponseException - * @throws LocalCacheException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function addOrder($data) { @@ -153,7 +153,6 @@ class Delivery extends BasicWeChat public function preCancelOrder($data) { $url = 'https://api.weixin.qq.com/cgi-bin/express/local/business/order/precancel?access_token=ACCESS_TOKEN'; - $this->registerApi($url, __FUNCTION__, func_get_args()); return $this->callPostApi($url, $data, true); } @@ -167,7 +166,6 @@ class Delivery extends BasicWeChat public function reOrder($data) { $url = 'https://api.weixin.qq.com/cgi-bin/express/local/business/order/readd?access_token=ACCESS_TOKEN'; - $this->registerApi($url, __FUNCTION__, func_get_args()); return $this->callPostApi($url, $data, true); } diff --git a/WeMini/Guide.php b/WeMini/Guide.php index 7f40b5b..483eaaa 100644 --- a/WeMini/Guide.php +++ b/WeMini/Guide.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/WeMini/Image.php b/WeMini/Image.php index 04035e6..07e0431 100644 --- a/WeMini/Image.php +++ b/WeMini/Image.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/WeMini/Live.php b/WeMini/Live.php index 78d653b..b6441ec 100644 --- a/WeMini/Live.php +++ b/WeMini/Live.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- @@ -153,7 +153,6 @@ class Live extends BasicWeChat public function stateGoods($data) { $url = "https://api.weixin.qq.com/wxa/business/getgoodswarehouse?access_token=ACCESS_TOKEN"; - $this->registerApi($url, __FUNCTION__, func_get_args()); return $this->callPostApi($url, $data, true); } @@ -167,7 +166,6 @@ class Live extends BasicWeChat public function getGoods($data) { $url = "https://api.weixin.qq.com/wxaapi/broadcast/goods/getapproved?access_token=ACCESS_TOKEN"; - $this->registerApi($url, __FUNCTION__, func_get_args()); return $this->callPostApi($url, $data, true); } diff --git a/WeMini/Logistics.php b/WeMini/Logistics.php index c7aecb0..45cc76f 100644 --- a/WeMini/Logistics.php +++ b/WeMini/Logistics.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/WeMini/Message.php b/WeMini/Message.php index d666b5c..8a4c3a0 100644 --- a/WeMini/Message.php +++ b/WeMini/Message.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/WeMini/Newtmpl.php b/WeMini/Newtmpl.php index 82690cd..d961c4a 100644 --- a/WeMini/Newtmpl.php +++ b/WeMini/Newtmpl.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/WeMini/Ocr.php b/WeMini/Ocr.php index 1950900..d852c4a 100644 --- a/WeMini/Ocr.php +++ b/WeMini/Ocr.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/WeMini/Operation.php b/WeMini/Operation.php index cfbf0f3..f9561d3 100644 --- a/WeMini/Operation.php +++ b/WeMini/Operation.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/WeMini/Plugs.php b/WeMini/Plugs.php index c2a4bcd..06b9776 100644 --- a/WeMini/Plugs.php +++ b/WeMini/Plugs.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/WeMini/Poi.php b/WeMini/Poi.php index c9109f3..5d9c579 100644 --- a/WeMini/Poi.php +++ b/WeMini/Poi.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/WeMini/Qrcode.php b/WeMini/Qrcode.php index 8e95081..746881a 100644 --- a/WeMini/Qrcode.php +++ b/WeMini/Qrcode.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/WeMini/Search.php b/WeMini/Search.php index 7f22513..f78ba79 100644 --- a/WeMini/Search.php +++ b/WeMini/Search.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/WeMini/Security.php b/WeMini/Security.php index 1dedb76..af22a35 100644 --- a/WeMini/Security.php +++ b/WeMini/Security.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/WeMini/Soter.php b/WeMini/Soter.php index b8f4c17..255c0c5 100644 --- a/WeMini/Soter.php +++ b/WeMini/Soter.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/WeMini/Template.php b/WeMini/Template.php index 5d0ce18..4454232 100644 --- a/WeMini/Template.php +++ b/WeMini/Template.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/WeMini/Total.php b/WeMini/Total.php index 4929145..6c36bab 100644 --- a/WeMini/Total.php +++ b/WeMini/Total.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/WePay/Bill.php b/WePay/Bill.php index 5e443fa..df79b5a 100644 --- a/WePay/Bill.php +++ b/WePay/Bill.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/WePay/Coupon.php b/WePay/Coupon.php index d4b59ca..1eed743 100644 --- a/WePay/Coupon.php +++ b/WePay/Coupon.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/WePay/Custom.php b/WePay/Custom.php index 6622351..d56c506 100644 --- a/WePay/Custom.php +++ b/WePay/Custom.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/WePay/Order.php b/WePay/Order.php index 980a5aa..8ced8b8 100644 --- a/WePay/Order.php +++ b/WePay/Order.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/WePay/Redpack.php b/WePay/Redpack.php index 35eff2f..7af39f6 100644 --- a/WePay/Redpack.php +++ b/WePay/Redpack.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/WePay/Refund.php b/WePay/Refund.php index 0a3ba9a..bbc5a8e 100644 --- a/WePay/Refund.php +++ b/WePay/Refund.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/WePay/Transfers.php b/WePay/Transfers.php index 74040a7..24c1607 100644 --- a/WePay/Transfers.php +++ b/WePay/Transfers.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/WePay/TransfersBank.php b/WePay/TransfersBank.php index 3c5148d..5eb7f37 100644 --- a/WePay/TransfersBank.php +++ b/WePay/TransfersBank.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/WePayV3/Cert.php b/WePayV3/Cert.php index 5ecd0c4..4a1179d 100644 --- a/WePayV3/Cert.php +++ b/WePayV3/Cert.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/WePayV3/Contracts/BasicWePay.php b/WePayV3/Contracts/BasicWePay.php index 883817d..f88336d 100644 --- a/WePayV3/Contracts/BasicWePay.php +++ b/WePayV3/Contracts/BasicWePay.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/WePayV3/Contracts/DecryptAes.php b/WePayV3/Contracts/DecryptAes.php index 095187c..235b18e 100644 --- a/WePayV3/Contracts/DecryptAes.php +++ b/WePayV3/Contracts/DecryptAes.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/WePayV3/Order.php b/WePayV3/Order.php index 55ad3ab..ec705e2 100644 --- a/WePayV3/Order.php +++ b/WePayV3/Order.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/WePayV3/Refund.php b/WePayV3/Refund.php index c29320a..14de22a 100644 --- a/WePayV3/Refund.php +++ b/WePayV3/Refund.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/_test/alipay-app.php b/_test/alipay-app.php index f48ac9f..e6416db 100644 --- a/_test/alipay-app.php +++ b/_test/alipay-app.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/_test/alipay-bill.php b/_test/alipay-bill.php index 4535462..824716c 100644 --- a/_test/alipay-bill.php +++ b/_test/alipay-bill.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/_test/alipay-notify.php b/_test/alipay-notify.php index 9e45b55..7992e71 100644 --- a/_test/alipay-notify.php +++ b/_test/alipay-notify.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/_test/alipay-pos.php b/_test/alipay-pos.php index 9407226..9b17955 100644 --- a/_test/alipay-pos.php +++ b/_test/alipay-pos.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/_test/alipay-refund.php b/_test/alipay-refund.php index f7ae697..ce29329 100644 --- a/_test/alipay-refund.php +++ b/_test/alipay-refund.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/_test/alipay-scan.php b/_test/alipay-scan.php index c25b692..dd5dead 100644 --- a/_test/alipay-scan.php +++ b/_test/alipay-scan.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/_test/alipay-transfer-account.php b/_test/alipay-transfer-account.php index 35afb88..0b0fee1 100644 --- a/_test/alipay-transfer-account.php +++ b/_test/alipay-transfer-account.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/_test/alipay-transfer-create.php b/_test/alipay-transfer-create.php index d5a2808..8b837ac 100644 --- a/_test/alipay-transfer-create.php +++ b/_test/alipay-transfer-create.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/_test/alipay-transfer-query.php b/_test/alipay-transfer-query.php index 4a8d72a..86019ea 100644 --- a/_test/alipay-transfer-query.php +++ b/_test/alipay-transfer-query.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/_test/alipay-transfer.php b/_test/alipay-transfer.php index a61175d..4306fc2 100644 --- a/_test/alipay-transfer.php +++ b/_test/alipay-transfer.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/_test/alipay-wap.php b/_test/alipay-wap.php index adb6ba1..5989088 100644 --- a/_test/alipay-wap.php +++ b/_test/alipay-wap.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/_test/alipay-web.php b/_test/alipay-web.php index 017a15c..d134d04 100644 --- a/_test/alipay-web.php +++ b/_test/alipay-web.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/_test/alipay.php b/_test/alipay.php index c850152..a1b6dbc 100644 --- a/_test/alipay.php +++ b/_test/alipay.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/_test/config.php b/_test/config.php index 4442b2b..e501da0 100644 --- a/_test/config.php +++ b/_test/config.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/_test/pay-download-bill.php b/_test/pay-download-bill.php index 6e3462a..6dc94d1 100644 --- a/_test/pay-download-bill.php +++ b/_test/pay-download-bill.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/_test/pay-order-close.php b/_test/pay-order-close.php index bf0a4c5..6b6541c 100644 --- a/_test/pay-order-close.php +++ b/_test/pay-order-close.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/_test/pay-order-create.php b/_test/pay-order-create.php index 9dd4abe..bfe50f8 100644 --- a/_test/pay-order-create.php +++ b/_test/pay-order-create.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/_test/pay-order-notify.php b/_test/pay-order-notify.php index cb9127b..fc913e8 100644 --- a/_test/pay-order-notify.php +++ b/_test/pay-order-notify.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/_test/pay-order-query.php b/_test/pay-order-query.php index d1e3851..7ffb929 100644 --- a/_test/pay-order-query.php +++ b/_test/pay-order-query.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/_test/pay-redpack-create.php b/_test/pay-redpack-create.php index 1390df6..9a86b7c 100644 --- a/_test/pay-redpack-create.php +++ b/_test/pay-redpack-create.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/_test/pay-refund-create.php b/_test/pay-refund-create.php index d355364..8ea3936 100644 --- a/_test/pay-refund-create.php +++ b/_test/pay-refund-create.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/_test/pay-refund-query.php b/_test/pay-refund-query.php index e168cc9..8bdcff9 100644 --- a/_test/pay-refund-query.php +++ b/_test/pay-refund-query.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/_test/pay-transfers-create.php b/_test/pay-transfers-create.php index 22dce9e..f433f20 100644 --- a/_test/pay-transfers-create.php +++ b/_test/pay-transfers-create.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/_test/pay-transfersbank-create.php b/_test/pay-transfersbank-create.php index 3ec53fa..f7830da 100644 --- a/_test/pay-transfersbank-create.php +++ b/_test/pay-transfersbank-create.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/_test/wechat-jssdk-sign.php b/_test/wechat-jssdk-sign.php index 984c01a..054734e 100644 --- a/_test/wechat-jssdk-sign.php +++ b/_test/wechat-jssdk-sign.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/_test/wechat-menu-get.php b/_test/wechat-menu-get.php index 44384ef..1cc1910 100644 --- a/_test/wechat-menu-get.php +++ b/_test/wechat-menu-get.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/_test/wechat-qrcode-create.php b/_test/wechat-qrcode-create.php index b777123..bec2dfd 100644 --- a/_test/wechat-qrcode-create.php +++ b/_test/wechat-qrcode-create.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/_test/wechat-user-get.php b/_test/wechat-user-get.php index ff8547a..bf513a5 100644 --- a/_test/wechat-user-get.php +++ b/_test/wechat-user-get.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/_test/work-config.php b/_test/work-config.php index 0b36c98..74e7855 100644 --- a/_test/work-config.php +++ b/_test/work-config.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/_test/work-department.php b/_test/work-department.php index 8c60a7d..b1e4385 100644 --- a/_test/work-department.php +++ b/_test/work-department.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +---------------------------------------------------------------------- diff --git a/include.php b/include.php index 36ed516..61791c4 100644 --- a/include.php +++ b/include.php @@ -5,7 +5,7 @@ // +---------------------------------------------------------------------- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- -// | 官方网站: http://think.ctolog.com +// | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- // | 开源协议 ( https://mit-license.org ) // +----------------------------------------------------------------------