feat:选择20cm、40cm全环靶

This commit is contained in:
2026-04-20 16:00:10 +08:00
parent 56650793e8
commit c1ff0cedad
5 changed files with 233 additions and 6 deletions

View File

@@ -196,10 +196,11 @@ export const getMyDevicesAPI = () => {
return request("GET", "/user/device/getBindings");
};
export const createPractiseAPI = (arrows, time) => {
export const createPractiseAPI = (arrows, time, target) => {
return request("POST", "/user/practice/create", {
shootNumber: arrows,
shootTime: time,
targetType: target*20,
});
};