lidongdong
2022-09-26 110307bf5567d6841503aaa31abcce0ebb6363d0
修改redis
2个文件已修改
15 ■■■■ 已修改文件
flower_city/src/main/resources/application.properties 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
flower_city/src/main/resources/mapper/SysUserMapper.xml 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
flower_city/src/main/resources/application.properties
@@ -5,15 +5,6 @@
#spring.datasource.url=jdbc:mysql://localhost:3306/flower_city_automessage?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&allowMultiQueries=true&serverTimezone=GMT%2B8
spring.datasource.url=jdbc:mysql://10.8.0.74:3306/huacheng_smart_life?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&allowMultiQueries=true&serverTimezone=GMT%2B8
#datasource:
#type: com.alibaba.druid.pool.DruidDataSource
#driverClassName: com.mysql.cj.jdbc.Driver
#url: jdbc:mysql://182.151.2.19:3306/huacheng_smart_life?allowMultiQueries=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2B8
#username: root
#password: nahanMysqlPwd&&RemoteRemote2019nahan
server.port=8187
#server.port=8088
@@ -40,7 +31,6 @@
wx.open.app_secret=0264342daefde5cd70a6adada09ee5b1
wx.open.redirect_url=http://yq.cdnhxx.com:8080/ucenter/wx/callback
yygh.baseUrl=http://localhost:8080
ftp.username=root
flower_city/src/main/resources/mapper/SysUserMapper.xml
@@ -74,13 +74,12 @@
    </sql>
    <select id="selectNum" resultType="integer">
        select count(user_id) from sys_user
    <select id="selectNum" parameterType="string" resultType="integer">
        select count(user_id) from automessage_sys_user
        <where>
            <if test="userType != null and userType != ''">
                AND user_type=#{userType}
            </if>
        </where>
    </select>