摘要: 新版的Halo采用了前后端分离的设计模式,其主要以json数据作为controller的返回值,取代了以视图作为返回值。这样的好处是后端处理数据得到了标准化 阅读全文
posted @ 2021-05-27 23:40 ligyfalcon 阅读(278) 评论(0) 推荐(0)
摘要: 在content/model/MainController中,Halo 为了实现跳转到登录页,采用了response.sendRedirect(adminIndexRedirectUri)来进行页面重定向,其中adminIndexRedirectUri的值为“ /admin/index.html”, 阅读全文
posted @ 2021-05-27 16:05 ligyfalcon 阅读(112) 评论(0) 推荐(0)