Merge pull request 'test' (#52) from test into master

Reviewed-on: https://git.oa00.com/recook/backend_v2/pulls/52
master
杨赟 3 years ago
commit ce159cfc12

@ -19,7 +19,7 @@ func (*copartnerLogic) Very(inviteNo string) error {
return errors.New("邀请码不存在")
}
if topCode.EndTime.Before(time.Now()) {
return errors.New("邀请码过期")
return errors.New("邀请码已失效")
}
return nil
}

Loading…
Cancel
Save