Commit 4b01aa2d authored by szh's avatar szh

update

parent 74bc6c54
......@@ -191,7 +191,7 @@ func (courseSignupApi *CourseSignupApi) SignCourse(c *gin.Context) {
}
if !address.IsEthAddress(courseSignup.Addr) {
global.GVA_LOG.Error("地址格式错误!", zap.Error(err),zap.String("addr",courseSignup.Addr))
response.FailWithMessage(err.Error(), c)
response.FailWithMessage("invalid address", c)
return
}
user,err := courseUsersService.GetCourseUsersByAddr(courseSignup.Addr)
......
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