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

@ -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"
)

View File

@ -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"`

View File

@ -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

View File

@ -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

View File

@ -1,6 +1,6 @@
package res
import "servicebase/pkg/datasource/fields"
import "gitea.ddegame.cn/open/servicebase/pkg/datasource/fields"
type UserRes struct {
IDBody

View File

@ -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"`

View File

@ -1,7 +1,7 @@
package res
import (
"servicebase/pkg/datasource/fields"
"gitea.ddegame.cn/open/servicebase/pkg/datasource/fields"
"github.com/shopspring/decimal"
)

View File

@ -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"`

View File

@ -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"`

View File

@ -1,7 +1,7 @@
package res
import (
"servicebase/pkg/datasource/fields"
"gitea.ddegame.cn/open/servicebase/pkg/datasource/fields"
"github.com/shopspring/decimal"
)

View File

@ -1,6 +1,6 @@
package res
import "servicebase/pkg/datasource/fields"
import "gitea.ddegame.cn/open/servicebase/pkg/datasource/fields"
type CategoryTreeRes struct {
IDBody

View File

@ -1,7 +1,7 @@
package res
import (
"servicebase/pkg/datasource/fields"
"gitea.ddegame.cn/open/servicebase/pkg/datasource/fields"
)
type AdminUserAuthRes struct {