diff --git a/internal/errs/errs.go b/internal/errs/errs.go new file mode 100644 index 0000000..fa443f5 --- /dev/null +++ b/internal/errs/errs.go @@ -0,0 +1,11 @@ +package errs + +import ( + "net/http" + "sorbet/pkg/rsp" +) + +var ( + ErrWechatNotBound = rsp.NewError(http.StatusBadRequest, 10001, "微信尚未绑定") + ErrLoginWithUserpwd = rsp.NewError(http.StatusUnauthorized, 10002, "用户名或密码错误") +)