Commit cb7e5c9a authored by 杨培's avatar 杨培

增加更新动态 ext 信息接口

parent 33ac17d4
...@@ -8,7 +8,9 @@ ...@@ -8,7 +8,9 @@
namespace internalApi\ucenter; namespace internalApi\ucenter;
use internalApi\base\ApiException;
use internalApi\base\Client; use internalApi\base\Client;
use internalApi\base\ClientException;
class Timeline extends Client class Timeline extends Client
{ {
...@@ -39,4 +41,17 @@ class Timeline extends Client ...@@ -39,4 +41,17 @@ class Timeline extends Client
return self::call('Timeline.removeTimeline', compact('key')); return self::call('Timeline.removeTimeline', compact('key'));
} }
/**
* 更新时间线 ext 数据
*
* @param string $key
* @param array $ext
* @return bool
* @throws ApiException|ClientException
*/
public static function updateExt($key, $ext)
{
return self::call('Timeline.updateExt', compact('key', 'ext'));
}
} }
\ No newline at end of file
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