手机短信一直没法使用是什么问题?提示CODE:600
AVUser user = new AVUser();
user.setUsername(sPhoneNumber);
user.setPassword(sPhoneNumber);
user.setMobilePhoneNumber(sPhoneNumber);
user.signUpInBackground(new SignUpCallback() {
@Override
public void done(AVException arg0) {
if(arg0 == null){
Toast.makeText(mContext, "已发送验证码", 0).show();
}else{
Toast.makeText(mContext, "发送失败!" + arg0.toString(), 0).show();
}
}
});
LogUtil$avlog->d->28: curl -X POST -H "X-avoscloud-Application-Id: pfiyigoxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" -H "X-avoscloud-Application-Key: YourAppKey" -H "Content-Type: application/json" -d '{"requests":[{"body":{"children":[],"internalId":"0b761332-de1a-400d-a52f-d368e61425c4","mobilePhoneNumber":"188195123xx","password":"188195123xx","username":"188195123xx"},"method":"POST","new":true,"path":"/1.1/users"}]}' https://api.leancloud.cn/1.1/batch/save
LogUtil$avlog->e->34: {"code":600,"error":"无效的短信签名。"}
error:org.apache.http.client.HttpResponseException: Bad Request