记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
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
董敬伟
liquidnet-bus-v1
Commits
0f51e91b
Commit
0f51e91b
authored
Jul 10, 2025
by
姜秀龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
离线支付-迈之 退款 log
parent
f451f353
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
2 deletions
+20
-2
MaiZhiAllVo.java
...java/com/liquidnet/service/goblin/dto/vo/MaiZhiAllVo.java
+12
-1
GoblinRechargeWristbandServiceImpl.java
...blin/service/impl/GoblinRechargeWristbandServiceImpl.java
+8
-1
No files found.
liquidnet-bus-api/liquidnet-service-goblin-api/src/main/java/com/liquidnet/service/goblin/dto/vo/MaiZhiAllVo.java
View file @
0f51e91b
...
...
@@ -199,10 +199,21 @@ public class MaiZhiAllVo {
// 变更设备状态
@Data
public
static
class
ChangeDeviceStatusResponse
{
public
static
class
ChangeDeviceStatusResponse
implements
Cloneable
{
private
String
msg
;
private
Integer
errcode
;
private
Integer
status
;
private
String
note
;
private
static
final
ChangeDeviceStatusResponse
obj
=
new
ChangeDeviceStatusResponse
();
public
static
ChangeDeviceStatusResponse
getNew
()
{
try
{
return
(
ChangeDeviceStatusResponse
)
obj
.
clone
();
}
catch
(
CloneNotSupportedException
e
)
{
e
.
printStackTrace
();
}
return
new
ChangeDeviceStatusResponse
();
}
}
}
liquidnet-bus-service/liquidnet-service-goblin/liquidnet-service-goblin-impl/src/main/java/com/liquidnet/service/goblin/service/impl/GoblinRechargeWristbandServiceImpl.java
View file @
0f51e91b
...
...
@@ -237,7 +237,9 @@ public class GoblinRechargeWristbandServiceImpl extends ServiceImpl<GoblinRechar
String
cardno
=
orderVo
.
getCardno
();
String
accessToken
=
this
.
getAccessToken
();
if
(
null
!=
accessToken
)
{
log
.
info
(
"changeDeviceStatus 参数 cardno:{}, type:{}"
,
cardno
,
type
);
ChangeDeviceStatusResponse
response
=
thirdMaiZhiUtils
.
changeDeviceStatus
(
accessToken
,
cardno
,
type
);
log
.
info
(
"changeDeviceStatus 结果:{}"
,
response
);
if
(
response
.
getErrcode
()
==
200
)
{
orderVo
.
setStatus
(
3
);
orderVo
.
setRefundStatus
(
0
);
...
...
@@ -254,8 +256,13 @@ public class GoblinRechargeWristbandServiceImpl extends ServiceImpl<GoblinRechar
SqlMapping
.
gets
(
sqls
,
sqlDataOrder
)
);
}
return
response
;
}
else
{
ChangeDeviceStatusResponse
response
=
ChangeDeviceStatusResponse
.
getNew
();
response
.
setErrcode
(
400
);
response
.
setMsg
(
"token获取错误"
);
return
response
;
}
return
null
;
}
@Override
...
...
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