feat : update

This commit is contained in:
yanghao05
2025-04-30 21:05:16 +08:00
parent d6c5a2677c
commit 9a66277dd7
37 changed files with 67 additions and 30 deletions

View File

@@ -2,6 +2,7 @@ package publishers
import (
"encoding/json"
"quyun/app/events"
"go.ipao.vip/atom/contracts"

View File

@@ -2,6 +2,7 @@ package subscribers
import (
"encoding/json"
"quyun/app/events"
"quyun/app/events/publishers"

View File

@@ -4,6 +4,7 @@ import (
"errors"
"fmt"
"path/filepath"
"quyun/app/jobs"
"quyun/app/models"
"quyun/database/schemas/public/model"

View File

@@ -2,13 +2,14 @@ package http
import (
"net/url"
"time"
"quyun/app/models"
"quyun/database/fields"
"quyun/database/schemas/public/model"
"quyun/pkg/utils"
"quyun/providers/jwt"
"quyun/providers/wechat"
"time"
"github.com/gofiber/fiber/v3"
"github.com/pkg/errors"

View File

@@ -2,6 +2,7 @@ package http
import (
"net/http"
"quyun/app/jobs"
"quyun/providers/job"
"quyun/providers/wepay"

View File

@@ -2,13 +2,14 @@ package http
import (
_ "embed"
"time"
"quyun/app/models"
"quyun/app/requests"
"quyun/database/fields"
"quyun/database/schemas/public/model"
"quyun/providers/ali"
"quyun/providers/wepay"
"time"
"github.com/go-pay/gopay/wechat/v3"
"github.com/gofiber/fiber/v3"

View File

@@ -1,11 +1,12 @@
package http
import (
"quyun/app/models"
"quyun/database/schemas/public/model"
"strings"
"time"
"quyun/app/models"
"quyun/database/schemas/public/model"
"github.com/gofiber/fiber/v3"
)

View File

@@ -1,10 +1,11 @@
package http
import (
"time"
"quyun/app/models"
"quyun/database/schemas/public/model"
"quyun/providers/wechat"
"time"
"github.com/gofiber/fiber/v3"
"github.com/gofiber/fiber/v3/log"

View File

@@ -4,11 +4,12 @@ import (
"context"
"os"
"path/filepath"
"time"
"quyun/app/models"
"quyun/providers/ali"
"quyun/providers/app"
"quyun/providers/job"
"time"
. "github.com/riverqueue/river"
log "github.com/sirupsen/logrus"

View File

@@ -2,12 +2,13 @@ package jobs
import (
"context"
"testing"
"quyun/app/models"
"quyun/app/service/testx"
"quyun/providers/ali"
"quyun/providers/app"
"quyun/providers/job"
"testing"
. "github.com/riverqueue/river"
. "github.com/smartystreets/goconvey/convey"

View File

@@ -2,6 +2,8 @@ package jobs
import (
"context"
"time"
"quyun/app/models"
"quyun/database/fields"
"quyun/database/schemas/public/model"
@@ -9,7 +11,6 @@ import (
"quyun/providers/ali"
"quyun/providers/app"
"quyun/providers/job"
"time"
. "github.com/riverqueue/river"
"github.com/samber/lo"

View File

@@ -3,12 +3,13 @@ package jobs
import (
"context"
"path/filepath"
"time"
"quyun/app/models"
"quyun/database/fields"
"quyun/pkg/utils"
"quyun/providers/app"
"quyun/providers/job"
"time"
. "github.com/riverqueue/river"
log "github.com/sirupsen/logrus"

View File

@@ -4,6 +4,8 @@ import (
"context"
"os"
"path/filepath"
"time"
"quyun/app/models"
"quyun/database/fields"
"quyun/database/schemas/public/model"
@@ -11,7 +13,6 @@ import (
"quyun/providers/ali"
"quyun/providers/app"
"quyun/providers/job"
"time"
. "github.com/riverqueue/river"
log "github.com/sirupsen/logrus"

View File

@@ -3,6 +3,8 @@ package jobs
import (
"context"
"path/filepath"
"time"
"quyun/app/models"
"quyun/database/fields"
"quyun/database/schemas/public/model"
@@ -10,7 +12,6 @@ import (
"quyun/providers/ali"
"quyun/providers/app"
"quyun/providers/job"
"time"
. "github.com/riverqueue/river"
log "github.com/sirupsen/logrus"

View File

@@ -3,10 +3,11 @@ package jobs
import (
"context"
"fmt"
"time"
"quyun/app/models"
"quyun/database/fields"
"quyun/providers/wepay"
"time"
"github.com/pkg/errors"
. "github.com/riverqueue/river"

View File

@@ -3,13 +3,14 @@ package jobs
import (
"context"
"encoding/json"
"testing"
"quyun/app/models"
"quyun/app/service/testx"
"quyun/providers/ali"
"quyun/providers/app"
"quyun/providers/job"
"quyun/providers/wepay"
"testing"
. "github.com/riverqueue/river"
. "github.com/smartystreets/goconvey/convey"

View File

@@ -2,11 +2,12 @@ package middlewares
import (
"net/url"
"quyun/app/models"
"quyun/pkg/utils"
"strings"
"time"
"quyun/app/models"
"quyun/pkg/utils"
"github.com/gofiber/fiber/v3"
log "github.com/sirupsen/logrus"
)

View File

@@ -2,11 +2,12 @@ package models
import (
"context"
"time"
"quyun/app/requests"
"quyun/database/fields"
"quyun/database/schemas/public/model"
"quyun/database/schemas/public/table"
"time"
. "github.com/go-jet/jet/v2/postgres"
"github.com/samber/lo"

View File

@@ -5,13 +5,14 @@ import (
"fmt"
"math"
"math/rand"
"testing"
"time"
"quyun/app/requests"
"quyun/app/service/testx"
"quyun/database"
"quyun/database/schemas/public/model"
"quyun/database/schemas/public/table"
"testing"
"time"
. "github.com/smartystreets/goconvey/convey"
"go.ipao.vip/atom/contracts"

View File

@@ -3,11 +3,12 @@ package models
import (
"context"
"fmt"
"time"
"quyun/app/requests"
"quyun/database/fields"
"quyun/database/schemas/public/model"
"quyun/database/schemas/public/table"
"time"
. "github.com/go-jet/jet/v2/postgres"
"github.com/pkg/errors"

View File

@@ -2,10 +2,11 @@ package models
import (
"context"
"testing"
"quyun/app/service/testx"
"quyun/database"
"quyun/database/schemas/public/table"
"testing"
. "github.com/smartystreets/goconvey/convey"
"go.ipao.vip/atom/contracts"

View File

@@ -3,10 +3,11 @@ package models
import (
"context"
"errors"
"time"
"quyun/app/requests"
"quyun/database/schemas/public/model"
"quyun/database/schemas/public/table"
"time"
. "github.com/go-jet/jet/v2/postgres"
"github.com/go-jet/jet/v2/qrm"

View File

@@ -4,12 +4,13 @@ import (
"context"
"fmt"
"math/rand"
"testing"
"quyun/app/service/testx"
"quyun/database"
"quyun/database/fields"
"quyun/database/schemas/public/model"
"quyun/database/schemas/public/table"
"testing"
. "github.com/smartystreets/goconvey/convey"
"go.ipao.vip/atom/contracts"

View File

@@ -3,11 +3,12 @@ package models
import (
"context"
"database/sql"
"time"
"quyun/app/requests"
"quyun/database/fields"
"quyun/database/schemas/public/model"
"quyun/database/schemas/public/table"
"time"
. "github.com/go-jet/jet/v2/postgres"
"github.com/go-jet/jet/v2/qrm"

View File

@@ -2,12 +2,13 @@ package models
import (
"context"
"testing"
"quyun/app/service/testx"
"quyun/database"
"quyun/database/fields"
"quyun/database/schemas/public/model"
"quyun/database/schemas/public/table"
"testing"
"github.com/samber/lo"
. "github.com/smartystreets/goconvey/convey"

View File

@@ -9,11 +9,12 @@ import (
"os"
"os/exec"
"path/filepath"
"quyun/app/service"
"strconv"
"strings"
"time"
"quyun/app/service"
"go.ipao.vip/atom"
"go.ipao.vip/atom/container"

View File

@@ -2,6 +2,7 @@ package event
import (
"context"
"quyun/app/events/subscribers"
"quyun/app/service"
"quyun/providers/app"

View File

@@ -4,6 +4,7 @@ import (
"context"
"mime"
"path/filepath"
"quyun/app/jobs"
"quyun/app/middlewares"
"quyun/app/models"

View File

@@ -3,6 +3,7 @@ package migrate
import (
"context"
"database/sql"
"quyun/app/service"
"quyun/database"
"quyun/providers/postgres"

View File

@@ -2,6 +2,7 @@ package queue
import (
"context"
"quyun/app/jobs"
"quyun/app/service"
"quyun/providers/app"

View File

@@ -2,12 +2,13 @@ package testx
import (
"os"
"testing"
"quyun/providers/ali"
"quyun/providers/app"
"quyun/providers/job"
"quyun/providers/postgres"
"quyun/providers/wechat"
"testing"
"go.ipao.vip/atom"
"go.ipao.vip/atom/container"