Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
financial-system
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
xianyang
financial-system
Commits
d17ab518
Commit
d17ab518
authored
Apr 20, 2023
by
xupeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
审核结算代码修改
parent
5e66f7b9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
guild.py
app/api/statement/guild.py
+2
-1
No files found.
app/api/statement/guild.py
View file @
d17ab518
...
...
@@ -280,7 +280,7 @@ def transfer_trigger_task(uuid, user_id, balance, type, amount_type, remark='用
try
:
if
not
res
[
'data'
][
'result'
][
'status'
]:
if
'Insufficient assets'
in
res
[
'data'
][
'result'
][
'msg'
]:
return
"资产不足,无法转账"
return
200
,
"资产不足,无法转账"
return
res
[
'data'
][
'result'
][
'msg'
]
except
Exception
as
e
:
return
f
"清算系统异常:{str(e)}"
...
...
@@ -543,6 +543,7 @@ def GuildSettlementAdd(db, data):
db
.
query
(
GuildSettlementLog
)
.
filter
(
GuildSettlementLog
.
id
==
data
.
id
)
.
update
(
{
GuildSettlementLog
.
status
:
data
.
status
,
GuildSettlementLog
.
update_time
:
get_now_datetime
()})
db
.
commit
()
return
200
,{
"msg"
:
"操作成功"
}
if
guild_data
.
status
==
1
:
first_sta
=
00
# 钻石处理
...
...
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