qyn %!s(int64=2) %!d(string=hai) anos
pai
achega
b9c8a7c612

+ 1 - 1
modules/cms/src/main/java/com/jeesite/modules/cms/web/ArticleController.java

@@ -190,8 +190,8 @@ public class ArticleController extends BaseController {
 	}
 
 
-	@RequiresPermissions("cms:article:view")
 	@RequestMapping(value = "deskData")
+	@ResponseBody
 	public List<Article> deskData(Article article) {
 		return articleService.findList(article);
 	}

+ 1 - 1
modules/core/src/main/resources/views/portal/sysDesktopstudent.html

@@ -380,7 +380,7 @@ function getweek() {
             data: {category:"hbjmdx005"},
             callback: function (data) {
                 debugger;
-                var list = data.articleList;
+                var list = data;
                 var str = "";
                 for (let i = 0; i < list.length; i++) {
                     if(i>6){

+ 0 - 1
web/src/main/java/com/jeesite/modules/sys/web/schedule/ScheduleController.java

@@ -70,7 +70,6 @@ public class ScheduleController extends BaseController {
     /**
      * 获取周数据
      */
-    @RequiresPermissions("sys:schedule:schedule:view")
     @RequestMapping(value = {"getweek", ""})
     public List<Schedule> weekgetxx(Schedule schedule) {
         schedule.setCreateBy(UserUtils.getUser().getLoginCode());