MCPcopy Create free account
hub / github.com/TruthHun/BookStack / Prepare

Method Prepare

controllers/BookmarkController.go:15–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13}
14
15func (this *BookmarkController) Prepare() {
16 this.BaseController.Prepare()
17 if this.Member.MemberId == 0 {
18 this.JsonResult(1, "请先登录")
19 }
20}
21
22//添加或者移除书签
23func (this *BookmarkController) Bookmark() {

Callers

nothing calls this directly

Calls 1

JsonResultMethod · 0.80

Tested by

no test coverage detected