|
@@ -1,5 +1,5 @@
|
|
|
/**
|
|
|
- * Copyright (c) 2017-2012, lt 北京中世康恺科技有限公司 (www.pacsonline.cn).
|
|
|
+ * Copyright (c) 2017-2024, lt 中世康恺科技有限公司 (www.pacsonline.cn).
|
|
|
*
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
*/
|
|
@@ -16,7 +16,7 @@ import com.jfinal.kit.PropKit;
|
|
|
import com.jfinal.plugin.activerecord.ActiveRecordPlugin;
|
|
|
import com.jfinal.plugin.druid.DruidPlugin;
|
|
|
import com.jfinal.plugin.redis.RedisPlugin;
|
|
|
-import com.jfinal.plugin.redis.serializer.JdkSerializer;
|
|
|
+//import com.jfinal.plugin.redis.serializer.JdkSerializer;
|
|
|
import com.jfinal.template.Engine;
|
|
|
import com.jfinal.weixin.sdk.api.ApiConfig;
|
|
|
import com.jfinal.weixin.sdk.api.ApiConfigKit;
|
|
@@ -83,12 +83,12 @@ public class ZskkConfig extends JFinalConfig {
|
|
|
ActiveRecordPlugin arp = new ActiveRecordPlugin(druidPlugin);
|
|
|
me.add(arp);
|
|
|
|
|
|
- // 所有配置在 MappingKit 中搞定
|
|
|
+ // 所有配置在 MappingKit 中
|
|
|
_MappingKit.mapping(arp);
|
|
|
|
|
|
// 使用redis分布accessToken
|
|
|
RedisPlugin redisPlugin = new RedisPlugin("weixin_doctor", "10.193.150.201", 31469, 2000, "Zskk@2022", 2);
|
|
|
- redisPlugin.setSerializer(JdkSerializer.me); // 需要使用fst高性能序列化的用户请删除这一行(Fst jar依赖请查看WIKI)
|
|
|
+// redisPlugin.setSerializer(JdkSerializer.me); // 需要使用fst高性能序列化的用户请删除这一行(Fst jar依赖请查看WIKI)
|
|
|
me.add(redisPlugin);
|
|
|
|
|
|
RedisPlugin redisPluginPc = new RedisPlugin("pc", "10.193.150.201", 31469, 2000, "Zskk@2022", 0);
|