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,11 +1,12 @@
package http_api
import (
"servicebase/pkg/log"
"servicebase/pkg/res"
"servicebase/pkg/utils"
"errors"
"gitea.ddegame.cn/open/servicebase/pkg/log"
"gitea.ddegame.cn/open/servicebase/pkg/res"
"gitea.ddegame.cn/open/servicebase/pkg/utils"
"github.com/go-resty/resty/v2"
)

View File

@ -4,7 +4,7 @@ import (
"context"
"fmt"
"servicebase/pkg/common/req"
"gitea.ddegame.cn/open/servicebase/pkg/common/req"
"github.com/spf13/viper"
"go.mongodb.org/mongo-driver/bson"

View File

@ -1,12 +1,13 @@
package Netease
import (
"servicebase/pkg/common/HyTools"
"encoding/json"
"net/url"
"time"
Netease "servicebase/pkg/common/netease"
"gitea.ddegame.cn/open/servicebase/pkg/common/HyTools"
Netease "gitea.ddegame.cn/open/servicebase/pkg/common/netease"
"github.com/anxpp/beego"
"github.com/anxpp/beego/logs"

View File

@ -2,7 +2,8 @@ package Netease
import (
"encoding/json"
"servicebase/pkg/log"
"gitea.ddegame.cn/open/servicebase/pkg/log"
"github.com/pkg/errors"
"github.com/spf13/viper"

View File

@ -10,12 +10,13 @@ import (
"math/rand"
"net/http"
"net/url"
"servicebase/pkg/log"
"sort"
"strconv"
"strings"
"time"
"gitea.ddegame.cn/open/servicebase/pkg/log"
"github.com/pkg/errors"
"github.com/spf13/viper"
"github.com/tjfoc/gmsm/sm3"

View File

@ -2,7 +2,8 @@ package client
import (
"fmt"
"servicebase/pkg/tools"
"gitea.ddegame.cn/open/servicebase/pkg/tools"
rtctokenbuilder "github.com/AgoraIO/Tools/DynamicKey/AgoraDynamicKey/go/src/rtctokenbuilder2"
"github.com/spf13/viper"

View File

@ -3,10 +3,11 @@ package client
import (
"errors"
"fmt"
"servicebase/pkg/helper"
"servicebase/pkg/log"
"sync"
"gitea.ddegame.cn/open/servicebase/pkg/helper"
"gitea.ddegame.cn/open/servicebase/pkg/log"
openapi "github.com/alibabacloud-go/darabonba-openapi/v2/client"
dysmsapi20170525 "github.com/alibabacloud-go/dysmsapi-20170525/v3/client"
util "github.com/alibabacloud-go/tea-utils/v2/service"