Add getInitScore().

This commit is contained in:
Yang Luo
2021-08-28 11:13:38 +08:00
parent eefcfd8440
commit b3eec024b8
6 changed files with 20 additions and 7 deletions

View File

@ -148,6 +148,7 @@ func (c *ApiController) Signup() {
Address: []string{},
Affiliation: form.Affiliation,
Region: form.Region,
Score: getInitScore(),
IsAdmin: false,
IsGlobalAdmin: false,
IsForbidden: false,