public ActionResult ModifyUserLogo(ModifyUserLogoParam param) { param.id = OperatorProvider.Provider.GetCurrent().UserId; var isOk = new UserInfoApp().ModifyUserLogo(param); if (isOk) { return(Success(null)); } else { return(Error(null)); } }
public ActionResult ModifyUserPwd(ModifyUserPwdParam param) { param.id = OperatorProvider.Provider.GetCurrent().UserId; string msg = null; var isOk = new UserInfoApp().ModifyUserPwd(param, out msg); if (isOk) { return(Success(msg)); } else { return(Error(msg)); } }
public ActionResult ModifyUserInfo(ModifyUserInfoParam param) { //pastern,sex,birthday,phone,email,province,city,area param.id = OperatorProvider.Provider.GetCurrent().UserId; var isOk = new UserInfoApp().ModifyUserInfo(param); if (isOk) { return(Success(null)); } else { return(Error(null)); } }