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
15acc8c9
Commit
15acc8c9
authored
Mar 14, 2023
by
hujiebin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
赠送背包礼物
parent
0fa7b365
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
enum.go
_const/enum/msg_e/enum.go
+1
-0
event_init.go
domain/service/event_s/event_init.go
+1
-1
No files found.
_const/enum/msg_e/enum.go
View file @
15acc8c9
...
...
@@ -109,6 +109,7 @@ const (
GroupActivityRewardMsg
=
38
// 群组活动钻石奖励提醒
TemplateActAwardMsg
=
39
// 通用模板活动奖励提醒
TemplateSmsCode
=
40
// 通用模板活动奖励提醒
AddUserBag
=
50
// 赠送背包礼物
)
type
MsgSysUserType
=
mysql
.
Type
...
...
domain/service/event_s/event_init.go
View file @
15acc8c9
...
...
@@ -33,7 +33,7 @@ func UserBagSendEvent() {
if
err
!=
nil
{
return
err
}
if
err
:=
msg_m
.
NewUserRecord
(
model
,
e
.
UserId
,
msg_e
.
Add
Props
,
if
err
:=
msg_m
.
NewUserRecord
(
model
,
e
.
UserId
,
msg_e
.
Add
UserBag
,
""
,
0
,
""
,
fmt
.
Sprintf
(
"%d"
,
e
.
Day
),
gift
.
IconUrl
,
""
,
""
)
.
Persistent
();
err
!=
nil
{
model
.
Log
.
Errorf
(
"NewUserRecord fail"
)
...
...
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