feat: 添加Omada初始化任务
This commit is contained in:
1 parent
e173c62c0c
commit
d1ff37370c
10 files changed
+64
-16
No files matched your search
@@ -54,4 +54,7 @@ public interface RemoteUserService
|
||||
|
||||
@PostMapping("/device/deviceJob")
|
||||
public R<Boolean> deviceJob();
|
||||
|
||||
@PostMapping("/device/settingJob")
|
||||
public R<Boolean> settingJob();
|
||||
}
|
||||
+5
@@ -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());
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user