Commit 375369c3 authored by 杨培's avatar 杨培

updateExtOption 新增 trigger 参数

parent 2d3e1017
......@@ -134,12 +134,13 @@ class Member extends Client
* 更新用户扩展选项
* @param $uid
* @param string $option 选项 {share: '分享', comment: '评论', error_code: '故障码', course: '课程', worker_diary: '维修日记', like: '点赞', post: '帖子'}
* @param bool $trigger 是否触发积分策略和任务机制
* @return mixed
* @throws \internalApi\base\ApiException
* @throws \internalApi\base\ClientException
*/
public static function updateExtOption($uid, $option)
public static function updateExtOption($uid, $option, $trigger=true)
{
return self::call('member.updateExtOption', compact('uid', 'option'));
return self::call('member.updateExtOption', compact('uid', 'option', 'trigger'));
}
}
\ 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