MCPcopy Index your code
hub / github.com/TruthHun/DocHub / CheckLogin

Method CheckLogin

controllers/HomeControllers/UserController.go:451–456  ·  view source on GitHub ↗

检测用户是否已登录

()

Source from the content-addressed store, hash-verified

449
450// 检测用户是否已登录
451func (this *UserController) CheckLogin() {
452 if this.BaseController.IsLogin > 0 {
453 this.ResponseJson(true, "已登录")
454 }
455 this.ResponseJson(false, "您当前处于未登录状态,请先登录")
456}
457
458// 创建收藏夹
459func (this *UserController) CreateCollectFolder() {

Callers

nothing calls this directly

Calls 1

ResponseJsonMethod · 0.45

Tested by

no test coverage detected