2
0

fix: 修复omada上云问题

This commit is contained in:
caiyuchao
2025-01-20 11:39:58 +08:00
parent 6c10050fe7
commit d17153ed50
10 changed files with 40 additions and 17 deletions

View File

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

View File

@@ -52,6 +52,11 @@ public class RemoteUserFallbackFactory implements FallbackFactory<RemoteUserServ
public R<Boolean> settingJob() {
return R.fail("oamda setting job error:" + throwable.getMessage());
}
@Override
public R<String> testJob() {
return R.fail("oamda test job error:" + throwable.getMessage());
}
};
}
}