fix:修复Android端getPhoneNumber错误问题;

master
yangbinqiao 2023-07-14 20:40:03 +08:00
parent 06fba0ff0b
commit 26424f89c6
1 changed files with 1 additions and 1 deletions

View File

@ -377,7 +377,7 @@ public class AppletHandlerModule extends BaseApi {
callback.onSuccess(null); callback.onSuccess(null);
if (phoneNumberCallback != null) { if (phoneNumberCallback != null) {
try { try {
JSONObject jsonObject = new JSONObject(param.get("phone").toString()); JSONObject jsonObject = new JSONObject(param);
phoneNumberCallback.onSuccess(jsonObject); phoneNumberCallback.onSuccess(jsonObject);
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();