Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TruthHun/BookStack
/ functions
Functions
9,801 in github.com/TruthHun/BookStack
⨍
Functions
9,801
◇
Types & classes
185
↓ 1 callers
Function
Cr
(e)
static/vuejs/vue.min.js:7
↓ 1 callers
Function
CrawlByChrome
使用chrome采集网页HTML
utils/util.go:256
↓ 1 callers
Function
Ct
(t,e)
static/katex/katex.min.js:1
↓ 1 callers
Function
Ct
(e, t)
static/wangEditor/js/lib/jquery-1.10.2.min.js:4
↓ 1 callers
Function
Ct
(t,e)
static/vuejs/vue.runtime.min.js:6
↓ 1 callers
Function
CuteFile
( file, chunkSize )
static/webuploader/webuploader.nolog.js:3388
↓ 1 callers
Function
CuteFile
( file, chunkSize )
static/webuploader/webuploader.custom.js:3489
↓ 1 callers
Function
CuteFile
( file, chunkSize )
static/webuploader/webuploader.withoutimage.js:2960
↓ 1 callers
Function
CuteFile
( file, chunkSize )
static/webuploader/webuploader.html5nodepend.js:3918
↓ 1 callers
Function
CuteFile
( file, chunkSize )
static/webuploader/webuploader.noimage.js:2981
↓ 1 callers
Function
CuteFile
( file, chunkSize )
static/webuploader/webuploader.fis.js:3363
↓ 1 callers
Function
CuteFile
( file, chunkSize )
static/webuploader/webuploader.js:3388
↓ 1 callers
Function
CuteFile
( file, chunkSize )
static/webuploader/webuploader.html5only.js:3388
↓ 1 callers
Function
CuteFile
( file, chunkSize )
static/webuploader/webuploader.flashonly.js:3186
↓ 1 callers
Function
D
(e,t)
static/editor.md/lib/codemirror/modes.min.js:5
↓ 1 callers
Function
Da
(a)
static/jquery/1.12.4/jquery.min.js:3
↓ 1 callers
Function
De
(e,t)
static/vuejs/vue.min.js:6
↓ 1 callers
Method
Decrease
(bookId int, isPV bool)
models/book_counter.go:79
↓ 1 callers
Function
Deferred
( func )
static/webuploader/webuploader.custom.js:261
↓ 1 callers
Function
Deferred
( func )
static/webuploader/webuploader.html5nodepend.js:488
↓ 1 callers
Method
DelOssFile
(file string)
models/store/oss.go:217
↓ 1 callers
Method
DelOssFolder
根据oss文件夹
models/store/oss.go:196
↓ 1 callers
Method
Delete
删除文档.
controllers/DocumentController.go:991
↓ 1 callers
Method
Delete
删除
utils/lock.go:29
↓ 1 callers
Method
Delete
删除书签 1、只有 bookId > 0,则删除bookId所有书签【用于书籍被删除的情况】 2、bookId>0 && uid > 0 ,删除用户的书籍书签【用户用户清空书签的情况】 3、uid > 0 && docId>0 ,删除指定书签【用于删除某条书签】 4、其余情况不做处理
models/bookmarks.go:94
↓ 1 callers
Method
Delete
(bookId int)
models/wechat_code.go:33
↓ 1 callers
Method
DeleteByBookIdAndMemberId
(bookId, memberId int)
models/relationship.go:117
↓ 1 callers
Method
DeleteByHistoryId
根据history id 删除记录
models/document_history.go:182
↓ 1 callers
Method
DeleteByLimit
根据文档id删除
models/document_history.go:193
↓ 1 callers
Method
DeleteOldEbook
DeleteOldEbook 删除旧电子书 1. 相同ext,状态为 Success 之外的记录以及电子书文件
models/ebook.go:438
↓ 1 callers
Function
DeleteScreenShot
map[bookIdentify]selector,书籍标识和书籍元素选择器
utils/screenshot.go:21
↓ 1 callers
Function
Dn
(t,e)
static/vuejs/vue.runtime.min.js:6
↓ 1 callers
Method
DoesStar
是否收藏了文档
models/star.go:75
↓ 1 callers
Method
Down2local
Down2local 下载文件夹下的文件到本地
models/store/oss.go:296
↓ 1 callers
Function
Dr
(t,e)
static/katex/katex.min.js:1
↓ 1 callers
Function
Dr
(e)
static/vuejs/vue.min.js:7
↓ 1 callers
Function
E
(elem)
static/wangEditor/js/wangEditor.js:53
↓ 1 callers
Function
E
(n,t,r,e)
static/editor.md/lib/underscore.min.js:5
↓ 1 callers
Function
E
(e,t)
static/editor.md/lib/codemirror/modes.min.js:5
↓ 1 callers
Function
E
(t)
static/vuejs/vue.runtime.min.js:6
↓ 1 callers
Function
Ea
(a)
static/jquery/1.12.4/jquery.min.js:3
↓ 1 callers
Function
Ee
(a,b,c,d)
static/mergely/lib/codemirror.min.js:3
↓ 1 callers
Function
Ee
(e,t,n,r)
static/vuejs/vue.min.js:6
↓ 1 callers
Function
Et
(t,e,r,n)
static/katex/katex.min.js:1
↓ 1 callers
Function
Et
(t,e,n,r,o)
static/vuejs/vue.runtime.min.js:6
↓ 1 callers
Function
F
(e)
static/wangEditor/js/lib/jquery-1.10.2.min.js:4
↓ 1 callers
Function
Fb
(a,b)
static/mergely/lib/codemirror.min.js:2
↓ 1 callers
Function
Fe
(e,t)
static/vuejs/vue.min.js:6
↓ 1 callers
Method
FindByField
根据指定字段查询结果集.
models/book.go:211
↓ 1 callers
Method
FindByFieldFirst
根据指定字段查找用户.
models/member.go:317
↓ 1 callers
Method
FindByNickname
(nickname string, cols ...string)
models/member.go:240
↓ 1 callers
Method
FindByTitle
(title string)
models/version.go:58
↓ 1 callers
Method
FindFirst
(field string, value interface{})
models/label.go:34
↓ 1 callers
Method
FindForLabelToPager
分页全局搜索.
models/book.go:554
↓ 1 callers
Method
FindForUsersByBookId
查询书籍的用户
models/member_result.go:63
↓ 1 callers
Method
FindFounder
查询指定书籍的创始人.
models/relationship.go:51
↓ 1 callers
Method
FindSendCount
(mail string, startTime time.Time, endTime time.Time)
models/member_token.go:58
↓ 1 callers
Method
FirstChapter
(bookId int, cols ...string)
models/document_tree.go:26
↓ 1 callers
Method
FollowOrCancel
关注和取消关注
models/fans.go:33
↓ 1 callers
Method
ForbiddenReferer
()
models/options.go:342
↓ 1 callers
Function
Ft
(e,t,n)
static/vuejs/vue.min.js:6
↓ 1 callers
Function
G
(e,t)
static/vuejs/vue.min.js:6
↓ 1 callers
Function
G
(t)
static/vuejs/vue.runtime.min.js:6
↓ 1 callers
Function
Ga
(a,b)
static/jquery/1.12.4/jquery.min.js:3
↓ 1 callers
Function
Ge
(a,b,c,d)
static/mergely/lib/codemirror.min.js:3
↓ 1 callers
Function
Ge
(e)
static/vuejs/vue.min.js:6
↓ 1 callers
Method
Get2Download
(bookId int, ext string)
models/ebook.go:68
↓ 1 callers
Function
GetAccessToken
获取access_token
utils/wechat.go:29
↓ 1 callers
Function
GetBookWXACode
获取书籍页面小程序码
utils/wechat.go:50
↓ 1 callers
Method
GetByBookId
根据书籍id查询分类id
models/book_category.go:24
↓ 1 callers
Function
GetGiteeAccessToken
获取accessToken
oauth/gitee.go:39
↓ 1 callers
Function
GetGiteeUserInfo
获取用户信息
oauth/gitee.go:61
↓ 1 callers
Function
GetGithubAccessToken
获取accessToken
oauth/github.go:35
↓ 1 callers
Function
GetGithubUserInfo
获取用户信息
oauth/github.go:57
↓ 1 callers
Function
GetIP
获取ip地址
utils/util.go:960
↓ 1 callers
Function
GetLang
(lang string)
utils/util.go:120
↓ 1 callers
Method
GetMenuTop
根据书籍ID查询文档一级目录.
models/document.go:571
↓ 1 callers
Function
GetPagesInfo
** * 分页函数,适用任何表 * 返回 总记录条数,总页数,以及当前请求的数据RawSeter,调用中需要"rs.QueryRows(&tblog)"就行了 --tblog是一个Tb_log对象 * 参数:表名,当前页数,页面大小,条件(查询条件,格式为 " and name='zhife
utils/pager.go:37
↓ 1 callers
Method
GetParentTitle
(pid int)
models/document.go:585
↓ 1 callers
Method
GetPositions
()
models/ads.go:243
↓ 1 callers
Function
GetQQAccessToken
获取accessToken
oauth/qq.go:33
↓ 1 callers
Function
GetQQOpenId
获取OpenId
oauth/qq.go:65
↓ 1 callers
Function
GetQQUserInfo
获取用户信息
oauth/qq.go:108
↓ 1 callers
Method
GetReadingRule
获取阅读计时规则
models/read_record.go:341
↓ 1 callers
Method
GetSignRule
获取签到奖励规则
models/sign.go:182
↓ 1 callers
Method
GetStats
电子书状态(最新的状态)
models/ebook.go:115
↓ 1 callers
Function
GetUploadFileExt
获取允许的商城文件的类型.
conf/enumerate.go:113
↓ 1 callers
Method
GetUserByGiteeId
gitee用户的登录流程是这样的 1、获取gitee的用户信息,用gitee的用户id查询member_id是否大于0,大于0则表示已绑定了用户信息,直接登录 2、未绑定用户,先把gitee数据入库,然后再跳转绑定页面 根据giteeid获取用户的gitee数据。这里可以查询用户是否绑定了或者数据是
models/gitee.go:19
↓ 1 callers
Method
GetUserByGithubId
gitee用户的登录流程是这样的 1、获取gitee的用户信息,用gitee的用户id查询member_id是否大于0,大于0则表示已绑定了用户信息,直接登录 2、未绑定用户,先把gitee数据入库,然后再跳转绑定页面 根据giteeid获取用户的gitee数据。这里可以查询用户是否绑定了或者数据是
models/github.go:19
↓ 1 callers
Method
GetUserByOpenid
gitee用户的登录流程是这样的 1、获取gitee的用户信息,用gitee的用户id查询member_id是否大于0,大于0则表示已绑定了用户信息,直接登录 2、未绑定用户,先把gitee数据入库,然后再跳转绑定页面 根据giteeid获取用户的gitee数据。这里可以查询用户是否绑定了或者数据是
models/qq.go:21
↓ 1 callers
Method
GetUserByOpenid
根据giteeid获取用户的gitee数据。这里可以查询用户是否绑定了或者数据是否在库中存在
models/wechat.go:25
↓ 1 callers
Method
GetUserBySess
根据giteeid获取用户的gitee数据。这里可以查询用户是否绑定了或者数据是否在库中存在
models/wechat.go:36
↓ 1 callers
Method
GetUsernameByUid
获取用户名
models/member.go:459
↓ 1 callers
Method
GetVersionItem
(bookIdentify string)
models/version.go:164
↓ 1 callers
Function
GetWechatSessKey
(appId, secret, code string)
oauth/wechat.go:34
↓ 1 callers
Function
Gg
()
static/mergely/lib/codemirror.min.js:3
↓ 1 callers
Function
GitClone
Git Clone
utils/util.go:767
↓ 1 callers
Function
Gt
(t)
static/vuejs/vue.runtime.min.js:6
↓ 1 callers
Function
H
(a)
static/jquery/1.12.4/jquery.min.js:2
↓ 1 callers
Method
HasRelatedBook
HasRelatedBook 查询用户是否有相关联的书籍
models/relationship.go:186
← previous
next →
4,401–4,500 of 9,801, ranked by callers