Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hilo-common
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-common
Commits
d6d4babe
Commit
d6d4babe
authored
Sep 01, 2023
by
hujiebin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update noble.go
parent
0ad91afc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
noble.go
txop/noble_tx/noble.go
+5
-1
No files found.
txop/noble_tx/noble.go
View file @
d6d4babe
...
@@ -57,7 +57,11 @@ func SendNoble(model *domain.Model, receiverUserId mysql.ID, level uint16, days
...
@@ -57,7 +57,11 @@ func SendNoble(model *domain.Model, receiverUserId mysql.ID, level uint16, days
}
}
err
=
nbl
.
Create
(
model
.
DB
())
err
=
nbl
.
Create
(
model
.
DB
())
if
err
!=
nil
{
if
err
!=
nil
{
return
err
if
af2
,
err
:=
n
.
ExtenedEndTime
(
model
.
DB
(),
int
(
days
));
err
!=
nil
{
return
err
}
else
if
af2
<=
0
{
return
fmt
.
Errorf
(
"bizerr.TransactionFailed create rows 0"
)
}
}
}
}
else
{
}
else
{
// 延长贵族
// 延长贵族
...
...
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