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,13 +1,14 @@
package ess
import (
"servicebase/pkg/common/es/document"
"servicebase/pkg/common/messages"
"context"
"encoding/json"
"reflect"
"time"
"gitea.ddegame.cn/open/servicebase/pkg/common/es/document"
"gitea.ddegame.cn/open/servicebase/pkg/common/messages"
"github.com/anxpp/beego/logs"
"github.com/olivere/elastic/v7"
"github.com/spf13/viper"

View File

@ -1,11 +1,12 @@
package ess
import (
"servicebase/pkg/common/messages"
"context"
"testing"
"time"
"gitea.ddegame.cn/open/servicebase/pkg/common/messages"
"github.com/anxpp/beego/logs"
"github.com/olivere/elastic/v7"
"github.com/spf13/viper"

View File

@ -1,6 +1,6 @@
package response
import "servicebase/pkg/common/http/dto"
import "gitea.ddegame.cn/open/servicebase/pkg/common/http/dto"
type CommonResponse struct {
Code string
@ -15,7 +15,7 @@ type UserInfoResponse struct {
Msg string
}
//获取用户邀请汇总数据返回
// 获取用户邀请汇总数据返回
type UserInviteSummaryResponse struct {
Code string
Result dto.UserInviteSummaryDTO

View File

@ -4,13 +4,14 @@ import (
"context"
"encoding/json"
"fmt"
"servicebase/pkg/common"
"servicebase/pkg/common/HyTools"
yunxin "servicebase/pkg/common/netease/dto"
"servicebase/pkg/htools"
"servicebase/pkg/log"
"strings"
"gitea.ddegame.cn/open/servicebase/pkg/common"
"gitea.ddegame.cn/open/servicebase/pkg/common/HyTools"
yunxin "gitea.ddegame.cn/open/servicebase/pkg/common/netease/dto"
"gitea.ddegame.cn/open/servicebase/pkg/htools"
"gitea.ddegame.cn/open/servicebase/pkg/log"
"github.com/pkg/errors"
"github.com/spf13/cast"
@ -501,7 +502,6 @@ func (client *ImClient) ChangeChatroomStat(parameters map[string]string) error {
return err
}
//{"desc":"parameter roomid should be long","code":414}
var resData struct {
Code int `json:"code"`
Desc string `json:"desc"`

View File

@ -1,9 +1,10 @@
package util
import (
"servicebase/pkg/common"
"fmt"
"testing"
"gitea.ddegame.cn/open/servicebase/pkg/common"
)
func Test_processTimeStr(t *testing.T) {