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

@ -8,9 +8,10 @@ import (
"errors"
"fmt"
"net/http"
"servicebase/pkg/common/HyTools"
"time"
"gitea.ddegame.cn/open/servicebase/pkg/common/HyTools"
"github.com/anxpp/beego/logs"
"github.com/dgrijalva/jwt-go"
"github.com/spf13/viper"

View File

@ -6,15 +6,16 @@ import (
"encoding/xml"
"errors"
"net/http"
"servicebase/pkg/common"
"servicebase/pkg/htools"
"servicebase/pkg/log"
"servicebase/pkg/partner/wxpay_utility"
"sort"
"strconv"
"strings"
"time"
"gitea.ddegame.cn/open/servicebase/pkg/common"
"gitea.ddegame.cn/open/servicebase/pkg/htools"
"gitea.ddegame.cn/open/servicebase/pkg/log"
"gitea.ddegame.cn/open/servicebase/pkg/partner/wxpay_utility"
"github.com/spf13/viper"
"github.com/wechatpay-apiv3/wechatpay-go/core"
"github.com/wechatpay-apiv3/wechatpay-go/core/auth/verifiers"

View File

@ -7,11 +7,12 @@ import (
"errors"
"fmt"
"net/http"
"servicebase/pkg/common/HyTools"
"sort"
"strconv"
"time"
"gitea.ddegame.cn/open/servicebase/pkg/common/HyTools"
"github.com/anxpp/beego/logs"
"github.com/spf13/viper"
)

View File

@ -4,7 +4,8 @@ import (
"encoding/json"
"errors"
"net/url"
"servicebase/pkg/htools"
"gitea.ddegame.cn/open/servicebase/pkg/htools"
"github.com/anxpp/beego/logs"
)

View File

@ -2,9 +2,10 @@ package ali_auth
import (
"fmt"
"servicebase/pkg/log"
"strings"
"gitea.ddegame.cn/open/servicebase/pkg/log"
"github.com/pkg/errors"
"github.com/spf13/viper"

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"
)

View File

@ -1,13 +1,14 @@
package recommend
import (
"servicebase/pkg/cache"
"bytes"
"encoding/json"
"fmt"
"io/ioutil"
"net/http"
"gitea.ddegame.cn/open/servicebase/pkg/cache"
"github.com/anxpp/beego"
"github.com/anxpp/beego/logs"
redis "github.com/redis/go-redis/v9"

View File

@ -2,9 +2,10 @@ package submail
import (
"encoding/json"
"servicebase/pkg/utils"
"sort"
"gitea.ddegame.cn/open/servicebase/pkg/utils"
"github.com/spf13/viper"
)