feat(app): update

This commit is contained in:
Yangtao
2025-11-19 10:23:05 +08:00
parent 7c0ad28e96
commit 337fbce076
62 changed files with 128 additions and 94 deletions

View File

@ -1,12 +1,13 @@
package mq_http
import (
"servicebase/pkg/htools"
"servicebase/pkg/partner/mq/message"
"servicebase/pkg/partner/mq/pusher"
"encoding/json"
"fmt"
"gitea.ddegame.cn/open/servicebase/pkg/htools"
"gitea.ddegame.cn/open/servicebase/pkg/partner/mq/message"
"gitea.ddegame.cn/open/servicebase/pkg/partner/mq/pusher"
"github.com/spf13/viper"
)

View File

@ -1,14 +1,15 @@
package mq
import (
"servicebase/pkg/common/HyTools"
mq_http "servicebase/pkg/partner/mq/http"
message2 "servicebase/pkg/partner/mq/message"
"servicebase/pkg/partner/mq/pusher"
"encoding/json"
"errors"
"strconv"
"strings"
"gitea.ddegame.cn/open/servicebase/pkg/common/HyTools"
mq_http "gitea.ddegame.cn/open/servicebase/pkg/partner/mq/http"
message2 "gitea.ddegame.cn/open/servicebase/pkg/partner/mq/message"
"gitea.ddegame.cn/open/servicebase/pkg/partner/mq/pusher"
)
var (

View File

@ -1,6 +1,6 @@
package pusher
import "servicebase/pkg/partner/mq/message"
import "gitea.ddegame.cn/open/servicebase/pkg/partner/mq/message"
type PushClient interface {
PushRegisterMessage(m message.RegisterMessage) (e error)

View File

@ -1,15 +1,16 @@
package rocket
import (
"servicebase/pkg/common"
"servicebase/pkg/partner/mq/message"
"servicebase/pkg/partner/mq/pusher"
"context"
"encoding/json"
"fmt"
"strings"
"sync"
"gitea.ddegame.cn/open/servicebase/pkg/common"
"gitea.ddegame.cn/open/servicebase/pkg/partner/mq/message"
"gitea.ddegame.cn/open/servicebase/pkg/partner/mq/pusher"
"github.com/anxpp/beego/logs"
"github.com/apache/rocketmq-client-go/v2"
"github.com/apache/rocketmq-client-go/v2/primitive"

View File

@ -1,11 +1,12 @@
package mq
import (
"servicebase/pkg/common"
"servicebase/pkg/partner/mq/message"
"testing"
"time"
"gitea.ddegame.cn/open/servicebase/pkg/common"
"gitea.ddegame.cn/open/servicebase/pkg/partner/mq/message"
"github.com/anxpp/beego"
)