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
3e0286de
Commit
3e0286de
authored
Dec 08, 2018
by
jianglin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bbs\Task\trigger 修改
parent
d24869bb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
1 deletion
+13
-1
Task.php
src/bbs/Task.php
+1
-1
Member.php
src/ucenter/Member.php
+12
-0
No files found.
src/bbs/Task.php
View file @
3e0286de
...
@@ -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
,
'auto
A
pply'
=>
$autoApply
'auto
a
pply'
=>
$autoApply
]);
]);
}
}
...
...
src/ucenter/Member.php
View file @
3e0286de
...
@@ -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
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