Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
wxh_internal_api
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
杨培培
wxh_internal_api
Commits
375369c3
Commit
375369c3
authored
Jan 09, 2019
by
杨培
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updateExtOption 新增 trigger 参数
parent
2d3e1017
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
Member.php
src/ucenter/Member.php
+3
-2
No files found.
src/ucenter/Member.php
View file @
375369c3
...
@@ -134,12 +134,13 @@ class Member extends Client
...
@@ -134,12 +134,13 @@ class Member extends Client
* 更新用户扩展选项
* 更新用户扩展选项
* @param $uid
* @param $uid
* @param string $option 选项 {share: '分享', comment: '评论', error_code: '故障码', course: '课程', worker_diary: '维修日记', like: '点赞', post: '帖子'}
* @param string $option 选项 {share: '分享', comment: '评论', error_code: '故障码', course: '课程', worker_diary: '维修日记', like: '点赞', post: '帖子'}
* @param bool $trigger 是否触发积分策略和任务机制
* @return mixed
* @return mixed
* @throws \internalApi\base\ApiException
* @throws \internalApi\base\ApiException
* @throws \internalApi\base\ClientException
* @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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment