RuoYi
2020-05-13 ddcabaa6fbce343fd0d80f5ab5947fb892ebafcb
淘宝IP接口不稳定,默认关闭。
已修改2个文件
4 ■■■■ 文件已修改
ruoyi/src/main/resources/application.yml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi/src/main/resources/mybatis/system/SysDeptMapper.xml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi/src/main/resources/application.yml
@@ -11,7 +11,7 @@
  # 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath)
  profile: D:/ruoyi/uploadPath
  # 获取ip地址开关
  addressEnabled: true
  addressEnabled: false
# 开发环境配置
server:
ruoyi/src/main/resources/mybatis/system/SysDeptMapper.xml
@@ -71,7 +71,7 @@
        select * from sys_dept where find_in_set(#{deptId}, ancestors)
    </select>
    
    <select id="selectNormalChildrenDeptById" parameterType="Long" resultType="java.lang.Integer">
    <select id="selectNormalChildrenDeptById" parameterType="Long" resultType="int">
        select count(*) from sys_dept where status = 0 and del_flag = '0' and find_in_set(#{deptId}, ancestors)
    </select>