Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
MiYaFastCashier
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
jiangjiantao
MiYaFastCashier
Commits
d3cc17ee
Commit
d3cc17ee
authored
Apr 19, 2022
by
zhaopengxiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
微信多次退款发起流程异常
parent
f5b6fb4f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
PayRepository.kt
...ain/java/com/miya/fastcashier/repository/PayRepository.kt
+10
-4
No files found.
app/src/main/java/com/miya/fastcashier/repository/PayRepository.kt
View file @
d3cc17ee
package
com.miya.fastcashier.repository
import
android.text.TextUtils
import
android.util.Log
import
androidx.annotation.WorkerThread
import
com.blankj.utilcode.util.LogUtils
import
com.miya.fastcashier.service.AccountService
...
...
@@ -227,11 +228,16 @@ object PayRepository {
return
miYaMobilePayResult
.
payServiceResponse
}
else
if
(!
TextUtils
.
isEmpty
(
miYaMobilePayResult
.
errorMsg
))
{
throw
RuntimeException
(
miYaMobilePayResult
.
errorMsg
)
}
else
if
(
miYaMobilePayResult
.
payServiceResponse
!=
null
&&
!
TextUtils
.
isEmpty
(
miYaMobilePayResult
.
payServiceResponse
.
chanelErrorMsg
)
}
else
if
(
miYaMobilePayResult
.
payServiceResponse
!=
null
&&
!
TextUtils
.
isEmpty
(
miYaMobilePayResult
.
payServiceResponse
.
chanelErrorMsg
)
)
{
if
(
"[微信]订单支付成功(有退款)"
.
equals
(
miYaMobilePayResult
.
payServiceResponse
.
chanelErrorMsg
))
{
//微信多次退款会有该提示,视为查询成功状态
return
miYaMobilePayResult
.
payServiceResponse
}
else
{
throw
RuntimeException
(
miYaMobilePayResult
.
payServiceResponse
.
chanelErrorMsg
)
}
}
else
{
throw
RuntimeException
(
"支付异常!"
)
}
...
...
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