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
4b169c69
Commit
4b169c69
authored
Apr 04, 2023
by
chenweijian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
错误码
parent
a824e4bb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
diamond.go
domain/service/diamond_s/diamond.go
+1
-2
bizCode.go
myerr/bizerr/bizCode.go
+1
-0
No files found.
domain/service/diamond_s/diamond.go
View file @
4b169c69
package
diamond_s
import
(
"errors"
"git.hilo.cn/hilo-common/domain"
"git.hilo.cn/hilo-common/mycontext"
"git.hilo.cn/hilo-common/resource/mysql"
...
...
@@ -39,7 +38,7 @@ func (this *DiamondService) CheckDealerTransferFamilyLimit(dealerId, userId uint
return
err
}
if
dealerArea
!=
area
{
return
errors
.
New
(
"fail"
)
return
bizerr
.
DealerCannotSaleToOtherArea
}
// 代理、用户是否加入了家族
...
...
myerr/bizerr/bizCode.go
View file @
4b169c69
...
...
@@ -94,6 +94,7 @@ var (
GroupPowerChangeNameplate
=
myerr
.
NewBusinessCode
(
15021
,
"Can only be modified at the silver level"
,
myerr
.
BusinessData
{})
// 修改铭牌不够等级
GroupPowerMemberMax
=
myerr
.
NewBusinessCode
(
15022
,
"The family size has reached the upper limit"
,
myerr
.
BusinessData
{})
// 家族人数达到上限
GroupPowerCannotJoin
=
myerr
.
NewBusinessCode
(
15023
,
"You cannot join"
,
myerr
.
BusinessData
{})
// 不能加入家族
DealerCannotSaleToOtherArea
=
myerr
.
NewBusinessCode
(
15024
,
"Fail"
,
myerr
.
BusinessData
{})
// 代理转账失败-不同地区
TaskHasAward
=
myerr
.
NewBusinessCode
(
19001
,
"task has award"
,
myerr
.
BusinessData
{})
...
...
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