Commit 36f8f41a authored by 杨培's avatar 杨培

注释

parent 2d631213
......@@ -8,7 +8,14 @@
namespace internalApi\base;
/**
* 客户端基类
*
* 提供客户端调用实现
* 本类分静态方法与动态类的区别,动态类最终内部每个接口集会有一个实例用于请求,而静态则提供全局协调和接口调用方法
*
* @package internalApi\base
*/
class Client
{
......@@ -88,8 +95,8 @@ class Client
*
* @param string $api
* @param array $params
* @return array
* @throws ClientException
* @return mixed
* @throws ClientException API 请求失败时,会抛出此异常
*/
protected static function call($api, $params=[])
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment