作者 RuoYi

淘宝IP接口不稳定,默认关闭。

@@ -11,7 +11,7 @@ ruoyi: @@ -11,7 +11,7 @@ ruoyi:
11 # 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath) 11 # 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath)
12 profile: D:/ruoyi/uploadPath 12 profile: D:/ruoyi/uploadPath
13 # 获取ip地址开关 13 # 获取ip地址开关
14 - addressEnabled: true 14 + addressEnabled: false
15 15
16 # 开发环境配置 16 # 开发环境配置
17 server: 17 server:
@@ -71,7 +71,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" @@ -71,7 +71,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
71 select * from sys_dept where find_in_set(#{deptId}, ancestors) 71 select * from sys_dept where find_in_set(#{deptId}, ancestors)
72 </select> 72 </select>
73 73
74 - <select id="selectNormalChildrenDeptById" parameterType="Long" resultType="java.lang.Integer"> 74 + <select id="selectNormalChildrenDeptById" parameterType="Long" resultType="int">
75 select count(*) from sys_dept where status = 0 and del_flag = '0' and find_in_set(#{deptId}, ancestors) 75 select count(*) from sys_dept where status = 0 and del_flag = '0' and find_in_set(#{deptId}, ancestors)
76 </select> 76 </select>
77 77