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)
//return c.SendString(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))
}
ifres,ok:=getAsyncRes(taskId);ok{
...
...
@@ -987,7 +984,6 @@ func main() {
returnApiErrorF(c,fmt.Sprintf("can not find out the task id %s in result cache.",taskId),attributes)
//return c.SendString(fmt.Sprintf("can not find out the task id %s in result cache.", taskId))