优化
This commit is contained in:
parent
4237a3bf89
commit
93e15bdc9d
@ -27,6 +27,7 @@ func (hook *SupportAccountHook) Create(projectInfo *entity.Project, resource str
|
||||
params.Add("type", "support")
|
||||
params.Add("value", info.Account)
|
||||
params.Add("op", "add")
|
||||
params.Add("sc_channel", info.Channel)
|
||||
//params.Add("server", info.ServerConfID)
|
||||
|
||||
rsp := make(map[string]any)
|
||||
|
@ -15,6 +15,7 @@ type SupportAccount struct {
|
||||
ProjectId int `gorm:"uniqueIndex:idx_account"`
|
||||
//ServerConfID string `gorm:"type:varchar(200);uniqueIndex:idx_account;index:idx_server" name:"区服id" required:"true" choices:"GetChoiceServers" where:"eq"`
|
||||
Account string `gorm:"type:varchar(200);uniqueIndex:idx_account;" name:"账号" desc:"用逗号标记多个" required:"true"`
|
||||
Channel string `name:"渠道" desc:"渠道名,用于后台统计分析归类" required:"true"`
|
||||
|
||||
CreatedAt time.Time `readonly:"true" where:"range"`
|
||||
UpdatedAt time.Time `readonly:"true"`
|
||||
|
@ -19,6 +19,7 @@ require (
|
||||
github.com/smallnest/rpcx v1.9.1
|
||||
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cdn v1.0.1200
|
||||
github.com/tencentyun/cos-go-sdk-v5 v0.7.66
|
||||
github.com/xuri/excelize/v2 v2.9.1
|
||||
golang.org/x/crypto v0.39.0
|
||||
golang.org/x/sync v0.15.0
|
||||
golang.org/x/telemetry v0.0.0-20250507143331-155ddd5254aa
|
||||
@ -125,7 +126,6 @@ require (
|
||||
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
|
||||
github.com/xtaci/kcp-go v5.4.20+incompatible // indirect
|
||||
github.com/xuri/efp v0.0.1 // indirect
|
||||
github.com/xuri/excelize/v2 v2.9.1 // indirect
|
||||
github.com/xuri/nfp v0.0.1 // indirect
|
||||
go.opentelemetry.io/otel v1.36.0 // indirect
|
||||
go.opentelemetry.io/otel/trace v1.36.0 // indirect
|
||||
|
@ -712,6 +712,8 @@ golang.org/x/crypto v0.39.0/go.mod h1:L+Xg3Wf6HoL4Bn4238Z6ft6KfEpN0tJGo53AAPC632
|
||||
golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
|
||||
golang.org/x/exp v0.0.0-20250128144449-3edf0e91c1ae h1:COZdc9Ut6wLq7MO9GIYxfZl4n4ScmgqQLoHocKXrxco=
|
||||
golang.org/x/exp v0.0.0-20250128144449-3edf0e91c1ae/go.mod h1:tujkw807nyEEAamNbDrEGzRav+ilXA7PCRAd6xsmwiU=
|
||||
golang.org/x/image v0.25.0 h1:Y6uW6rH1y5y/LK1J8BPWZtr6yZ7hrsy6hFrXjgsc2fQ=
|
||||
golang.org/x/image v0.25.0/go.mod h1:tCAmOEGthTtkalusGp1g3xa2gke8J6c2N565dTyl9Rs=
|
||||
golang.org/x/lint v0.0.0-20180702182130-06c8688daad7/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
|
||||
golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
|
||||
golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU=
|
||||
|
@ -1,5 +1,7 @@
|
||||
# ui
|
||||
|
||||
[//]: # (nvm use v16.17.1)
|
||||
nvm use v22.14.0
|
||||
npm install --registry=https://registry.npmmirror.com
|
||||
npm run dev
|
||||
npm run build
|
||||
|
Loading…
x
Reference in New Issue
Block a user