大家好,又见面了,我是全栈君。
return Content(“xx”) 就是简单的返回xx字符串 常用语与校验 Add,Delete,Update等操作
return View() 无参数就是默认返回View层中index界面(html文本) return (“demo”) 就是返回该控制器下生成的View层中的demo界面
return Json()就是返回json字符串
转载于:https://www.cnblogs.com/lt123/p/7060563.html
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/108403.html原文链接:https://javaforall.net