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
79531a4b
Commit
79531a4b
authored
Aug 11, 2017
by
夏彬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加考试和用户中心接口写法
parent
3c99296f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
40 additions
and
0 deletions
+40
-0
ScoreRecord.php
src/ucenter/ScoreRecord.php
+28
-0
Exam.php
src/xue/Exam.php
+12
-0
No files found.
src/ucenter/ScoreRecord.php
0 → 100644
View file @
79531a4b
<?php
/**
* Created by PhpStorm.
* User: xiabin
* Date: 11/08/2017
* Time: 5:11 PM
*/
namespace
internalApi\ucenter
;
use
internalApi\base\Client
;
class
ScoreRecord
extends
Client
{
/**
* 添加在线考核得分
* @param $userId
* @return mixed
*/
public
static
function
addOnlineExamination
(
$userId
){
return
self
::
call
(
'scoreRecord.addOnlineExamination'
,
compact
(
'userId'
));
}
}
\ No newline at end of file
src/xue/Exam.php
View file @
79531a4b
...
@@ -35,4 +35,16 @@ class Exam extends Client
...
@@ -35,4 +35,16 @@ class Exam extends Client
return
self
::
call
(
'exam.getExams'
,
compact
(
'ids'
));
return
self
::
call
(
'exam.getExams'
,
compact
(
'ids'
));
}
}
/**
* 获取考试分数
* @param $userId
* @param array $examIds
* @return mixed
*/
public
static
function
getScoreInfo
(
$userId
,
$examIds
){
return
self
::
call
(
'exam.getScoreInfo'
,
compact
(
'userId'
,
'examIds'
));
}
}
}
\ 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