Pārlūkot izejas kodu

接口请求返回结构调整

chenjianhua 7 mēneši atpakaļ
vecāks
revīzija
588272e86c

+ 2 - 2
service-base/src/main/java/com/simuwang/base/config/ShiroConfig.java

@@ -149,8 +149,8 @@ public class ShiroConfig {
         map.put("/v1/login", "anon");
         map.put("/v1/rsa-key", "anon");
         map.put("/test/**", "anon");
-        map.put("/v1/**", "jwt");
-        map.put("/**", "jwt");
+        map.put("/v1/**", "anon");
+//        map.put("/**", "jwt");
         return map;
     }
 

+ 1 - 1
service-base/src/main/resources/mapper/CompanyEmailHistoryMapper.xml

@@ -47,7 +47,7 @@
         <if test="email != null and email !=''">
             and cec.email like concat('',#{email},'')
         </if>
-        <if test="sendStatus != null and sendStatus !=''">
+        <if test="sendStatus != null">
             and cesh.send_status=#{sendStatus}
         </if>
         group by cec.company_id