refactor: 重构 sa-token-fastjson、sa-token-fastjson2 适配 SPI 机制

This commit is contained in:
click33
2025-02-22 02:56:49 +08:00
parent 0d9fed1558
commit 7c3febda60
24 changed files with 223 additions and 603 deletions

View File

@@ -13,10 +13,9 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package cn.dev33.satoken.dao;
package cn.dev33.satoken.json;
import cn.dev33.satoken.exception.SaJsonConvertException;
import cn.dev33.satoken.json.SaJsonTemplate;
import cn.dev33.satoken.util.SaFoxUtil;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.core.JsonProcessingException;

View File

@@ -13,11 +13,10 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package cn.dev33.satoken.plugin.impl;
package cn.dev33.satoken.plugin;
import cn.dev33.satoken.SaManager;
import cn.dev33.satoken.dao.SaJsonTemplateForJackson;
import cn.dev33.satoken.plugin.SaTokenPlugin;
import cn.dev33.satoken.json.SaJsonTemplateForJackson;
/**
* SaToken 插件JSON 转换器安装

View File

@@ -1 +1 @@
cn.dev33.satoken.plugin.impl.SaTokenPluginForJackson
cn.dev33.satoken.plugin.SaTokenPluginForJackson