Browse Source

+bug

master
LinskRuis.32 5 years ago
parent
commit
017c3bef1a
  1. 4
      webs/sys/controller/user.go

4
webs/sys/controller/user.go

@ -52,6 +52,10 @@ func (UserController) info(c *macaron.Context, ch cache.Cache, ctj gocloud.ContJ
}
}
e = userService.FindXid(xid)
if e == nil {
c.PlainText(404, []byte("not found"))
return
}
bts, err := json.Marshal(e)
if err == nil {
ch.Put(key, bts, 3600*5)

Loading…
Cancel
Save