feat(app): update
This commit is contained in:
@ -3,9 +3,10 @@ package res
|
||||
import (
|
||||
"fmt"
|
||||
"net/http"
|
||||
"servicebase/pkg/cerrors"
|
||||
"servicebase/pkg/log"
|
||||
"servicebase/pkg/req"
|
||||
|
||||
"gitea.ddegame.cn/open/servicebase/pkg/cerrors"
|
||||
"gitea.ddegame.cn/open/servicebase/pkg/log"
|
||||
"gitea.ddegame.cn/open/servicebase/pkg/req"
|
||||
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
package res
|
||||
|
||||
import "servicebase/pkg/datasource/fields"
|
||||
import "gitea.ddegame.cn/open/servicebase/pkg/datasource/fields"
|
||||
|
||||
type ActNewsAll struct {
|
||||
ListType []ActNewsType `gorm:"-" json:"list_type"`
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
package res
|
||||
|
||||
import "servicebase/pkg/datasource/fields"
|
||||
import "gitea.ddegame.cn/open/servicebase/pkg/datasource/fields"
|
||||
|
||||
type News struct {
|
||||
ID string `gorm:"column:id;type:char(32);not null;uniqueIndex:id,priority:1;comment:业务ID" json:"id"` // 业务ID
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
package res
|
||||
|
||||
import "servicebase/pkg/datasource/fields"
|
||||
import "gitea.ddegame.cn/open/servicebase/pkg/datasource/fields"
|
||||
|
||||
type UserGameRole struct {
|
||||
ID string `gorm:"column:id;type:char(32);not null;uniqueIndex:id,priority:1;comment:业务ID" json:"id"` // 业务ID
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
package res
|
||||
|
||||
import "servicebase/pkg/datasource/fields"
|
||||
import "gitea.ddegame.cn/open/servicebase/pkg/datasource/fields"
|
||||
|
||||
type UserRes struct {
|
||||
IDBody
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
package res
|
||||
|
||||
import "servicebase/pkg/datasource/fields"
|
||||
import "gitea.ddegame.cn/open/servicebase/pkg/datasource/fields"
|
||||
|
||||
type UserClanRes struct {
|
||||
ID string `gorm:"column:id;type:char(32);not null;uniqueIndex:id,priority:1;comment:ID" json:"id"`
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
package res
|
||||
|
||||
import (
|
||||
"servicebase/pkg/datasource/fields"
|
||||
"gitea.ddegame.cn/open/servicebase/pkg/datasource/fields"
|
||||
|
||||
"github.com/shopspring/decimal"
|
||||
)
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
package res
|
||||
|
||||
import "servicebase/pkg/datasource/fields"
|
||||
import "gitea.ddegame.cn/open/servicebase/pkg/datasource/fields"
|
||||
|
||||
type UserFriendRes struct {
|
||||
ID string `gorm:"column:id;type:char(32);not null;uniqueIndex:id,priority:1;comment:ID" json:"id"`
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
package res
|
||||
|
||||
import "servicebase/pkg/datasource/fields"
|
||||
import "gitea.ddegame.cn/open/servicebase/pkg/datasource/fields"
|
||||
|
||||
type UserMomentRes struct {
|
||||
ID string `gorm:"column:id;type:char(32);not null;uniqueIndex:id,priority:1;comment:ID" json:"id"`
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
package res
|
||||
|
||||
import (
|
||||
"servicebase/pkg/datasource/fields"
|
||||
"gitea.ddegame.cn/open/servicebase/pkg/datasource/fields"
|
||||
|
||||
"github.com/shopspring/decimal"
|
||||
)
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
package res
|
||||
|
||||
import "servicebase/pkg/datasource/fields"
|
||||
import "gitea.ddegame.cn/open/servicebase/pkg/datasource/fields"
|
||||
|
||||
type CategoryTreeRes struct {
|
||||
IDBody
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
package res
|
||||
|
||||
import (
|
||||
"servicebase/pkg/datasource/fields"
|
||||
"gitea.ddegame.cn/open/servicebase/pkg/datasource/fields"
|
||||
)
|
||||
|
||||
type AdminUserAuthRes struct {
|
||||
|
||||
Reference in New Issue
Block a user