2
0

feat: add cdr schedule task

This commit is contained in:
caiyuchao
2024-12-10 11:07:17 +08:00
parent 95d4b02aad
commit b1848e3ab3
17 changed files with 277 additions and 30 deletions

View File

@@ -56,4 +56,10 @@ public interface RemoteUUserService
*/
@PutMapping("/user/recordlogin")
public R<Boolean> recordUserLogin(@RequestBody UUser user, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
/**
* 添加话单信息通过OmadaApi
*/
@GetMapping("/user/uCdr/addCdrInfo")
public R<Boolean> addCdrInfoByOmadaApi();
}

View File

@@ -48,6 +48,11 @@ public class RemoteUUserFallbackFactory implements FallbackFactory<RemoteUUserSe
{
return R.fail("记录用户登录信息失败:" + throwable.getMessage());
}
@Override
public R<Boolean> addCdrInfoByOmadaApi() {
return R.fail("添加话单信息失败:" + throwable.getMessage());
}
};
}
}