支付增加日志
This commit is contained in:
parent
9712ea3692
commit
4a67dc773a
@ -279,7 +279,7 @@ public class MainActivity extends Activity {
|
||||
nativeAndroid.setExternalInterface("@onError", message -> Log.e(TAG, "Get @onError: " + message));
|
||||
// 支付
|
||||
nativeAndroid.setExternalInterface("pay", message -> {
|
||||
|
||||
Log.i(TAG, "receive pay: " + message);
|
||||
try {
|
||||
JSONObject jsonObject = new JSONObject(message);
|
||||
String cpOrderId = jsonObject.getString("orderId");
|
||||
|
Loading…
x
Reference in New Issue
Block a user