feat(app): update
This commit is contained in:
@ -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"
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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"`
|
||||
|
||||
@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user