Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hilo-group
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
hujiebin
hilo-group
Commits
e00f9b89
Commit
e00f9b89
authored
Apr 14, 2023
by
chenweijian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
充值提示
parent
fe085534
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
constDef.go
common/constDef.go
+1
-0
diamond.go
domain/service/diamond_s/diamond.go
+1
-1
No files found.
common/constDef.go
View file @
e00f9b89
...
...
@@ -107,6 +107,7 @@ const (
MSG_ID_BUY_FROM_FAMILY
MsgIdType
=
167
// 请向本家族代理购买钻石
MSG_ID_NEED_JOIN_FAMILY
MsgIdType
=
168
// 请加入代理的家族后进行购买
MSG_ID_SET_FAMILY_NAMEPL
MsgIdType
=
169
// 等级不够不能修改家族铭牌
MSG_ID_CHARGE_NO_AREA
MsgIdType
=
181
// 充值(代理转账,用户给代理充值),失败,不是本区域用户
ADD_GROUP_FAILED
AddGroupResultType
=
0
ADD_GROUP_DONE
AddGroupResultType
=
1
...
...
domain/service/diamond_s/diamond.go
View file @
e00f9b89
...
...
@@ -38,7 +38,7 @@ func (this *DiamondService) CheckDealerTransferFamilyLimit(dealerId, userId uint
return
err
}
if
dealerArea
!=
area
{
return
bizerr
.
DealerCannotSaleToOtherArea
return
myerr
.
WrapErr
(
res_m
.
GetErrByLanguage
(
model
.
Db
,
common
.
MSG_ID_CHARGE_NO_AREA
,
lang
,
bizerr
.
DealerCannotSaleToOtherArea
))
}
// 代理、用户是否加入了家族
...
...
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