// if taskHeaders, ok := reqHeaders[TaskIdAtrr]; ok {
// if taskHeaders == nil || len(taskHeaders) == 0 {
// return ApiErrorF(c, fmt.Sprintf(fmt.Sprintf("Please provide http header %s value, right now the value is %v.", TaskIdAtrr, taskHeaders)), queryBaseAttributes)
returnApiErrorF(c,fmt.Sprintf("Please provide http header %s value, right now the value is %v.",RequestId,RequestIdHeaders),baseAttributes)
returnApiErrorF(c,fmt.Sprintf(fmt.Sprintf("Please provide http header %s value, right now the value is %v.",RequestId,RequestIdHeaders)),queryBaseAttributes)
}
}else{
returnApiErrorF(c,fmt.Sprintf("Please provide http header %s .",RequestId),attributes)
returnApiErrorF(c,fmt.Sprintf("Please provide http header %s .",RequestId),queryBaseAttributes)
slog.LogAttrs(c.UserContext(),slog.LevelInfo,"http api query task",newAttributes...)
iflen(taskId)==0{
returnApiErrorF(c,fmt.Sprintf("%s must provide task id param for route %s ; e.g. http://127.0.0.1/query/v1/e45b5ebc-c71e-4ab8-b10f-d1202e7fb16e ",c.Path(),c.Route().Path),attributes)
returnApiErrorF(c,fmt.Sprintf("%s must provide task id param for route %s ; e.g. http://127.0.0.1/query/v1/e45b5ebc-c71e-4ab8-b10f-d1202e7fb16e ",c.Path(),c.Route().Path),newAttributes)