/*获取用户资料:将不为空的ID请求转发至DL,并将反馈结果翻译为数据契约*/ public UserInfo GetUserInfo(string userID, string password) { UserService userService = new UserService(); UserInfo userInfo = userService.Login(userID, password); if (userInfo.ErrorMessage == null) { return userService.GetUserInfo(userID); } else { return userInfo; } }