feat: 添加Omada初始化任务
This commit is contained in:
@@ -54,4 +54,7 @@ public interface RemoteUserService
|
||||
|
||||
@PostMapping("/device/deviceJob")
|
||||
public R<Boolean> deviceJob();
|
||||
|
||||
@PostMapping("/device/settingJob")
|
||||
public R<Boolean> settingJob();
|
||||
}
|
||||
|
||||
@@ -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