Initial commit

This commit is contained in:
2026-05-20 16:13:58 +08:00
commit ceffbe382e
500 changed files with 157469 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
package consumer
import (
"context"
"stat/common/utils"
)
type ContinueError struct {
msg string
}
func NewContinueError(text string) error {
ret := &ContinueError{
msg: text,
}
return ret
}
func (e *ContinueError) Error() string {
return e.msg
}
// HttpRequest HttpRequest
func HttpRequest(ctx context.Context, url string, request interface{}, resp interface{}) error {
return utils.HttpPostRequestJson(url, request, resp)
}