2
0

feat: 添加Omada初始化任务

This commit is contained in:
caiyuchao
2025-01-16 10:26:15 +08:00
parent e173c62c0c
commit d1ff37370c
10 changed files with 64 additions and 16 deletions

View File

@@ -54,4 +54,7 @@ public interface RemoteUserService
@PostMapping("/device/deviceJob")
public R<Boolean> deviceJob();
@PostMapping("/device/settingJob")
public R<Boolean> settingJob();
}

View File

@@ -47,6 +47,11 @@ public class RemoteUserFallbackFactory implements FallbackFactory<RemoteUserServ
public R<Boolean> deviceJob() {
return R.fail("记录设备信息失败:" + throwable.getMessage());
}
@Override
public R<Boolean> settingJob() {
return R.fail("oamda setting job error:" + throwable.getMessage());
}
};
}
}