MCPcopy Create free account

hub / github.com/XXieYiqiang/SoakUpTheSun / functions

Functions695 in github.com/XXieYiqiang/SoakUpTheSun

MethodClientException
(IErrorCode errorCode)
picture/src/main/java/org/hgc/suts/picture/common/exception/ClientException.java:12
MethodClientException
(IErrorCode errorCode)
volunteer/src/main/java/org/hgc/suts/volunteer/common/exception/ClientException.java:12
MethodClientException
(IErrorCode errorCode)
agent/src/main/java/org/hgc/suts/gateway/common/exception/ClientException.java:11
MethodCloseRoom
CloseRoom 关闭房间
sfu/internal/api/room/room_close.go:13
FunctionDeleteRoom
(id string)
sfu/internal/ws/room.go:53
FunctionFailed
(c *gin.Context, msg string)
sfu/internal/model/res/res.go:35
FunctionFailedWithData
(c *gin.Context, msg string, data T)
sfu/internal/model/res/res.go:39
FunctionGenerate
()
sfu/utils/snowflakex/snowflake.go:22
MethodGenerateToken
GenerateToken 生成token
sfu/utils/jwtx/jwt.go:30
FunctionGet
Get 发送 GET 请求并自动将响应体反序列化到 T 类型 T: 响应体类型
sfu/utils/httpx/http.go:34
FunctionGetRoom
(id string)
sfu/internal/ws/room.go:43
MethodGetRoomInfo
GetRoomInfo 获取房间信息
sfu/internal/api/room/room_info.go:13
FunctionHandleWS
处理用户的 WebSocket 消息
sfu/internal/ws/join.go:50
FunctionInit
(nodeID int64)
sfu/utils/snowflakex/snowflake.go:14
FunctionInitMysql
(conf *config.Config)
sfu/internal/database/gorm_mysql.go:13
FunctionInitRedisClient
InitRedisClient 初始化 Redis 客户端
sfu/internal/cache/redis.go:13
FunctionInitZapLog
(logConf *config.LogConfig)
sfu/internal/logger/logger.go:20
MethodJoinRoom
JoinRoom 加入房间
sfu/internal/api/room/room_join.go:15
FunctionLoadConfig
InitConfig 初始化配置文件
sfu/internal/config/config.go:25
FunctionNewAPI
(app *app.App)
sfu/internal/api/api.go:12
FunctionNewApp
()
sfu/internal/app/app.go:25
FunctionNewJwt
(secret string, expire int64, issuer string)
sfu/utils/jwtx/jwt.go:21
FunctionNewRoom
()
sfu/internal/ws/room.go:31
FunctionNewRoomApi
(app *app.App)
sfu/internal/api/room/room.go:11
FunctionNewRoomLogic
(ctx context.Context, app *app.App)
sfu/internal/logic/room/room_logic.go:17
FunctionNewRouter
(app *app.App)
sfu/internal/router/router.go:11
FunctionNewZapCore
(logConf *config.LogConfig, level zapcore.Level)
sfu/internal/logger/internal/zapcore.go:18
FunctionOK
(c *gin.Context)
sfu/internal/model/res/res.go:23
FunctionOkWithData
(c *gin.Context, data T)
sfu/internal/model/res/res.go:31
FunctionOkWithMsg
(c *gin.Context, msg string)
sfu/internal/model/res/res.go:27
MethodParseToken
ParseToken 解析token
sfu/utils/jwtx/jwt.go:44
FunctionPathExists
PathExists 判断路径是否存在
sfu/utils/dir/dir.go:9
MethodPictureAnalysisSendProducer
(@Autowired RocketMQTemplate rocketMQTemplate, @Autowired ConfigurableEnvironment environment)
picture/src/main/java/org/hgc/suts/picture/mq/producer/PictureAnalysisSendProducer.java:27
FunctionPostBody
PostBody 发送 Content-Type 为 application/json 的 POST 请求 T: 响应体类型 bodyData: 将会被 JSON 序列化的任意结构体或 map
sfu/utils/httpx/http.go:57
FunctionPostForm
PostForm 发送 application/x-www-form-urlencoded 的 POST 请求 T: 响应体类型
sfu/utils/httpx/http.go:79
FunctionRecoveryMiddleware
(stack bool)
sfu/internal/middleware/recover.go:16
MethodRemoteException
(String message)
user/src/main/java/org/hgc/suts/user/common/exception/RemoteException.java:12
MethodRemoteException
(String message)
shortlink/src/main/java/org/hgc/suts/shortlink/common/exception/RemoteException.java:12
MethodRemoteException
(String message)
picture/src/main/java/org/hgc/suts/picture/common/exception/RemoteException.java:12
MethodRemoteException
(String message)
volunteer/src/main/java/org/hgc/suts/volunteer/common/exception/RemoteException.java:12
MethodRemoteException
(String message)
agent/src/main/java/org/hgc/suts/gateway/common/exception/RemoteException.java:12
MethodSaveRoom
SaveRoom 创建房间
sfu/internal/api/room/room_save.go:11
MethodServiceException
(String message)
user/src/main/java/org/hgc/suts/user/common/exception/ServiceException.java:14
MethodServiceException
(String message)
shortlink/src/main/java/org/hgc/suts/shortlink/common/exception/ServiceException.java:15
MethodServiceException
(String message)
picture/src/main/java/org/hgc/suts/picture/common/exception/ServiceException.java:14
MethodServiceException
(String message)
volunteer/src/main/java/org/hgc/suts/volunteer/common/exception/ServiceException.java:14
MethodServiceException
(String message)
agent/src/main/java/org/hgc/suts/gateway/common/exception/ServiceException.java:14
MethodSync
Sync implements zapcore.WriteSyncer.
sfu/internal/logger/internal/logcutte.go:56
MethodTableName
()
sfu/internal/model/room_member_model.go:12
MethodTableName
()
sfu/internal/model/room_model.go:23
FunctionUUIDToBase58
UUIDToBase58 UUID 转换为 Base58 编码的字符串。
sfu/utils/encrypt/base58.go:11
MethodUserErrorCodeEnum
(String code, String message)
user/src/main/java/org/hgc/suts/user/common/enums/UserErrorCodeEnum.java:23
MethodVideoFrameProducer
(@Autowired RocketMQTemplate rocketMQTemplate, @Autowired ConfigurableEnvironment environment)
picture/src/main/java/org/hgc/suts/picture/mq/producer/VideoFrameProducer.java:28
MethodVolunteerPrizesDBSyncProducer
(@Autowired RocketMQTemplate rocketMQTemplate, @Autowired ConfigurableEnvironment environment)
volunteer/src/main/java/org/hgc/suts/volunteer/mq/producer/VolunteerPrizesDBSyncProducer.java:28
MethodVolunteerPrizesSendProducer
(@Autowired RocketMQTemplate rocketMQTemplate, @Autowired ConfigurableEnvironment environment)
volunteer/src/main/java/org/hgc/suts/volunteer/mq/producer/VolunteerPrizesSendProducer.java:28
MethodVolunteerTaskActualExecuteProducer
(@Autowired RocketMQTemplate rocketMQTemplate, @Autowired ConfigurableEnvironment environment)
volunteer/src/main/java/org/hgc/suts/volunteer/mq/producer/VolunteerTaskActualExecuteProducer.java:28
MethodVolunteerUserEsSyncProducer
(@Autowired RocketMQTemplate rocketMQTemplate, @Autowired ConfigurableEnvironment environment)
volunteer/src/main/java/org/hgc/suts/volunteer/mq/producer/VolunteerUserEsSyncProducer.java:29
Method__init__
(self)
ai_service/src/services/vision_qa_service.py:128
Method__init__
(self)
ai_service/src/services/detection_service.py:19
Method__init__
(self, iou_thresh: float = 0.25, max_misses: int = 10)
ai_service/src/services/risk_detection_service.py:79
Method__init__
(self, fps: float = 5.0)
ai_service/src/services/risk_detection_service.py:144
Method__init__
( self, model_path: str, model_type: str = "yolov11x", confidence_threshold: f
ai_service/src/models/yolo_model.py:26
Method__init__
初始化视觉模型 Args: model_path: 模型文件路径 model_type: 模型类型名称
ai_service/src/models/base.py:84
Method__init__
初始化检测模型 Args: model_path: 模型文件路径 model_type: 模型类型名称 confidence_threshold: 置信度阈值
ai_service/src/models/base.py:145
Method__init__
( self, model_dir: str, device: str = "cuda", dtype: str = "float16",
ai_service/src/models/vlm_model.py:44
Method__init__
( self, base_url: str, model: str, max_tokens: int = 150, temperature:
ai_service/src/models/llm_model.py:15
MethodabstractException
拦截应用内抛出的异常
user/src/main/java/org/hgc/suts/user/common/web/GlobalExceptionHandler.java:47
MethodabstractException
拦截应用内抛出的异常
shortlink/src/main/java/org/hgc/suts/shortlink/common/web/GlobalExceptionHandler.java:48
MethodabstractException
拦截应用内抛出的异常
picture/src/main/java/org/hgc/suts/picture/common/web/GlobalExceptionHandler.java:46
MethodabstractException
拦截应用内抛出的异常
volunteer/src/main/java/org/hgc/suts/volunteer/common/web/GlobalExceptionHandler.java:48
MethodabstractException
拦截应用内抛出的异常
agent/src/main/java/org/hgc/suts/gateway/common/web/GlobalExceptionHandler.java:46
MethodactivateVolunteer
把志愿者加入活跃队列
volunteer/src/main/java/org/hgc/suts/volunteer/controller/VolunteerUserController.java:45
MethodactivateVolunteer
(Long volunteerId)
volunteer/src/main/java/org/hgc/suts/volunteer/service/impl/VolunteerMatchServiceImpl.java:63
MethodaddInterceptors
(InterceptorRegistry registry)
user/src/main/java/org/hgc/suts/user/common/web/WebMvcConfig.java:17
MethodaddInterceptors
(InterceptorRegistry registry)
shortlink/src/main/java/org/hgc/suts/shortlink/common/web/WebMvcConfig.java:18
MethodaddInterceptors
(InterceptorRegistry registry)
volunteer/src/main/java/org/hgc/suts/volunteer/common/web/WebMvcConfig.java:18
MethodaddInterceptors
(InterceptorRegistry registry)
agent/src/main/java/org/hgc/suts/gateway/common/web/WebMvcConfig.java:17
MethodaddScore
新增志愿分 @param id volunteerId @param addScore 要增加的分数
volunteer/src/main/java/org/hgc/suts/volunteer/dao/mapper/VolunteerUserMapper.java:26
MethodaddVolunteerToActivePoolScript
志愿者入活跃池脚本
volunteer/src/main/java/org/hgc/suts/volunteer/config/RedisScriptConfig.java:61
MethodafterCompletion
(HttpServletRequest request, HttpServletResponse response, Object handler, Exception ex)
user/src/main/java/org/hgc/suts/user/common/biz/user/LoginInterceptor.java:58
MethodafterCompletion
(HttpServletRequest request, HttpServletResponse response, Object handler, Exception ex)
shortlink/src/main/java/org/hgc/suts/shortlink/common/biz/user/LoginInterceptor.java:58
MethodafterCompletion
(HttpServletRequest request, HttpServletResponse response, Object handler, Exception ex)
picture/src/main/java/org/hgc/suts/picture/common/biz/user/LoginInterceptor.java:57
MethodafterCompletion
(HttpServletRequest request, HttpServletResponse response, Object handler, Exception ex)
volunteer/src/main/java/org/hgc/suts/volunteer/common/biz/user/LoginInterceptor.java:58
MethodafterCompletion
(HttpServletRequest request, HttpServletResponse response, Object handler, Exception ex)
agent/src/main/java/org/hgc/suts/gateway/common/biz/user/LoginInterceptor.java:61
MethodafterConnectionClosed
(WebSocketSession session, CloseStatus status)
picture/src/main/java/org/hgc/suts/picture/ws/handler/AiImageBinaryHandler.java:66
MethodafterConnectionEstablished
(WebSocketSession session)
picture/src/main/java/org/hgc/suts/picture/ws/handler/AiImageBinaryHandler.java:26
MethodafterHandshake
(ServerHttpRequest request, ServerHttpResponse response, WebSocketHandler wsHandler, Exception exception)
picture/src/main/java/org/hgc/suts/picture/ws/interceptor/AiAuthHandshakeInterceptor.java:85
MethodafterPropertiesSet
()
user/src/main/java/org/hgc/suts/user/config/CacheConfiguration.java:32
MethodafterPropertiesSet
()
user/src/main/java/org/hgc/suts/user/config/RedisKeySerializer.java:33
MethodafterPropertiesSet
()
shortlink/src/main/java/org/hgc/suts/shortlink/config/CacheConfiguration.java:32
MethodafterPropertiesSet
()
shortlink/src/main/java/org/hgc/suts/shortlink/config/RedisKeySerializer.java:33
MethodafterPropertiesSet
()
picture/src/main/java/org/hgc/suts/picture/config/CacheConfiguration.java:32
MethodafterPropertiesSet
()
picture/src/main/java/org/hgc/suts/picture/config/RedisKeySerializer.java:33
MethodafterPropertiesSet
()
volunteer/src/main/java/org/hgc/suts/volunteer/config/CacheConfiguration.java:32
MethodafterPropertiesSet
()
volunteer/src/main/java/org/hgc/suts/volunteer/config/RedisKeySerializer.java:33
MethodaiTaskExecutor
()
agent/src/main/java/org/hgc/suts/gateway/config/ThreadPoolConfig.java:14
Methodapply
(RequestTemplate template)
volunteer/src/main/java/org/hgc/suts/volunteer/config/FeignConfig.java:21
Functionassess_risk_file
( image: UploadFile = File(..., description="上传单帧 JPG/PNG/WebP"), session_id: str = Form(..., descript
ai_service/src/routes/risk_detection.py:14
MethodbeforeHandshake
(ServerHttpRequest request, ServerHttpResponse response, WebSocketHandler wsHandler, Map<String, Object> attri
picture/src/main/java/org/hgc/suts/picture/ws/interceptor/AiAuthHandshakeInterceptor.java:30
MethodbuildBaseSendExtendParam
(UploadPictureAnalysisEvent messageSendEvent)
picture/src/main/java/org/hgc/suts/picture/mq/producer/PictureAnalysisSendProducer.java:32
← previousnext →301–400 of 695, ranked by callers