update 调整隐藏性别

update 调整完善资料报错提醒
This commit is contained in:
2024-03-22 14:08:44 +08:00
parent 02bc604685
commit bd598176c1
9 changed files with 21 additions and 19 deletions

View File

@@ -4,7 +4,7 @@ import com.google.gson.annotations.SerializedName;
public class FirstLoginBean extends BaseModel{
@SerializedName("status")
int status;//0是第一次登陸1是已經登錄過的
int status=-1;//0是第一次登陸1是已經登錄過的
public int getStatus() {
return status;

View File

@@ -94,8 +94,8 @@ public class InstructorOperationDialog extends AbsDialogFragment {
mRootView.findViewById(R.id.to_msg).setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
EventBus.getDefault().post(new InstructorOperationEvent());
dismiss();
EventBus.getDefault().post(new InstructorOperationEvent());
}
});
}

View File

@@ -3233,14 +3233,14 @@ public class LiveNetManager {
String user_nicename,
String avatar,
String birthday,
HttpCallback<List<BaseModel>> callback) {
HttpCallback<HttpCallbackModel> callback) {
API.get().pdLiveApi(mContext)
.initUserInfo(sex, user_nicename, avatar, birthday)
.subscribeOn(Schedulers.io())
.observeOn(AndroidSchedulers.mainThread())
.subscribe(roomMicStatusModelResponseModel -> {
.subscribe(listResponseModel -> {
if (callback != null) {
callback.onSuccess(roomMicStatusModelResponseModel.getData().getInfo());
callback.onSuccess(new HttpCallbackModel(listResponseModel.getData().getCode(), listResponseModel.getData().getMsg()));
}
}, new Consumer<Throwable>() {
@Override