文章管理点击量查询逻辑更改

This commit is contained in:
zkr_liushenlu 2021-04-07 09:18:39 +08:00
parent a66a8de9e3
commit 52634eda67
1 changed files with 2 additions and 0 deletions

View File

@ -14,6 +14,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
@ -303,6 +304,7 @@ public class ArticleManageController extends BaseController {
* 保存(更新)文章静态页面 @Title: updateArticle @Description: TODO() @param @return
* 参数 @return Message 返回类型 @throws
*/
@CrossOrigin(allowCredentials = "true", allowedHeaders = "*", origins = "*", maxAge = 1800)
@RequestMapping("/updateArticle")
@ResponseBody
public Message updateArticle(HttpServletRequest request, HttpServletResponse response) {