mirror of
				https://gitee.com/dromara/mayfly-go
				synced 2025-11-04 08:20:25 +08:00 
			
		
		
		
	feat: 数据库sql执行支持取消执行操作
This commit is contained in:
		@@ -101,7 +101,7 @@ func (rc *Ctx) GetLogInfo() *LogInfo {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func NewCtxWithGin(g *gin.Context) *Ctx {
 | 
			
		||||
	return &Ctx{GinCtx: g, MetaCtx: contextx.NewTraceId()}
 | 
			
		||||
	return &Ctx{GinCtx: g, MetaCtx: contextx.WithTraceId(g.Request.Context())}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// 处理器拦截器函数
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user