Explorar o código

管理员列表开放锁定的账号

wanghui %!s(int64=7) %!d(string=hai) anos
pai
achega
a32f3ec18d

+ 1 - 1
src/main/java/com/goafanti/common/mapper/AdminMapper.xml

@@ -746,7 +746,7 @@
     left join user_role ur on a.id=ur.uid
     left join `role` y on ur.rid=y.id
     where a.id <![CDATA[ <> ]]> '1'
-    and a.status ='正常'
+    and (a.status != '注销' or a.status is null)
     <if test="roleName != null"> 
     	and y.role_name= #{roleName,jdbcType=VARCHAR}
     </if>

+ 3 - 1
src/main/resources/props/config_local.properties

@@ -54,9 +54,11 @@ session.validate.timespan=18000000
 app.name=AFT
 template.cacheable=false
 
-static.host=//sb.jishutao.com/1.0.50
+#static.host=//sb.jishutao.com/1.0.50
+static.host=//static.kedexinxi.com/1.0.50
 portal.host=//sf.jishutao.com/portal/2.0.6
 avatar.host=//sb.jishutao.com
+#avatar.host=//static.kedexinxi.com
 avatar.upload.host=//sb.jishutao.com/upload
 
 upload.path=F:/data/public/upload