Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WolfLink-DevTeam/Sharine
/ functions
Functions
274 in github.com/WolfLink-DevTeam/Sharine
⨍
Functions
274
◇
Types & classes
111
↓ 30 callers
Method
get
(String key)
server/common/src/main/java/org/wolflink/sharine/action/RedisAction.java:47
↓ 24 callers
Method
ok
(Object data)
server/common/src/main/java/org/wolflink/sharine/controller/BaseController.java:37
↓ 23 callers
Function
pack
(axiosPromise: AxiosPromise<any>)
web/src/utilities/HttpUtility.ts:29
↓ 12 callers
Method
getSessionUserId
获取当前连接登录的用户ID(会检查用户登录状态) @return 用户ID
server/common/src/main/java/org/wolflink/sharine/action/SessionAction.java:21
↓ 10 callers
Method
post
(@RequestBody T t)
server/common/src/main/java/org/wolflink/sharine/controller/RestfulController.java:18
↓ 8 callers
Method
of
(response: AxiosResponse<any, any>)
web/src/models/ResponsePack.ts:8
↓ 8 callers
Method
save
(@NotNull S entity)
server/common/src/main/java/org/wolflink/sharine/repository/UserRepository.java:15
↓ 7 callers
Method
copyObject
复制对象 @param source 源 @param target 目标 @return {@link T}
server/common/src/main/java/org/wolflink/sharine/action/BeanCopyAction.java:24
↓ 7 callers
Method
createResult
(int code, String msg, Object data)
server/common/src/main/java/org/wolflink/sharine/controller/BaseController.java:46
↓ 6 callers
Method
delete
(@NotNull Comment entity)
server/common/src/main/java/org/wolflink/sharine/repository/CommentRepository.java:14
↓ 5 callers
Method
expire
(String key, long time)
server/common/src/main/java/org/wolflink/sharine/action/RedisAction.java:59
↓ 5 callers
Method
findById
(@NotNull Long userId)
server/common/src/main/java/org/wolflink/sharine/repository/UserRepository.java:18
↓ 4 callers
Method
existsByUserIdAndVideoId
(Long userId, Long videoId)
server/common/src/main/java/org/wolflink/sharine/repository/UpvoteRepository.java:23
↓ 4 callers
Method
getAccount
()
web/src/services/UserService.ts:28
↓ 4 callers
Method
getScenes
()
server/common/src/main/java/org/wolflink/sharine/dto/QiniuCensorPack.java:11
↓ 4 callers
Method
isEmpty
判断字符串是否为空 @param str @return 是空字符串
server/common/src/main/java/org/wolflink/sharine/action/StringAction.java:21
↓ 4 callers
Function
timeStrParse
(time: number)
web/src/utilities/ResourceUtility.ts:4
↓ 3 callers
Method
checkEmail
检测邮箱是否合法 @param email 用户名 @return 合法状态
server/common/src/main/java/org/wolflink/sharine/action/StringAction.java:41
↓ 3 callers
Method
findAllByUserId
(Long userId)
server/common/src/main/java/org/wolflink/sharine/repository/VideoRepository.java:15
↓ 3 callers
Method
getIpAddress
(HttpServletRequest request)
server/common/src/main/java/org/wolflink/sharine/action/IpAction.java:49
↓ 3 callers
Method
getPassword
()
web/src/services/UserService.ts:37
↓ 3 callers
Method
parse
(CommentDTO commentDTO)
server/aggregated-service/src/main/java/org/wolflink/sharine/action/ObjectParseAction.java:24
↓ 3 callers
Method
set
(String key, Object value, long time)
server/common/src/main/java/org/wolflink/sharine/action/RedisAction.java:39
↓ 2 callers
Method
deleteByUserId1AndUserId2
(Long userId1,Long userId2)
server/common/src/main/java/org/wolflink/sharine/repository/UserRelationRepository.java:18
↓ 2 callers
Method
deleteByUserIdAndVideoId
(Long userId, Long videoId)
server/common/src/main/java/org/wolflink/sharine/repository/UpvoteRepository.java:19
↓ 2 callers
Method
encode
加密 @param str 明文 @return 密文
server/common/src/main/java/org/wolflink/sharine/action/EncryptAction.java:22
↓ 2 callers
Method
findAllUserFollowed
(Long userId)
server/common/src/main/java/org/wolflink/sharine/repository/UserRelationRepository.java:33
↓ 2 callers
Method
findByAccount
(String account)
server/common/src/main/java/org/wolflink/sharine/repository/UserRepository.java:22
↓ 2 callers
Method
findByUserId
(Long userId, Pageable pageable)
server/common/src/main/java/org/wolflink/sharine/repository/BookmarkRepository.java:37
↓ 2 callers
Method
findUserRelationByUserId1AndUserId2
(Long userId1,Long userId2)
server/common/src/main/java/org/wolflink/sharine/repository/UserRelationRepository.java:17
↓ 2 callers
Method
findVideos
(@PathVariable("current") Integer current, @PathVariable("size") Integer size)
server/common/src/main/java/org/wolflink/sharine/rpc/VideoServiceClient.java:27
↓ 2 callers
Method
hasFavoriteVideo
(Long userId,Long videoId)
server/interact-service/src/main/java/org/wolflink/sharine/service/FavoriteService.java:37
↓ 2 callers
Method
lRange
(String key, long start, long end)
server/common/src/main/java/org/wolflink/sharine/action/RedisAction.java:175
↓ 2 callers
Method
qiniuCall
(String url, QiniuBasePack pack)
server/common/src/main/java/org/wolflink/sharine/action/QiniuAction.java:146
↓ 2 callers
Method
saveLocalUser
(user: User | null)
web/src/services/UserService.ts:9
↓ 2 callers
Method
savePassword
(password: string)
web/src/services/UserService.ts:34
↓ 2 callers
Method
textSensor
文本审核 @param text 文字内容 @return 文本审核结果,通过返回true,不通过返回false
server/common/src/main/java/org/wolflink/sharine/action/QiniuAction.java:208
↓ 1 callers
Method
addComment
(Comment comment)
server/interact-service/src/main/java/org/wolflink/sharine/service/CommentService.java:24
↓ 1 callers
Method
bookmarkVideo
用户收藏视频 @param userId 用户ID @param videoId 视频ID
server/interact-service/src/main/java/org/wolflink/sharine/service/BookmarkService.java:29
↓ 1 callers
Method
compile
(String string, String stdOutput)
server/common/src/main/java/org/wolflink/sharine/action/StringAction.java:79
↓ 1 callers
Method
countUserFollowed
(Long userId)
server/common/src/main/java/org/wolflink/sharine/repository/UserRelationRepository.java:27
↓ 1 callers
Method
countUserFollowing
(Long userId)
server/common/src/main/java/org/wolflink/sharine/repository/UserRelationRepository.java:21
↓ 1 callers
Method
delComments
(Long videoId)
server/interact-service/src/main/java/org/wolflink/sharine/service/CommentService.java:29
↓ 1 callers
Method
deleteAllByVideoId
(Long videoId)
server/common/src/main/java/org/wolflink/sharine/repository/CommentRepository.java:17
↓ 1 callers
Method
encodeAuthorization
签文算法 @param url 请求的URL链接 @param bodyJson Json格式的字符串 @return 加密签文
server/common/src/main/java/org/wolflink/sharine/action/QiniuAction.java:142
↓ 1 callers
Method
error
(String msg)
server/common/src/main/java/org/wolflink/sharine/controller/BaseController.java:21
↓ 1 callers
Method
existsByAccount
(String account)
server/common/src/main/java/org/wolflink/sharine/repository/UserRepository.java:25
↓ 1 callers
Method
favoriteVideo
用户点赞视频 @param userId 用户ID @param videoId 视频ID
server/interact-service/src/main/java/org/wolflink/sharine/service/FavoriteService.java:29
↓ 1 callers
Method
findAll
()
server/content-service/src/main/java/org/wolflink/sharine/service/CategoryService.java:30
↓ 1 callers
Method
findAllByTitleRegex
(String title, Pageable pageable)
server/common/src/main/java/org/wolflink/sharine/repository/CategoryRepository.java:15
↓ 1 callers
Method
findAllByVideoId
(Long videoId)
server/common/src/main/java/org/wolflink/sharine/repository/CommentRepository.java:19
↓ 1 callers
Method
findAllFollowed
获取用户的粉丝ID列表 @param userId 用户ID @return 粉丝ID列表
server/common/src/main/java/org/wolflink/sharine/action/SubscribeChannelAction.java:73
↓ 1 callers
Method
findByUserIdAndVideoId
(Long userId, Long videoId)
server/common/src/main/java/org/wolflink/sharine/repository/BookmarkRepository.java:23
↓ 1 callers
Method
findByVideoId
(Long videoId)
server/common/src/main/java/org/wolflink/sharine/repository/VideoMetadataRepository.java:14
↓ 1 callers
Method
findUserBookmarkVideoIds
(Long userId)
server/interact-service/src/main/java/org/wolflink/sharine/service/BookmarkService.java:59
↓ 1 callers
Method
findUserFavoriteVideoIds
查询用户关注的视频ID列表 @param userId 用户ID @return 用户关注视频ID列表
server/interact-service/src/main/java/org/wolflink/sharine/service/FavoriteService.java:59
↓ 1 callers
Method
findVideo
查询单个视频信息 @param videoId 视频ID @return 视频信息
server/video-service/src/main/java/org/wolflink/sharine/service/VideoService.java:70
↓ 1 callers
Method
findVideosByUserId
查询用户投稿作品 @param userId 用户ID @return 用户投稿视频信息列表
server/video-service/src/main/java/org/wolflink/sharine/service/VideoService.java:61
↓ 1 callers
Method
generateToken
(String fileKey)
server/common/src/main/java/org/wolflink/sharine/action/QiniuAction.java:43
↓ 1 callers
Method
getAllCategories
* 获取全部分类数据
web/src/services/CategoryService.ts:98
↓ 1 callers
Method
getCategoryById
(id: number)
web/src/services/CategoryService.ts:85
↓ 1 callers
Method
getComments
(Long videoId)
server/interact-service/src/main/java/org/wolflink/sharine/service/CommentService.java:20
↓ 1 callers
Method
getExpire
(String key)
server/common/src/main/java/org/wolflink/sharine/action/RedisAction.java:63
↓ 1 callers
Method
getFileInfo
从七牛云中查询文件信息 @param userId 上传者用户ID @param fileKey 文件Key @return FileInfo
server/common/src/main/java/org/wolflink/sharine/action/QiniuAction.java:123
↓ 1 callers
Method
getRandomCode
生成6位随机验证码 @return 验证码
server/common/src/main/java/org/wolflink/sharine/action/StringAction.java:57
↓ 1 callers
Method
getSubscribeVideoIds
获取用户订阅队列的视频ID列表 @param userId 用户ID @return 视频ID列表(索引越大视频越早发布,索引越小视频越新发布)
server/common/src/main/java/org/wolflink/sharine/action/SubscribeChannelAction.java:47
↓ 1 callers
Method
getToken
()
web/src/services/UserService.ts:22
↓ 1 callers
Method
getUserBrowseList
(String userIp)
server/content-service/src/main/java/org/wolflink/sharine/action/BrowseStatAction.java:25
↓ 1 callers
Method
getVideos
(@ModelAttribute List<Long> videoIds)
server/common/src/main/java/org/wolflink/sharine/rpc/VideoServiceClient.java:24
↓ 1 callers
Method
hasBookmarkVideo
(Long userId,Long videoId)
server/interact-service/src/main/java/org/wolflink/sharine/service/BookmarkService.java:37
↓ 1 callers
Method
hasKey
(String key)
server/common/src/main/java/org/wolflink/sharine/action/RedisAction.java:67
↓ 1 callers
Method
incrementViews
(Long videoId)
server/common/src/main/java/org/wolflink/sharine/repository/VideoMetadataRepository.java:16
↓ 1 callers
Method
insertVideoId
插入视频ID到用户订阅队列 @param userId 用户ID @param videoId 视频ID
server/common/src/main/java/org/wolflink/sharine/action/SubscribeChannelAction.java:36
↓ 1 callers
Method
lLeftPush
(String key, Object value)
server/common/src/main/java/org/wolflink/sharine/action/RedisAction.java:210
↓ 1 callers
Method
lPush
(String key, Object value)
server/common/src/main/java/org/wolflink/sharine/action/RedisAction.java:188
↓ 1 callers
Method
lRightPop
(String key)
server/common/src/main/java/org/wolflink/sharine/action/RedisAction.java:207
↓ 1 callers
Method
lSize
(String key)
server/common/src/main/java/org/wolflink/sharine/action/RedisAction.java:180
↓ 1 callers
Method
loadViewCountMap
()
web/src/services/CategoryService.ts:19
↓ 1 callers
Method
mailVerify
(String ipAddress,String mail,String verificationCode)
server/common/src/main/java/org/wolflink/sharine/action/EmailAction.java:55
↓ 1 callers
Method
match
匹配 @param str 明文 @param pass 密文 @return 是否匹配
server/common/src/main/java/org/wolflink/sharine/action/EncryptAction.java:33
↓ 1 callers
Method
notifyFans
在视频成功发布后更新 UP 当前的所有粉丝的订阅队列 @param userId 投稿用户ID @param videoId 视频ID
server/common/src/main/java/org/wolflink/sharine/action/SubscribeChannelAction.java:61
↓ 1 callers
Method
ofEmpty
()
web/src/models/ResponsePack.ts:15
↓ 1 callers
Method
parseUserVO
(userVO: any)
web/src/services/UserService.ts:99
↓ 1 callers
Method
saveAccount
(account: string)
web/src/services/UserService.ts:31
↓ 1 callers
Method
saveToken
(token: string)
web/src/services/UserService.ts:25
↓ 1 callers
Method
saveViewCountMap
()
web/src/services/CategoryService.ts:14
↓ 1 callers
Method
sendCode
发送验证码 @param username 收件人 @param code 验证码 @param minuter 过期时间 / 分钟
server/common/src/main/java/org/wolflink/sharine/action/EmailAction.java:36
↓ 1 callers
Method
toJsonObject
()
server/common/src/main/java/org/wolflink/sharine/dto/QiniuBasePack.java:11
↓ 1 callers
Method
undoBookmarkVideo
用户撤销收藏视频 @param userId 用户ID @param videoId 视频ID
server/interact-service/src/main/java/org/wolflink/sharine/service/BookmarkService.java:51
↓ 1 callers
Method
undoFavoriteVideo
用户撤销点赞视频 @param userId 用户ID @param videoId 视频ID
server/interact-service/src/main/java/org/wolflink/sharine/service/FavoriteService.java:46
↓ 1 callers
Method
verifyAndSaveVideo
验证用户投稿信息并保存视频数据 @param video 视频对象 @param fileKey 文件名 @param hash 文件哈希 @param categoryId 分类Id
server/video-service/src/main/java/org/wolflink/sharine/service/VideoService.java:41
Method
BookmarkController
(BookmarkRepository repository)
server/interact-service/src/main/java/org/wolflink/sharine/controller/BookmarkController.java:18
Method
BookmarkService
(BookmarkRepository bookmarkRepository)
server/interact-service/src/main/java/org/wolflink/sharine/service/BookmarkService.java:19
Method
Category
(String title,String url)
server/common/src/main/java/org/wolflink/sharine/entity/Category.java:39
Method
CommentController
(CommentRepository repository)
server/interact-service/src/main/java/org/wolflink/sharine/controller/CommentController.java:23
Method
ErrorException
(String message)
server/common/src/main/java/org/wolflink/sharine/exception/ErrorException.java:21
Method
FavoriteService
(UpvoteRepository upvoteRepository)
server/interact-service/src/main/java/org/wolflink/sharine/service/FavoriteService.java:19
Method
QiniuCensorPack
()
server/common/src/main/java/org/wolflink/sharine/dto/QiniuCensorPack.java:7
Method
RedisAction
(RedisTemplate<String, Object> redisTemplate)
server/common/src/main/java/org/wolflink/sharine/action/RedisAction.java:35
Method
RequestLimitInterceptor
(IpAction ipAction)
server/common/src/main/java/org/wolflink/sharine/RequestLimitInterceptor.java:25
next →
1–100 of 274, ranked by callers