zyy 1 день назад
Родитель
Сommit
01d1d3f1c0

+ 2 - 0
fs-framework/src/main/java/com/fs/framework/config/SecurityConfig.java

@@ -147,6 +147,8 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter
                 .antMatchers("/erp/call/**").anonymous()
                 .antMatchers("/third/weizou/**").anonymous()
                 .antMatchers("/xiaoShouYi/auth/callback/**").anonymous()
+                .antMatchers("/xiaoShouYi/success").anonymous()
+                .antMatchers("/xiaoShouYi/error").anonymous()
                 // 除上面外的所有请求全部需要鉴权认证
                 .anyRequest().authenticated()
                 .and()

+ 1 - 1
fs-service/src/main/resources/mapper/xiaoshouyi/XsyAccountMapper.xml

@@ -139,7 +139,7 @@
             <if test="refreshTokenExpiresAt != null">refresh_token_expires_at = #{refreshTokenExpiresAt},</if>
             update_time = now()
         </set>
-        where client_id = #{id}
+        where id = #{id}
 
     </update>