Idris

Results 3 issues of Idris

查询时需要添加过滤条件,不然会查询到别人的数据。 ```golang // TaskDetail 待办详情 func TaskDetail(c *gin.Context) { var taskDetailDTO service.TaskDetailDTO claims, _ := utils.ParseToken(c.GetHeader(conf.TokenKey)) if err := c.ShouldBindUri(&taskDetailDTO); err == nil { res := taskDetailDTO.TaskDetail(claims.ID) c.JSON(http.StatusOK, res) }...

在Centos7下按照文档安装了PM2,Phantomjs,执行测试命令:$ phantomjs spider.js 'https://www.baidu.com/'也成功获取到响应内容,但是配置Nginx后利用浏览器手动设置user-agent访问会报错:加载失败。 查看PM2的log文件,在模拟爬虫访问的时候会报错,浏览器正常访问没问题。 log日志如下: ![20211020010122](https://user-images.githubusercontent.com/36561218/137957609-4ff726d0-ff97-4da0-8801-eaa81ddca62e.png)

The container's scrollIntoView fails until the function is initialized,I replaced scrollTo function to fix the feature