fix utils

This commit is contained in:
root committed 2018-04-24 17:49:58 +08:00
1 parent 1429c7fd85
commit 0a471443ce
8 files changed
+174 -26

No files matched your search

-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
}