3.14 beego學(xué)習(xí)
1、錯(cuò)誤頁(yè)面
1、用戶自定義

2、定義controller
router
3、(重定向)Redirect跳轉(zhuǎn)-前端404頁(yè)面
2、Admin后臺(tái)管理
訪問(wèn)

統(tǒng)計(jì)訪問(wèn)的所以的請(qǐng)求-qps:http://localhost:8088/qps

Safety and health inspection:http://localhost:8088/healthcheck
更多web配置詳情參考該博客:https://blog.csdn.net/qq_39280718/article/details/126571977?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522167876479116800192222662%2522%252C%2522scm%2522%253A%252220140713.130102334.pc%255Fblog.%2522%257D&request_id=167876479116800192222662&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2~blog~first_rank_ecpm_v1~rank_v31_ecpm-1-126571977-null-null.blog_rank_default&utm_term=beego%20%E9%85%8D%E7%BD%AE&spm=1018.2226.3001.4450
注意這2個(gè)端口,一個(gè)是http的,一個(gè)是admin的
沒(méi)開(kāi)啟session的狀態(tài)

開(kāi)啟session就可以正常訪問(wèn)了
session:統(tǒng)計(jì)訪問(wèn)的次數(shù)