fix utils

This commit is contained in:
Jay
2018-04-24 17:49:58 +08:00
parent 1429c7fd85
commit 0a471443ce
8 changed files with 174 additions and 26 deletions
-2
View File
@@ -5,7 +5,6 @@ import (
"crypto/sha512"
"encoding/hex"
"encoding/json"
"log"
"reflect"
"strings"
@@ -40,7 +39,6 @@ func UserLogin(c *context.Context) {
acc, err := models.GetAccount(loginArg.Account)
if err != nil {
log.Println(err)
c.ServerError(nil)
return
}