Commit 9d846c30 authored by jingbo.wang's avatar jingbo.wang

查看月表

parent 948e90a1
......@@ -27,7 +27,7 @@ func show(ctx *fasthttp.RequestCtx) {
d := ctx.UserValue("d").(string)
name := ctx.UserValue("name").(string)
if long != "day" && long != "week" {
if long != "day" && long != "week" && long != "month" {
ctx.Response.SetStatusCode(fasthttp.StatusNotFound)
ctx.Response.SetBodyString("page not found")
return
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment