This commit is contained in:
shoopea 2019-06-09 20:17:59 +08:00
parent 0c64ac7c63
commit eac8507dde

4
obj.go
View File

@ -14,7 +14,7 @@ var (
cacheObjGuild *sync.Map cacheObjGuild *sync.Map
cacheObjUser *sync.Map cacheObjUser *sync.Map
cacheObjItem *sync.Map cacheObjItem *sync.Map
cacheOjbMsg *sync.Map cacheObjMsg *sync.Map
) )
func getObjTypeId(objId int64) (int64, error) { func getObjTypeId(objId int64) (int64, error) {
@ -419,7 +419,7 @@ func loadObjUser() error {
} }
func getObjMsgDate(objID64 int64) (time.Time, error) { func getObjMsgDate(objID64 int64) (time.Time, error) {
m, err := getMsg(objID64) m, err := getObjMsg(objID64)
if err != nil { if err != nil {
return time.Now(), err return time.Now(), err
} else { } else {