修复,多人PK被邀请方无法结束问题,替换接口名

This commit is contained in:
Martin 2024-10-18 21:22:12 +08:00
parent 2c7e499d0c
commit fd15b269d9

View File

@ -201,13 +201,13 @@ public class LiveRyAnchorViewHolder extends AbsLiveViewHolder {
@Override @Override
public void onClick(View view) { public void onClick(View view) {
closeEndPkBt(); closeEndPkBt();
HttpClient.getInstance().post("live.leaveDRPKroom", "live.leaveDRPKroom") HttpClient.getInstance().post("tuichuduorenpkfangjian", "tuichuduorenpkfangjian")
.params("roomid", drpkRoomId) .params("roomid", drpkRoomId)
.params("uid", CommonAppConfig.getInstance().getUid()) .params("uid", CommonAppConfig.getInstance().getUid())
.execute(new HttpCallback() { .execute(new HttpCallback() {
@Override @Override
public void onSuccess(int code, String msg, String[] info) { public void onSuccess(int code, String msg, String[] info) {
L.eSw("live.leaveDRPKroom:code:" + code + " info" + new Gson().toJson(info)); L.eSw("tuichuduorenpkfangjian" + code + " info" + new Gson().toJson(info));
} }
}); });