|
@@ -2,6 +2,7 @@ package com.example.nngkxxdp.controller;
|
|
|
|
|
|
import java.util.Date;
|
|
|
import java.util.HashMap;
|
|
|
+import java.util.List;
|
|
|
import java.util.Map;
|
|
|
|
|
|
import com.example.nngkxxdp.util.*;
|
|
@@ -19,10 +20,8 @@ import com.example.nngkxxdp.util.Blank;
|
|
|
import com.example.nngkxxdp.util.ConstStr;
|
|
|
import com.example.nngkxxdp.util.SendUtil;
|
|
|
|
|
|
-import cn.hutool.core.date.DateUtil;
|
|
|
import cn.hutool.crypto.SecureUtil;
|
|
|
import cn.hutool.http.HttpRequest;
|
|
|
-import cn.hutool.json.JSONUtil;
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
|
|
|
@@ -85,7 +84,14 @@ public class TjController {
|
|
|
@PostMapping("websiteRating")
|
|
|
public Map<String, Object> websiteRating(Integer type, Integer childrenType, Integer deptId, Integer hasDept, String newMon) {
|
|
|
return SendUtil.send(true, null, tjService.websiteRating(type, childrenType, deptId, hasDept, null, newMon));
|
|
|
-
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 政务新媒体
|
|
|
+ */
|
|
|
+ @GetMapping("newMedia")
|
|
|
+ public Map<String, Object> newMedia() {
|
|
|
+ return SendUtil.send(true,null,tjService.newMedia());
|
|
|
}
|
|
|
|
|
|
@GetMapping("task")
|