|
@@ -330,7 +330,11 @@ public class sharematerial extends Controller {
|
|
|
try {
|
|
|
JSONObject jsonObject = miniProgram.getWechatUserPhonenumber(code_phone);
|
|
|
if (jsonObject != null) {
|
|
|
- phonenumber = jsonObject.getString("purePhoneNumber");
|
|
|
+ try {
|
|
|
+ phonenumber = jsonObject.getString("purePhoneNumber");
|
|
|
+ } catch (Exception e) {
|
|
|
+ e.printStackTrace();
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
} catch (Exception e) {
|