pref: 绑定设备、匹配pk

This commit is contained in:
2026-04-28 08:59:16 +08:00
parent 8c48216a75
commit f07facd98b
7 changed files with 137 additions and 95 deletions

View File

@@ -185,6 +185,12 @@ export const bindDeviceAPI = (device) => {
});
};
export const bindDeviceAPIV2 = (token) => {
return request("POST", "/user/device/bindDevice/v2", {
token: token,
});
};
export const unbindDeviceAPI = (deviceId) => {
return request("POST", "/user/device/unbindDevice", {
deviceId,
@@ -262,7 +268,8 @@ export const matchGameAPI = (match, gameType, teamSize) => {
match,
gameType,
teamSize,
readyTime: 1.5,
readyTime: 15,
targetType: 20,
});
};