|
@@ -18,6 +18,8 @@ import io.swagger.annotations.ApiOperation;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
+import java.util.HashMap;
|
|
|
+import java.util.List;
|
|
|
import java.util.Map;
|
|
|
|
|
|
/**
|
|
@@ -80,4 +82,26 @@ public class ContentApiController {
|
|
|
return JsonUtil.toSuccessResultJSON("请求成功",result);
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 证书认证查询接口
|
|
|
+ * username
|
|
|
+ * telephone
|
|
|
+ * certificateType
|
|
|
+ * siteId
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @GetMapping("/zsrz/list")
|
|
|
+ public List<TCmsContent> queryList(@RequestParam("siteId") String siteId,
|
|
|
+ @RequestParam("username") String username,
|
|
|
+ @RequestParam(value = "telephone") String telephone,
|
|
|
+ @RequestParam(value = "categoryId") String categoryId){
|
|
|
+
|
|
|
+ Map<String, Object> map = new HashMap<>();
|
|
|
+ map.put("title", username);
|
|
|
+ map.put("telephone", telephone);
|
|
|
+ map.put("siteId", siteId);
|
|
|
+ map.put("categoryId", categoryId);
|
|
|
+ return contentService.certificateQueryList(map);
|
|
|
+ }
|
|
|
+
|
|
|
}
|