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
d443f80a
Commit
d443f80a
authored
Jun 27, 2023
by
chenweijian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
派对邀请
parent
a078098c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
0 deletions
+31
-0
新人派对申请.sql
mysql/新人派对申请.sql
+15
-0
party_invite.go
route/invite_r/party_invite.go
+16
-0
No files found.
mysql/新人派对申请.sql
0 → 100644
View file @
d443f80a
CREATE
TABLE
`invite_apply`
(
`id`
bigint
unsigned
NOT
NULL
AUTO_INCREMENT
COMMENT
'id'
,
`user_id`
bigint
NOT
NULL
COMMENT
'发起申请者'
,
`new_user_id`
bigint
NOT
NULL
COMMENT
'被邀请的人'
,
`platform`
tinyint
unsigned
NOT
NULL
COMMENT
'从那个平台过来'
,
`status`
tinyint
unsigned
NOT
NULL
COMMENT
'状态1.未接受2.已接受3.拒接导致退费4.过期导致退费'
,
`created_time`
timestamp
NOT
NULL
DEFAULT
CURRENT_TIMESTAMP
,
`updated_time`
timestamp
NOT
NULL
DEFAULT
CURRENT_TIMESTAMP
ON
UPDATE
CURRENT_TIMESTAMP
,
PRIMARY
KEY
(
`id`
),
KEY
`uid_idx`
(
`user_id`
)
USING
BTREE
,
KEY
`uid2_idx`
(
`invite_user_id`
)
USING
BTREE
,
KEY
`status_idx`
(
`status`
)
USING
BTREE
,
KEY
`created_time`
(
`created_time`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8mb4
COLLATE
=
utf8mb4_0900_ai_ci
COMMENT
=
'新人邀请申请'
;
\ No newline at end of file
route/invite_r/party_invite.go
0 → 100644
View file @
d443f80a
package
invite_r
import
(
"git.hilo.cn/hilo-common/mycontext"
"github.com/gin-gonic/gin"
)
// @Tags 新人排队申请
// @Summary 提交申请
// @Param externalId formData string true "对方的externalId"
// @Param type formData int true "类型1.撤销2.接受"
// @Success 200
// @Router /v2/cp/relation/cancel/reply [post]
func
InvitePartyReply
(
c
*
gin
.
Context
)
(
*
mycontext
.
MyContext
,
error
)
{
}
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