Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hilo-user
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenweijian
hilo-user
Commits
d1dc1118
Commit
d1dc1118
authored
Jul 10, 2023
by
chenweijian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
派对申请
parent
4979bec2
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
0 deletions
+3
-0
invite_apply.go
cv/invite_cv/invite_apply.go
+1
-0
invite_apply.go
domain/model/invite_m/invite_apply.go
+1
-0
party_invite.go
route/invite_r/party_invite.go
+1
-0
No files found.
cv/invite_cv/invite_apply.go
View file @
d1dc1118
...
@@ -26,6 +26,7 @@ type InviteApply struct {
...
@@ -26,6 +26,7 @@ type InviteApply struct {
Status
uint8
`json:"status"`
// 状态0.未审核1.已通过2.已拒绝
Status
uint8
`json:"status"`
// 状态0.未审核1.已通过2.已拒绝
Avatar
string
`json:"avatar"`
Avatar
string
`json:"avatar"`
ExternalId
string
`json:"externalId"`
ExternalId
string
`json:"externalId"`
Reason
int
`json:"reason"`
// 1.已申请2.待审核3.已通过4.已拒绝"
}
}
type
InviteApplyNumRes
struct
{
type
InviteApplyNumRes
struct
{
...
...
domain/model/invite_m/invite_apply.go
View file @
d1dc1118
...
@@ -18,6 +18,7 @@ type InviteApply struct {
...
@@ -18,6 +18,7 @@ type InviteApply struct {
VideoUrl
string
`json:"video_url"`
VideoUrl
string
`json:"video_url"`
Level
string
`json:"level"`
Level
string
`json:"level"`
CreatedTime
time
.
Time
`json:"created_time"`
CreatedTime
time
.
Time
`json:"created_time"`
Reason
int
`json:"reason"`
// 1.已申请2.待审核3.已通过4.已拒绝"
}
}
func
CreateInviteApply
(
model
*
domain
.
Model
,
userId
,
newUserId
uint64
,
platform
,
platformId
,
recharge
,
videoUrl
string
)
error
{
func
CreateInviteApply
(
model
*
domain
.
Model
,
userId
,
newUserId
uint64
,
platform
,
platformId
,
recharge
,
videoUrl
string
)
error
{
...
...
route/invite_r/party_invite.go
View file @
d1dc1118
...
@@ -214,6 +214,7 @@ func InviteApplyList(c *gin.Context) (*mycontext.MyContext, error) {
...
@@ -214,6 +214,7 @@ func InviteApplyList(c *gin.Context) (*mycontext.MyContext, error) {
Status
:
v
.
Status
,
Status
:
v
.
Status
,
Avatar
:
users
[
v
.
NewUserId
]
.
Avatar
,
Avatar
:
users
[
v
.
NewUserId
]
.
Avatar
,
ExternalId
:
users
[
v
.
NewUserId
]
.
ExternalId
,
ExternalId
:
users
[
v
.
NewUserId
]
.
ExternalId
,
Reason
:
v
.
Reason
,
})
})
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment