1
This commit is contained in:
parent
471e0a96fa
commit
efdceeb81e
@ -437,6 +437,9 @@ public class WebController extends BaseController {
|
||||
})
|
||||
@PostMapping("/pageSave")
|
||||
public R<String> pageSave(@ApiIgnore @RequestBody BusiPage busiPage, HttpServletRequest request) {
|
||||
if(StringUtils.isEmpty(busiPage.getUrl())){
|
||||
return R.fail("url必传");
|
||||
}
|
||||
busiPage.setIp(CommonUtils.getIpAddr(request));
|
||||
busiPage.setCreateTime(new Date());
|
||||
pageService.pageSave(busiPage);
|
||||
|
@ -47,6 +47,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="entity.startDate != null and entity.startDate != ''">and create_time >= #{entity.startDate}</if>
|
||||
<if test="entity.endDate != null and entity.endDate != ''">and create_time <= #{entity.endDate}</if>
|
||||
</where>
|
||||
order by create_time desc
|
||||
</select>
|
||||
<select id="selectIpCount" resultType="java.lang.Integer">
|
||||
SELECT
|
||||
|
Loading…
Reference in New Issue
Block a user