remove chinese
This commit is contained in:
parent
99e7d0f59b
commit
efc8db84bc
@ -87,12 +87,12 @@ func (this *HttpServer) dispatchRequest(c *Context) {
|
|||||||
atomic.AddInt64(&this.okTimes, 1)
|
atomic.AddInt64(&this.okTimes, 1)
|
||||||
if err := recover(); err != nil {
|
if err := recover(); err != nil {
|
||||||
SysLog().Error("handle name:%s error:%s", handleName, err)
|
SysLog().Error("handle name:%s error:%s", handleName, err)
|
||||||
c.Response(`{"errcode":500, "errmsg":"服务器内部错误"}`)
|
c.Response(`{"errcode":500, "errmsg":"server internal error"}`)
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
handle(c)
|
handle(c)
|
||||||
} else {
|
} else {
|
||||||
c.Response(`{"errcode":404, "errmsg":"接口不存在"}`)
|
c.Response(`{"errcode":404, "errmsg":"interface not found"}`)
|
||||||
atomic.AddInt64(&this.pageNotFoundTimes, 1)
|
atomic.AddInt64(&this.pageNotFoundTimes, 1)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user