feat(app): update
This commit is contained in:
@ -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"
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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"
|
||||
)
|
||||
|
||||
@ -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"
|
||||
)
|
||||
|
||||
@ -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"
|
||||
|
||||
|
||||
@ -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"
|
||||
)
|
||||
|
||||
|
||||
@ -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 (
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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"
|
||||
)
|
||||
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -2,9 +2,10 @@ package submail
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
"servicebase/pkg/utils"
|
||||
"sort"
|
||||
|
||||
"gitea.ddegame.cn/open/servicebase/pkg/utils"
|
||||
|
||||
"github.com/spf13/viper"
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user