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
d471a54f
Commit
d471a54f
authored
Jan 10, 2019
by
谈海涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
生成订单
parent
652c68ed
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
Course.php
src/xue/Course.php
+14
-0
No files found.
src/xue/Course.php
View file @
d471a54f
...
@@ -67,4 +67,18 @@ class Course extends Client
...
@@ -67,4 +67,18 @@ class Course extends Client
return
self
::
call
(
'course.getCourseDetails'
,
compact
(
'courseIds'
));
return
self
::
call
(
'course.getCourseDetails'
,
compact
(
'courseIds'
));
}
}
/**
* 生成订单记录
*
* @param int $userId 用户id
* @param int $courseId 课程id
* @param string $orderId 订单id
*
* @return bool
*/
public
static
function
addCourseOrder
(
$userId
,
$courseId
,
$orderId
){
return
self
::
call
(
'course.addCourseOrder'
,
compact
(
'userId'
,
'courseId'
,
'orderId'
));
}
}
}
\ 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