func (this *UserController) Introduction() { data := e.Data{Msg: "保存成功", Status: 1} w := this.ResponseWriter r := this.Request r.ParseForm() id := r.FormValue("id") introduction := r.FormValue("data") introduction = strings.Replace(introduction, "##", ";", -1) user := m.User{Id: id, Introduction: introduction} log.Println("user", user) user.UpdateIntroductionById() u.OutputJson(w, &data) }