Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
Education
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
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄奎
Education
Commits
dca355b8
Commit
dca355b8
authored
Apr 01, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
a5f9388d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
OrderController.cs
Edu.WebApi/Controllers/Course/OrderController.cs
+4
-2
QuestionController.cs
Edu.WebApi/Controllers/Course/QuestionController.cs
+1
-0
No files found.
Edu.WebApi/Controllers/Course/OrderController.cs
View file @
dca355b8
...
@@ -826,7 +826,8 @@ namespace Edu.WebApi.Controllers.Course
...
@@ -826,7 +826,8 @@ namespace Edu.WebApi.Controllers.Course
/// </summary>
/// </summary>
/// <returns></returns>
/// <returns></returns>
[
HttpPost
]
[
HttpPost
]
public
ApiResult
SetOrderGuestInfo
()
{
public
ApiResult
SetOrderGuestInfo
()
{
var
userInfo
=
base
.
UserInfo
;
var
userInfo
=
base
.
UserInfo
;
var
dmodel
=
new
RB_Order_Guest_ViewModel
()
var
dmodel
=
new
RB_Order_Guest_ViewModel
()
{
{
...
@@ -857,7 +858,8 @@ namespace Edu.WebApi.Controllers.Course
...
@@ -857,7 +858,8 @@ namespace Edu.WebApi.Controllers.Course
{
{
return
ApiResult
.
ParamIsNull
(
"请传递订单id"
);
return
ApiResult
.
ParamIsNull
(
"请传递订单id"
);
}
}
if
(
string
.
IsNullOrEmpty
(
dmodel
.
GuestName
))
{
if
(
string
.
IsNullOrEmpty
(
dmodel
.
GuestName
))
{
return
ApiResult
.
ParamIsNull
(
"请输入客人姓名"
);
return
ApiResult
.
ParamIsNull
(
"请输入客人姓名"
);
}
}
if
(
string
.
IsNullOrEmpty
(
dmodel
.
Mobile
))
if
(
string
.
IsNullOrEmpty
(
dmodel
.
Mobile
))
...
...
Edu.WebApi/Controllers/Course/QuestionController.cs
View file @
dca355b8
...
@@ -301,6 +301,7 @@ namespace Edu.WebApi.Controllers.Course
...
@@ -301,6 +301,7 @@ namespace Edu.WebApi.Controllers.Course
Title
=
base
.
ParmJObj
.
GetStringValue
(
"Title"
),
Title
=
base
.
ParmJObj
.
GetStringValue
(
"Title"
),
Category
=(
QuestionCategoryEnum
)
base
.
ParmJObj
.
GetInt
(
"Category"
),
Category
=(
QuestionCategoryEnum
)
base
.
ParmJObj
.
GetInt
(
"Category"
),
LevelType
=
(
LevelTypeEnum
)
base
.
ParmJObj
.
GetInt
(
"LevelType"
),
LevelType
=
(
LevelTypeEnum
)
base
.
ParmJObj
.
GetInt
(
"LevelType"
),
BankId
=
base
.
ParmJObj
.
GetInt
(
"BankId"
)
};
};
if
(
string
.
IsNullOrEmpty
(
extModel
.
Title
))
if
(
string
.
IsNullOrEmpty
(
extModel
.
Title
))
{
{
...
...
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