public ReplacePhonePageViewModel GetReplacePhonePageViewModel(long userId, int nowNode, int isSubmit) { ReplacePhonePageViewModel model = new ReplacePhonePageViewModel() { IsLogin = true }; if (Step.stepTable[nowNode * isSubmit, Step.replacePhone] || nowNode == Step.replacePhone || nowNode == Step.replacePhoneCheck) { model.IsVisitLegal = true; model.TempNewPhone = TempPhone.GetTempNewPhoneByUserId(userId); model.TempOldPhone = TempPhone.GetTempOldPhoneByUserId(userId); model.BrandList = brandDao.GetBrandList(); model.TypeList = brandTypeDao.GetBrandTypeList(); } return(model); }