原代码:
LCUser.requestSMSCodeForUpdatingPhoneNumberInBackground("+8618200008888").subscribe(new Observer<LCNull>() {
public void onSubscribe(Disposable disposable) {}
public void onNext(LCNull null) {
// 成功调用
}
public void onError(Throwable throwable) {
// 调用出错
}
public void onComplete() {}
});
问题:
此函数爆红,缺少参数
LCUser.requestSMSCodeForUpdatingPhoneNumberInBackground("+8618200008888")
Idea提示:
None of the following functions can be called with the arguments supplied.
requestSMSCodeForUpdatingPhoneNumberInBackground(LCUser!, String!, LCSMSOption!) defined in cn.leancloud.LCUser
requestSMSCodeForUpdatingPhoneNumberInBackground(String!, LCSMSOption!) defined in cn.leancloud.LCUser
路径:
https://leancloud.cn/docs/leanstorage_guide-java.html#hash-267126718