Commit 3e0286de authored by jianglin's avatar jianglin

bbs\Task\trigger 修改

parent d24869bb
...@@ -27,7 +27,7 @@ class Task extends Client ...@@ -27,7 +27,7 @@ class Task extends Client
return self::call('task.trigger', [ return self::call('task.trigger', [
'scriptname' => $scriptName, 'scriptname' => $scriptName,
'ucid' => $uid, 'ucid' => $uid,
'autoApply' => $autoApply 'autoapply' => $autoApply
]); ]);
} }
......
...@@ -130,4 +130,16 @@ class Member extends Client ...@@ -130,4 +130,16 @@ class Member extends Client
return self::call('member.getExt', compact('uid')); return self::call('member.getExt', compact('uid'));
} }
/**
* 更新用户扩展选项
* @param $uid
* @param string $option 选项 {share: '分享', comment: '评论', error_code: '故障码', course: '课程', worker_diary: '维修日记'}
* @return mixed
* @throws \internalApi\base\ApiException
* @throws \internalApi\base\ClientException
*/
public static function updateExtOption($uid, $option)
{
return self::call('member.updateExtOption', compact('uid', 'option'));
}
} }
\ 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