Commit bfc39a97 authored by szh's avatar szh

update

parent 4b01aa2d
...@@ -224,10 +224,10 @@ func (courseSignupApi *CourseSignupApi) SignCourse(c *gin.Context) { ...@@ -224,10 +224,10 @@ func (courseSignupApi *CourseSignupApi) SignCourse(c *gin.Context) {
} }
if err == nil && !*cs.IsPass{ if err == nil && !*cs.IsPass{
response.FailWithMessage("已报名,等待审核", c) response.OkWithMessage("已报名,等待审核", c)
return return
} else if err == nil && *cs.IsPass { } else if err == nil && *cs.IsPass {
response.FailWithMessage("已报名", c) response.OkWithMessage("已报名", c)
return return
} }
......
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