Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
alipay_no_utdid
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李增强
alipay_no_utdid
Commits
15758c97
Commit
15758c97
authored
Mar 25, 2021
by
李增强
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Initial commit
parent
bc4ce287
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
android/src/main/java/com/qiaomeng/flutter/alipay_no_utdid/Handler.java
...in/java/com/qiaomeng/flutter/alipay_no_utdid/Handler.java
+9
-2
No files found.
android/src/main/java/com/qiaomeng/flutter/alipay_no_utdid/Handler.java
View file @
15758c97
...
...
@@ -7,6 +7,7 @@ import android.content.pm.PackageManager;
import
android.content.pm.ResolveInfo
;
import
android.net.Uri
;
import
android.os.Bundle
;
import
android.os.Looper
;
import
com.alipay.sdk.app.EnvUtils
;
import
com.alipay.sdk.app.PayTask
;
...
...
@@ -35,8 +36,14 @@ public class Handler {
EnvUtils
.
setEnv
(
EnvUtils
.
EnvEnum
.
ONLINE
);
}
PayTask
alipay
=
new
PayTask
(
mActivity
);
Map
<
String
,
String
>
map
=
alipay
.
payV2
(
order
,
true
);
final
Map
<
String
,
String
>
map
=
alipay
.
payV2
(
order
,
true
);
new
android
.
os
.
Handler
().
post
(
new
Runnable
()
{
@Override
public
void
run
()
{
result
.
success
(
map
);
}
});
}
};
...
...
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