Commit dca355b8 authored by 黄奎's avatar 黄奎

页面修改

parent a5f9388d
......@@ -826,7 +826,8 @@ namespace Edu.WebApi.Controllers.Course
/// </summary>
/// <returns></returns>
[HttpPost]
public ApiResult SetOrderGuestInfo() {
public ApiResult SetOrderGuestInfo()
{
var userInfo = base.UserInfo;
var dmodel = new RB_Order_Guest_ViewModel()
{
......@@ -857,7 +858,8 @@ namespace Edu.WebApi.Controllers.Course
{
return ApiResult.ParamIsNull("请传递订单id");
}
if (string.IsNullOrEmpty(dmodel.GuestName)) {
if (string.IsNullOrEmpty(dmodel.GuestName))
{
return ApiResult.ParamIsNull("请输入客人姓名");
}
if (string.IsNullOrEmpty(dmodel.Mobile))
......
......@@ -301,6 +301,7 @@ namespace Edu.WebApi.Controllers.Course
Title = base.ParmJObj.GetStringValue("Title"),
Category=(QuestionCategoryEnum)base.ParmJObj.GetInt("Category"),
LevelType= (LevelTypeEnum)base.ParmJObj.GetInt("LevelType"),
BankId=base.ParmJObj.GetInt("BankId")
};
if (string.IsNullOrEmpty(extModel.Title))
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment