diff --git a/.idea/compiler.xml b/.idea/compiler.xml
index b10037a..4ac68b3 100644
--- a/.idea/compiler.xml
+++ b/.idea/compiler.xml
@@ -17,7 +17,6 @@
-
@@ -25,6 +24,7 @@
+
diff --git a/.idea/modules.xml b/.idea/modules.xml
index 3598916..8b8830f 100644
--- a/.idea/modules.xml
+++ b/.idea/modules.xml
@@ -3,7 +3,6 @@
-
@@ -11,6 +10,7 @@
+
\ No newline at end of file
diff --git a/.idea/uiDesigner.xml b/.idea/uiDesigner.xml
new file mode 100644
index 0000000..e96534f
--- /dev/null
+++ b/.idea/uiDesigner.xml
@@ -0,0 +1,124 @@
+
+
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+
+
+
+ -
+
+
+
+
+
+ -
+
+
+
+
+
+ -
+
+
+
+
+
+ -
+
+
+
+
+ -
+
+
+
+
+ -
+
+
+
+
+ -
+
+
+
+
+ -
+
+
+
+
+ -
+
+
+
+
+ -
+
+
+ -
+
+
+
+
+ -
+
+
+
+
+ -
+
+
+
+
+ -
+
+
+
+
+ -
+
+
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+
+
+ -
+
+
+ -
+
+
+
+
+
\ No newline at end of file
diff --git a/admin-hanhai-vue/.env.development b/admin-hanhai-vue/.env.development
index ce4dcde..76b128a 100644
--- a/admin-hanhai-vue/.env.development
+++ b/admin-hanhai-vue/.env.development
@@ -1,5 +1,5 @@
NODE_ENV=development
-VUE_APP_API_BASE_URL=http://localhost:8002/cheer-admin/
+VUE_APP_API_BASE_URL=http://localhost:8000/cheer-admin/
VUE_APP_CAS_BASE_URL=http://cas.example.org:8443/cas
VUE_APP_ONLINE_BASE_URL=http://fileview.jeecg.com/onlinePreview
diff --git a/admin-hanhai-vue/.env.production b/admin-hanhai-vue/.env.production
index b5dab9b..1e994ef 100644
--- a/admin-hanhai-vue/.env.production
+++ b/admin-hanhai-vue/.env.production
@@ -1,4 +1,4 @@
NODE_ENV=production
-VUE_APP_API_BASE_URL=http://localhost:8002/cheer-admin/
+VUE_APP_API_BASE_URL=http://localhost:8000/cheer-admin/
VUE_APP_CAS_BASE_URL=http://localhost:8888/cas
VUE_APP_ONLINE_BASE_URL=http://fileview.jeecg.com/onlinePreview
\ No newline at end of file
diff --git a/han-hai-module-pay/han-hai-module-pay.iml b/han-hai-module-pay/han-hai-module-pay.iml
index 0e31347..172742a 100644
--- a/han-hai-module-pay/han-hai-module-pay.iml
+++ b/han-hai-module-pay/han-hai-module-pay.iml
@@ -11,12 +11,14 @@
-
-
-
-
-
-
+
+
+
+
+
+
+
+
diff --git a/han-hai-module-pay/src/main/java/org/jeecg/modules/pay/MpWxPayService.java b/han-hai-module-pay/src/main/java/org/jeecg/modules/pay/MpWxPayService.java
index e3bcf09..8986708 100644
--- a/han-hai-module-pay/src/main/java/org/jeecg/modules/pay/MpWxPayService.java
+++ b/han-hai-module-pay/src/main/java/org/jeecg/modules/pay/MpWxPayService.java
@@ -142,13 +142,11 @@ public class MpWxPayService {
request.setTotalFee(price); //总金额|分计
request.setSpbillCreateIp(clientIp); //终端IP
request.setNotifyUrl(wxPay.notifyUrl);//设置回调路径
-// request.setNotifyUrl("http://h5.xzaiyp.top/a-notice-api/pay-api/info/notify");//设置回调路径
request.setProductId(productId); //商品id
request.setOpenid(openId); //JSAPI OPENID
if (dev){
request.setTotalFee(price);
request.setNotifyUrl(wxPay.notifyUrlDev);
-// request.setNotifyUrl("http://h5.xzaiyp.top/a-notice-api/pay-api/info/notify");//设置回调路径
}
try {
Object order = wxPayService.createOrder(request);
diff --git a/jeecg-boot-base/jeecg-boot-base-api/jeecg-boot-base-api.iml b/jeecg-boot-base/jeecg-boot-base-api/jeecg-boot-base-api.iml
index 4e855fc..c617fdb 100644
--- a/jeecg-boot-base/jeecg-boot-base-api/jeecg-boot-base-api.iml
+++ b/jeecg-boot-base/jeecg-boot-base-api/jeecg-boot-base-api.iml
@@ -4,6 +4,8 @@
+
+
diff --git a/jeecg-boot-base/jeecg-boot-base-api/jeecg-system-cloud-api/jeecg-system-cloud-api.iml b/jeecg-boot-base/jeecg-boot-base-api/jeecg-system-cloud-api/jeecg-system-cloud-api.iml
index e6fcbcf..d99077e 100644
--- a/jeecg-boot-base/jeecg-boot-base-api/jeecg-system-cloud-api/jeecg-system-cloud-api.iml
+++ b/jeecg-boot-base/jeecg-boot-base-api/jeecg-system-cloud-api/jeecg-system-cloud-api.iml
@@ -10,7 +10,9 @@
-
+
+
+
@@ -23,6 +25,8 @@
+
+
diff --git a/jeecg-boot-base/jeecg-boot-base-api/jeecg-system-cloud-api/target/classes/org/jeecg/common/system/api/ISysBaseAPI.class b/jeecg-boot-base/jeecg-boot-base-api/jeecg-system-cloud-api/target/classes/org/jeecg/common/system/api/ISysBaseAPI.class
deleted file mode 100644
index 86eaa3b..0000000
Binary files a/jeecg-boot-base/jeecg-boot-base-api/jeecg-system-cloud-api/target/classes/org/jeecg/common/system/api/ISysBaseAPI.class and /dev/null differ
diff --git a/jeecg-boot-base/jeecg-boot-base-api/jeecg-system-cloud-api/target/classes/org/jeecg/common/system/api/factory/SysBaseAPIFallbackFactory.class b/jeecg-boot-base/jeecg-boot-base-api/jeecg-system-cloud-api/target/classes/org/jeecg/common/system/api/factory/SysBaseAPIFallbackFactory.class
deleted file mode 100644
index c5ca9b7..0000000
Binary files a/jeecg-boot-base/jeecg-boot-base-api/jeecg-system-cloud-api/target/classes/org/jeecg/common/system/api/factory/SysBaseAPIFallbackFactory.class and /dev/null differ
diff --git a/jeecg-boot-base/jeecg-boot-base-api/jeecg-system-cloud-api/target/classes/org/jeecg/common/system/api/fallback/SysBaseAPIFallback.class b/jeecg-boot-base/jeecg-boot-base-api/jeecg-system-cloud-api/target/classes/org/jeecg/common/system/api/fallback/SysBaseAPIFallback.class
deleted file mode 100644
index 649ad53..0000000
Binary files a/jeecg-boot-base/jeecg-boot-base-api/jeecg-system-cloud-api/target/classes/org/jeecg/common/system/api/fallback/SysBaseAPIFallback.class and /dev/null differ
diff --git a/jeecg-boot-base/jeecg-boot-base-api/jeecg-system-cloud-api/target/jeecg-system-cloud-api-3.2.0.jar b/jeecg-boot-base/jeecg-boot-base-api/jeecg-system-cloud-api/target/jeecg-system-cloud-api-3.2.0.jar
deleted file mode 100644
index 6c1dc22..0000000
Binary files a/jeecg-boot-base/jeecg-boot-base-api/jeecg-system-cloud-api/target/jeecg-system-cloud-api-3.2.0.jar and /dev/null differ
diff --git a/jeecg-boot-base/jeecg-boot-base-api/jeecg-system-cloud-api/target/maven-archiver/pom.properties b/jeecg-boot-base/jeecg-boot-base-api/jeecg-system-cloud-api/target/maven-archiver/pom.properties
deleted file mode 100644
index 5b3c057..0000000
--- a/jeecg-boot-base/jeecg-boot-base-api/jeecg-system-cloud-api/target/maven-archiver/pom.properties
+++ /dev/null
@@ -1,3 +0,0 @@
-artifactId=jeecg-system-cloud-api
-groupId=org.jeecgframework.boot
-version=3.2.0
diff --git a/jeecg-boot-base/jeecg-boot-base-api/jeecg-system-cloud-api/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst b/jeecg-boot-base/jeecg-boot-base-api/jeecg-system-cloud-api/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
deleted file mode 100644
index 7a30edf..0000000
--- a/jeecg-boot-base/jeecg-boot-base-api/jeecg-system-cloud-api/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
+++ /dev/null
@@ -1,3 +0,0 @@
-org/jeecg/common/system/api/fallback/SysBaseAPIFallback.class
-org/jeecg/common/system/api/ISysBaseAPI.class
-org/jeecg/common/system/api/factory/SysBaseAPIFallbackFactory.class
diff --git a/jeecg-boot-base/jeecg-boot-base-api/jeecg-system-cloud-api/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst b/jeecg-boot-base/jeecg-boot-base-api/jeecg-system-cloud-api/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
deleted file mode 100644
index 23eb131..0000000
--- a/jeecg-boot-base/jeecg-boot-base-api/jeecg-system-cloud-api/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
+++ /dev/null
@@ -1,4 +0,0 @@
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-api/jeecg-system-cloud-api/src/main/java/org/jeecg/common/system/api/ISysBaseAPI.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-api/jeecg-system-cloud-api/src/main/java/org/jeecg/common/system/api/factory/SysBaseAPIFallbackFactory.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-api/jeecg-system-cloud-api/src/main/java/org/jeecg/config/FeignConfig.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-api/jeecg-system-cloud-api/src/main/java/org/jeecg/common/system/api/fallback/SysBaseAPIFallback.java
diff --git a/jeecg-boot-base/jeecg-boot-base-api/jeecg-system-local-api/jeecg-system-local-api.iml b/jeecg-boot-base/jeecg-boot-base-api/jeecg-system-local-api/jeecg-system-local-api.iml
index 1b52415..2bd0f95 100644
--- a/jeecg-boot-base/jeecg-boot-base-api/jeecg-system-local-api/jeecg-system-local-api.iml
+++ b/jeecg-boot-base/jeecg-boot-base-api/jeecg-system-local-api/jeecg-system-local-api.iml
@@ -10,7 +10,9 @@
-
+
+
+
@@ -23,6 +25,8 @@
+
+
diff --git a/jeecg-boot-base/jeecg-boot-base-api/jeecg-system-local-api/target/jeecg-system-local-api-3.2.0.jar b/jeecg-boot-base/jeecg-boot-base-api/jeecg-system-local-api/target/jeecg-system-local-api-3.2.0.jar
deleted file mode 100644
index e122bb3..0000000
Binary files a/jeecg-boot-base/jeecg-boot-base-api/jeecg-system-local-api/target/jeecg-system-local-api-3.2.0.jar and /dev/null differ
diff --git a/jeecg-boot-base/jeecg-boot-base-api/jeecg-system-local-api/target/maven-archiver/pom.properties b/jeecg-boot-base/jeecg-boot-base-api/jeecg-system-local-api/target/maven-archiver/pom.properties
deleted file mode 100644
index 1025564..0000000
--- a/jeecg-boot-base/jeecg-boot-base-api/jeecg-system-local-api/target/maven-archiver/pom.properties
+++ /dev/null
@@ -1,3 +0,0 @@
-artifactId=jeecg-system-local-api
-groupId=org.jeecgframework.boot
-version=3.2.0
diff --git a/jeecg-boot-base/jeecg-boot-base-api/jeecg-system-local-api/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst b/jeecg-boot-base/jeecg-boot-base-api/jeecg-system-local-api/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
deleted file mode 100644
index 46c52df..0000000
--- a/jeecg-boot-base/jeecg-boot-base-api/jeecg-system-local-api/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
+++ /dev/null
@@ -1 +0,0 @@
-org/jeecg/common/system/api/ISysBaseAPI.class
diff --git a/jeecg-boot-base/jeecg-boot-base-api/jeecg-system-local-api/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst b/jeecg-boot-base/jeecg-boot-base-api/jeecg-system-local-api/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
deleted file mode 100644
index b52aa9e..0000000
--- a/jeecg-boot-base/jeecg-boot-base-api/jeecg-system-local-api/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
+++ /dev/null
@@ -1 +0,0 @@
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-api/jeecg-system-local-api/src/main/java/org/jeecg/common/system/api/ISysBaseAPI.java
diff --git a/jeecg-boot-base/jeecg-boot-base-core/jeecg-boot-base-core.iml b/jeecg-boot-base/jeecg-boot-base-core/jeecg-boot-base-core.iml
index f1c7418..c001c6e 100644
--- a/jeecg-boot-base/jeecg-boot-base-core/jeecg-boot-base-core.iml
+++ b/jeecg-boot-base/jeecg-boot-base-core/jeecg-boot-base-core.iml
@@ -10,7 +10,9 @@
-
+
+
+
@@ -24,6 +26,8 @@
+
+
diff --git a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/config/shiro/ShiroConfig.java b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/config/shiro/ShiroConfig.java
index f25849b..212f41b 100644
--- a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/config/shiro/ShiroConfig.java
+++ b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/config/shiro/ShiroConfig.java
@@ -78,6 +78,7 @@ public class ShiroConfig {
//开启小程序不需要token的接口过滤 (现在先全开放后面再来改)
filterChainDefinitionMap.put("/cheer/login/**", "anon");
filterChainDefinitionMap.put("/cheer/info/**", "anon");
+ filterChainDefinitionMap.put("/cheer/two/**", "anon");
filterChainDefinitionMap.put("/api/order/**", "anon");
filterChainDefinitionMap.put("/school/login/**", "anon");
diff --git a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerRecharge/controller/CheerRechargeController.java b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerRecharge/controller/CheerRechargeController.java
index 71e5874..8d7c8ce 100644
--- a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerRecharge/controller/CheerRechargeController.java
+++ b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerRecharge/controller/CheerRechargeController.java
@@ -39,7 +39,7 @@ import org.jeecg.common.aspect.annotation.AutoLog;
/**
* @Description: 充值套餐
* @Author: jeecg-boot
- * @Date: 2024-08-29
+ * @Date: 2024-10-06
* @Version: V1.0
*/
@Api(tags="充值套餐")
diff --git a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerRecharge/entity/CheerRecharge.java b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerRecharge/entity/CheerRecharge.java
index 73c49d7..3634c8c 100644
--- a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerRecharge/entity/CheerRecharge.java
+++ b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerRecharge/entity/CheerRecharge.java
@@ -20,7 +20,7 @@ import lombok.experimental.Accessors;
/**
* @Description: 充值套餐
* @Author: jeecg-boot
- * @Date: 2024-08-29
+ * @Date: 2024-10-06
* @Version: V1.0
*/
@Data
@@ -47,6 +47,11 @@ public class CheerRecharge implements Serializable {
/**更新日期*/
@ApiModelProperty(value = "更新日期")
private java.util.Date updateTime;
+ /**加油站*/
+ @Excel(name = "加油站", width = 15, dictTable = "cheer_shop", dicText = "name", dicCode = "id")
+ @Dict(dictTable = "cheer_shop", dicText = "name", dicCode = "id")
+ @ApiModelProperty(value = "加油站")
+ private java.lang.String shopId;
/**金融*/
@Excel(name = "金融", width = 15)
@ApiModelProperty(value = "金融")
diff --git a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerRecharge/mapper/CheerRechargeMapper.java b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerRecharge/mapper/CheerRechargeMapper.java
index d19bbd9..7d20cff 100644
--- a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerRecharge/mapper/CheerRechargeMapper.java
+++ b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerRecharge/mapper/CheerRechargeMapper.java
@@ -9,7 +9,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* @Description: 充值套餐
* @Author: jeecg-boot
- * @Date: 2024-08-29
+ * @Date: 2024-10-06
* @Version: V1.0
*/
public interface CheerRechargeMapper extends BaseMapper {
diff --git a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerRecharge/service/ICheerRechargeService.java b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerRecharge/service/ICheerRechargeService.java
index 5dd8ff8..0c7b3c9 100644
--- a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerRecharge/service/ICheerRechargeService.java
+++ b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerRecharge/service/ICheerRechargeService.java
@@ -6,7 +6,7 @@ import com.baomidou.mybatisplus.extension.service.IService;
/**
* @Description: 充值套餐
* @Author: jeecg-boot
- * @Date: 2024-08-29
+ * @Date: 2024-10-06
* @Version: V1.0
*/
public interface ICheerRechargeService extends IService {
diff --git a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerRecharge/service/impl/CheerRechargeServiceImpl.java b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerRecharge/service/impl/CheerRechargeServiceImpl.java
index 8861b81..4831846 100644
--- a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerRecharge/service/impl/CheerRechargeServiceImpl.java
+++ b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerRecharge/service/impl/CheerRechargeServiceImpl.java
@@ -10,7 +10,7 @@ import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
/**
* @Description: 充值套餐
* @Author: jeecg-boot
- * @Date: 2024-08-29
+ * @Date: 2024-10-06
* @Version: V1.0
*/
@Service
diff --git a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerRecharge/vue/CheerRechargeList.vue b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerRecharge/vue/CheerRechargeList.vue
index fb52825..d6fb6d0 100644
--- a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerRecharge/vue/CheerRechargeList.vue
+++ b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerRecharge/vue/CheerRechargeList.vue
@@ -4,6 +4,21 @@
@@ -99,6 +114,7 @@
import { mixinDevice } from '@/utils/mixin'
import { JeecgListMixin } from '@/mixins/JeecgListMixin'
import CheerRechargeModal from './modules/CheerRechargeModal'
+ import {filterMultiDictText} from '@/components/dict/JDictSelectUtil'
export default {
name: 'CheerRechargeList',
@@ -121,6 +137,11 @@
return parseInt(index)+1;
}
},
+ {
+ title:'加油站',
+ align:"center",
+ dataIndex: 'shopId_dictText'
+ },
{
title:'金融',
align:"center",
@@ -160,6 +181,7 @@
},
getSuperFieldList(){
let fieldList=[];
+ fieldList.push({type:'sel_search',value:'shopId',text:'加油站',dictTable:"cheer_shop", dictText:'name', dictCode:'id'})
fieldList.push({type:'BigDecimal',value:'price',text:'金融',dictCode:''})
this.superFieldList = fieldList
}
diff --git a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerRecharge/vue/modules/CheerRechargeForm.vue b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerRecharge/vue/modules/CheerRechargeForm.vue
index 1a42f68..16070cf 100644
--- a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerRecharge/vue/modules/CheerRechargeForm.vue
+++ b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerRecharge/vue/modules/CheerRechargeForm.vue
@@ -3,6 +3,11 @@
+
+
+
+
+
diff --git a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerRecharge/vue3/CheerRecharge.data.ts b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerRecharge/vue3/CheerRecharge.data.ts
index e0f0077..4c16afd 100644
--- a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerRecharge/vue3/CheerRecharge.data.ts
+++ b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerRecharge/vue3/CheerRecharge.data.ts
@@ -5,6 +5,11 @@ import { render } from '/@/utils/common/renderUtils';
//列表数据
export const columns: BasicColumn[] = [
{
+ title: '加油站',
+ align:"center",
+ dataIndex: 'shopId_dictText'
+ },
+ {
title: '金融',
align:"center",
dataIndex: 'price'
@@ -12,9 +17,26 @@ export const columns: BasicColumn[] = [
];
//查询数据
export const searchFormSchema: FormSchema[] = [
+ {
+ label: "加油站",
+ field: "shopId",
+ component: 'JSearchSelect',
+ componentProps:{
+ dict:"cheer_shop,name,id"
+ },
+ colProps: {span: 6},
+ },
];
//表单数据
export const formSchema: FormSchema[] = [
+ {
+ label: '加油站',
+ field: 'shopId',
+ component: 'JSearchSelect',
+ componentProps:{
+ dict:"cheer_shop,name,id"
+ },
+ },
{
label: '金融',
field: 'price',
diff --git a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerWater/controller/CheerWaterController.java b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerWater/controller/CheerWaterController.java
index 890c963..62ab837 100644
--- a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerWater/controller/CheerWaterController.java
+++ b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerWater/controller/CheerWaterController.java
@@ -39,7 +39,7 @@ import org.jeecg.common.aspect.annotation.AutoLog;
/**
* @Description: 加油流水表
* @Author: jeecg-boot
- * @Date: 2024-09-09
+ * @Date: 2024-10-06
* @Version: V1.0
*/
@Api(tags="加油流水表")
diff --git a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerWater/entity/CheerWater.java b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerWater/entity/CheerWater.java
index 77810ca..b18b8e9 100644
--- a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerWater/entity/CheerWater.java
+++ b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerWater/entity/CheerWater.java
@@ -20,7 +20,7 @@ import lombok.experimental.Accessors;
/**
* @Description: 加油流水表
* @Author: jeecg-boot
- * @Date: 2024-09-09
+ * @Date: 2024-10-06
* @Version: V1.0
*/
@Data
@@ -47,6 +47,11 @@ public class CheerWater implements Serializable {
/**更新日期*/
@ApiModelProperty(value = "更新日期")
private java.util.Date updateTime;
+ /**加油站*/
+ @Excel(name = "加油站", width = 15, dictTable = "cheer_shop", dicText = "name", dicCode = "id")
+ @Dict(dictTable = "cheer_shop", dicText = "name", dicCode = "id")
+ @ApiModelProperty(value = "加油站")
+ private java.lang.String shopId;
/**原价*/
@Excel(name = "原价", width = 15)
@ApiModelProperty(value = "原价")
diff --git a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerWater/mapper/CheerWaterMapper.java b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerWater/mapper/CheerWaterMapper.java
index 76e4e19..b94076f 100644
--- a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerWater/mapper/CheerWaterMapper.java
+++ b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerWater/mapper/CheerWaterMapper.java
@@ -9,7 +9,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* @Description: 加油流水表
* @Author: jeecg-boot
- * @Date: 2024-09-09
+ * @Date: 2024-10-06
* @Version: V1.0
*/
public interface CheerWaterMapper extends BaseMapper {
diff --git a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerWater/service/ICheerWaterService.java b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerWater/service/ICheerWaterService.java
index aeac35c..73ca56c 100644
--- a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerWater/service/ICheerWaterService.java
+++ b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerWater/service/ICheerWaterService.java
@@ -6,7 +6,7 @@ import com.baomidou.mybatisplus.extension.service.IService;
/**
* @Description: 加油流水表
* @Author: jeecg-boot
- * @Date: 2024-09-09
+ * @Date: 2024-10-06
* @Version: V1.0
*/
public interface ICheerWaterService extends IService {
diff --git a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerWater/service/impl/CheerWaterServiceImpl.java b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerWater/service/impl/CheerWaterServiceImpl.java
index 170ddc8..e0bf7e9 100644
--- a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerWater/service/impl/CheerWaterServiceImpl.java
+++ b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerWater/service/impl/CheerWaterServiceImpl.java
@@ -10,7 +10,7 @@ import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
/**
* @Description: 加油流水表
* @Author: jeecg-boot
- * @Date: 2024-09-09
+ * @Date: 2024-10-06
* @Version: V1.0
*/
@Service
diff --git a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerWater/vue/CheerWaterList.vue b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerWater/vue/CheerWaterList.vue
index 7f10e13..297320c 100644
--- a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerWater/vue/CheerWaterList.vue
+++ b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerWater/vue/CheerWaterList.vue
@@ -4,6 +4,11 @@
+
+
+
+
+
@@ -143,6 +148,11 @@
sorter: true,
dataIndex: 'createTime'
},
+ {
+ title:'加油站',
+ align:"center",
+ dataIndex: 'shopId_dictText'
+ },
{
title:'原价',
align:"center",
@@ -204,6 +214,7 @@
getSuperFieldList(){
let fieldList=[];
fieldList.push({type:'datetime',value:'createTime',text:'创建日期'})
+ fieldList.push({type:'sel_search',value:'shopId',text:'加油站',dictTable:"cheer_shop", dictText:'name', dictCode:'id'})
fieldList.push({type:'BigDecimal',value:'oldPrice',text:'原价',dictCode:''})
fieldList.push({type:'BigDecimal',value:'price',text:'支付价',dictCode:''})
fieldList.push({type:'sel_search',value:'userId',text:'用户标识',dictTable:"han_hai_member", dictText:'nick_name', dictCode:'id'})
diff --git a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerWater/vue/modules/CheerWaterForm.vue b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerWater/vue/modules/CheerWaterForm.vue
index 114eeb6..d4d94d5 100644
--- a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerWater/vue/modules/CheerWaterForm.vue
+++ b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerWater/vue/modules/CheerWaterForm.vue
@@ -3,6 +3,11 @@
+
+
+
+
+
diff --git a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerWater/vue3/CheerWater.data.ts b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerWater/vue3/CheerWater.data.ts
index b86ce0a..da4122e 100644
--- a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerWater/vue3/CheerWater.data.ts
+++ b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerWater/vue3/CheerWater.data.ts
@@ -10,6 +10,11 @@ export const columns: BasicColumn[] = [
sorter: true,
dataIndex: 'createTime'
},
+ {
+ title: '加油站',
+ align:"center",
+ dataIndex: 'shopId_dictText'
+ },
{
title: '原价',
align:"center",
@@ -40,6 +45,15 @@ export const columns: BasicColumn[] = [
//查询数据
export const searchFormSchema: FormSchema[] = [
{
+ label: "加油站",
+ field: "shopId",
+ component: 'JSearchSelect',
+ componentProps:{
+ dict:"cheer_shop,name,id"
+ },
+ colProps: {span: 6},
+ },
+ {
label: "支付状态",
field: "state",
component: 'JSearchSelect',
@@ -51,6 +65,14 @@ export const searchFormSchema: FormSchema[] = [
];
//表单数据
export const formSchema: FormSchema[] = [
+ {
+ label: '加油站',
+ field: 'shopId',
+ component: 'JSearchSelect',
+ componentProps:{
+ dict:"cheer_shop,name,id"
+ },
+ },
{
label: '原价',
field: 'oldPrice',
diff --git a/jeecg-boot-base/jeecg-boot-base-core/target/classes/org/jeecg/config/shiro/ShiroConfig.class b/jeecg-boot-base/jeecg-boot-base-core/target/classes/org/jeecg/config/shiro/ShiroConfig.class
index a2c84cb..49e1f8c 100644
Binary files a/jeecg-boot-base/jeecg-boot-base-core/target/classes/org/jeecg/config/shiro/ShiroConfig.class and b/jeecg-boot-base/jeecg-boot-base-core/target/classes/org/jeecg/config/shiro/ShiroConfig.class differ
diff --git a/jeecg-boot-base/jeecg-boot-base-core/target/classes/org/jeecg/modules/cheerRecharge/entity/CheerRecharge.class b/jeecg-boot-base/jeecg-boot-base-core/target/classes/org/jeecg/modules/cheerRecharge/entity/CheerRecharge.class
index bd0c924..a96c4d3 100644
Binary files a/jeecg-boot-base/jeecg-boot-base-core/target/classes/org/jeecg/modules/cheerRecharge/entity/CheerRecharge.class and b/jeecg-boot-base/jeecg-boot-base-core/target/classes/org/jeecg/modules/cheerRecharge/entity/CheerRecharge.class differ
diff --git a/jeecg-boot-base/jeecg-boot-base-core/target/classes/org/jeecg/modules/cheerWater/entity/CheerWater.class b/jeecg-boot-base/jeecg-boot-base-core/target/classes/org/jeecg/modules/cheerWater/entity/CheerWater.class
index d7e5bc4..a02cc3a 100644
Binary files a/jeecg-boot-base/jeecg-boot-base-core/target/classes/org/jeecg/modules/cheerWater/entity/CheerWater.class and b/jeecg-boot-base/jeecg-boot-base-core/target/classes/org/jeecg/modules/cheerWater/entity/CheerWater.class differ
diff --git a/jeecg-boot-base/jeecg-boot-base-core/target/jeecg-boot-base-core-3.2.0.jar b/jeecg-boot-base/jeecg-boot-base-core/target/jeecg-boot-base-core-3.2.0.jar
deleted file mode 100644
index ab93ae3..0000000
Binary files a/jeecg-boot-base/jeecg-boot-base-core/target/jeecg-boot-base-core-3.2.0.jar and /dev/null differ
diff --git a/jeecg-boot-base/jeecg-boot-base-core/target/maven-archiver/pom.properties b/jeecg-boot-base/jeecg-boot-base-core/target/maven-archiver/pom.properties
deleted file mode 100644
index 84b337b..0000000
--- a/jeecg-boot-base/jeecg-boot-base-core/target/maven-archiver/pom.properties
+++ /dev/null
@@ -1,3 +0,0 @@
-artifactId=jeecg-boot-base-core
-groupId=org.jeecgframework.boot
-version=3.2.0
diff --git a/jeecg-boot-base/jeecg-boot-base-core/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst b/jeecg-boot-base/jeecg-boot-base-core/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
deleted file mode 100644
index ff9a3af..0000000
--- a/jeecg-boot-base/jeecg-boot-base-core/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
+++ /dev/null
@@ -1,183 +0,0 @@
-org/jeecg/common/api/dto/OnlineAuthDTO.class
-org/jeecg/common/aspect/annotation/AutoDict.class
-org/jeecg/common/util/security/entity/SecuritySignReq.class
-org/jeecg/common/aspect/UrlMatchEnum.class
-org/jeecg/common/api/dto/LogDTO.class
-org/jeecg/common/util/SpringContextUtils.class
-org/jeecg/common/api/dto/FileDownDTO.class
-org/jeecg/common/constant/enums/ModuleType.class
-org/jeecg/modules/bean/LoginReq.class
-org/jeecg/config/mybatis/TenantContext.class
-org/jeecg/config/WebMvcConfiguration.class
-org/jeecg/common/util/MyClassLoader.class
-org/jeecg/common/util/BrowserType.class
-org/jeecg/common/system/query/QueryRuleEnum.class
-org/jeecg/modules/cheerConf/service/ICheerConfService.class
-org/jeecg/common/util/YouBianCodeUtil.class
-org/jeecg/common/system/vo/SysCategoryModel.class
-org/jeecg/common/aspect/annotation/AutoLog.class
-org/jeecg/common/constant/ProvinceCityArea.class
-org/jeecg/common/system/vo/DictQuery.class
-org/jeecg/common/aspect/annotation/OnlineAuth.class
-org/jeecg/common/util/RestDesformUtil.class
-org/jeecg/common/es/JeecgElasticsearchTemplate.class
-org/jeecg/common/api/dto/message/MessageDTO.class
-org/jeecg/common/system/vo/DictModelMany.class
-org/jeecg/modules/cheerRecharge/controller/CheerRechargeController.class
-org/jeecg/common/system/base/service/JeecgService.class
-org/jeecg/config/mybatis/MybatisInterceptor.class
-org/jeecg/config/sign/util/BodyReaderHttpServletRequestWrapper$1.class
-org/jeecg/common/constant/enums/OperateTypeEnum.class
-org/jeecg/common/exception/JeecgBoot401Exception.class
-org/jeecg/common/util/BrowserUtils.class
-org/jeecg/common/util/oConvertUtils.class
-org/jeecg/common/util/CommonUtils.class
-org/jeecg/modules/cheerWater/controller/CheerWaterController.class
-org/jeecg/common/util/DateUtils$3.class
-org/jeecg/modules/bean/ConvertUtils.class
-org/jeecg/common/exception/JeecgBootExceptionHandler.class
-org/jeecg/config/shiro/filters/JwtFilter.class
-org/jeecg/common/util/encryption/EncryptedString.class
-org/jeecg/config/oss/MinioConfig.class
-org/jeecg/modules/cheerRecharge/service/ICheerRechargeService.class
-org/jeecg/modules/base/mapper/BaseCommonMapper.class
-org/jeecg/common/handler/IFillRuleHandler.class
-org/jeecg/config/sign/util/SignUtil.class
-org/jeecg/config/DruidConfig.class
-org/jeecg/config/oss/OssConfiguration.class
-org/jeecg/common/system/util/JwtUtil.class
-org/jeecg/common/util/DateUtils.class
-org/jeecg/common/util/PmsUtil.class
-org/jeecg/modules/hanHaiMember/service/impl/HanHaiMemberServiceImpl.class
-org/jeecg/config/Swagger2Config.class
-org/jeecg/common/util/PathMatcherUtil$SpringAntMatcher.class
-org/jeecg/common/aspect/PermissionDataAspect.class
-org/jeecg/modules/cheerConf/service/impl/CheerConfServiceImpl.class
-org/jeecg/common/constant/ServiceNameConstants.class
-org/jeecg/common/system/vo/DynamicDataSourceModel.class
-org/jeecg/config/thirdapp/ThirdAppTypeItemVo.class
-org/jeecg/common/api/dto/message/TemplateMessageDTO.class
-org/jeecg/config/thirdapp/ThirdAppTypeConfig.class
-org/jeecg/config/DruidConfig$RemoveAdFilter.class
-org/jeecg/config/shiro/ShiroRealm.class
-org/jeecg/common/util/SysAnnmentTypeEnum.class
-org/jeecg/common/constant/ProvinceCityArea$Area.class
-org/jeecg/common/util/security/entity/SecurityResp.class
-org/jeecg/common/system/vo/SysDepartModel.class
-org/jeecg/common/util/DateUtils$6.class
-org/jeecg/common/aspect/annotation/AutoLowApp.class
-org/jeecg/common/exception/JeecgBootException.class
-org/jeecg/common/system/base/entity/JeecgEntity.class
-org/jeecg/common/util/UUIDGenerator.class
-org/jeecg/common/constant/CommonConstant.class
-org/jeecg/config/sign/util/BodyReaderHttpServletRequestWrapper.class
-org/jeecg/common/util/security/entity/SecurityReq.class
-org/jeecg/config/CorsFilterCondition.class
-org/jeecg/config/mybatis/MybatisPlusSaasConfig.class
-org/jeecg/config/JeecgCloudCondition.class
-org/jeecg/common/util/PathMatcherUtil$1.class
-org/jeecg/config/shiro/JwtToken.class
-org/jeecg/modules/cheerConf/controller/CheerConfController.class
-org/jeecg/common/aspect/AutoLogAspect$1.class
-org/jeecg/modules/hanHaiMember/service/IHanHaiMemberService.class
-org/jeecg/common/util/security/SecurityTools.class
-org/jeecg/common/util/HTMLUtils.class
-org/jeecg/common/util/PathMatcherUtil.class
-org/jeecg/modules/cheerConf/entity/CheerConf.class
-org/jeecg/common/util/security/AbstractQueryBlackListHandler.class
-org/jeecg/common/util/encryption/AesEncryptUtil.class
-org/jeecg/common/api/vo/Result.class
-org/jeecg/common/util/dynamic/db/DataSourceCachePool.class
-org/jeecg/common/constant/FillRuleConstant.class
-org/jeecg/common/system/query/QueryGenerator$1.class
-org/jeecg/modules/cheerRecharge/service/impl/CheerRechargeServiceImpl.class
-org/jeecg/modules/cheerRecharge/entity/CheerRecharge.class
-org/jeecg/common/system/query/QueryCondition.class
-org/jeecg/common/util/ReflectHelper.class
-org/jeecg/common/util/DateUtils$5.class
-org/jeecg/config/AutoPoiDictConfig.class
-org/jeecg/common/util/security/entity/SecuritySignResp.class
-org/jeecg/common/system/base/controller/JeecgController.class
-org/jeecg/modules/hanHaiMember/controller/HanHaiMemberController.class
-org/jeecg/common/constant/DataBaseConstant.class
-org/jeecg/common/constant/enums/RoleIndexConfigEnum.class
-org/jeecg/common/system/vo/SysPermissionDataRuleModel.class
-org/jeecg/common/util/DateUtils$4.class
-org/jeecg/common/util/oss/OssBootUtil.class
-org/jeecg/common/api/dto/FileUploadDTO.class
-org/jeecg/common/util/DateUtils$7.class
-org/jeecg/modules/cheerWater/mapper/CheerWaterMapper.class
-org/jeecg/common/constant/enums/CgformEnum.class
-org/jeecg/modules/hanHaiMember/entity/HanHaiMember.class
-org/jeecg/common/util/FillRuleUtil.class
-org/jeecg/common/system/util/JeecgDataAutorUtils.class
-org/jeecg/config/shiro/filters/CustomShiroFilterFactoryBean$MySpringShiroFilter.class
-org/jeecg/common/constant/enums/LowAppAopEnum.class
-org/jeecg/common/api/dto/message/TemplateDTO.class
-org/jeecg/config/mybatis/MybatisPlusSaasConfig$1.class
-org/jeecg/common/constant/CommonSendStatus.class
-org/jeecg/common/util/IpUtils.class
-org/jeecg/common/aspect/annotation/PermissionData.class
-org/jeecg/modules/cheerWater/service/impl/CheerWaterServiceImpl.class
-org/jeecg/modules/cheerRecharge/mapper/CheerRechargeMapper.class
-org/jeecg/common/util/DateUtils$1.class
-org/jeecg/common/constant/WebsocketConst.class
-org/jeecg/common/util/MinioUtil.class
-org/jeecg/common/es/QueryStringBuilder.class
-org/jeecg/common/system/vo/SysUserCacheInfo.class
-org/jeecg/modules/cheerWater/entity/CheerWater.class
-org/jeecg/common/system/query/MatchTypeEnum.class
-org/jeecg/common/aspect/annotation/Dict.class
-org/jeecg/modules/base/service/BaseCommonService.class
-org/jeecg/common/util/DySmsHelper.class
-org/jeecg/config/shiro/filters/CustomShiroFilterFactoryBean.class
-org/jeecg/modules/base/service/impl/BaseCommonServiceImpl.class
-org/jeecg/config/WebSocketConfig.class
-org/jeecg/config/StaticConfig.class
-org/jeecg/config/shiro/filters/ResourceCheckFilter.class
-org/jeecg/common/util/dynamic/db/DbTypeUtils.class
-org/jeecg/config/vo/Shiro.class
-org/jeecg/config/thirdapp/ThirdAppConfig.class
-org/jeecg/modules/hanHaiMember/mapper/HanHaiMemberMapper.class
-org/jeecg/common/aspect/DictAspect.class
-org/jeecg/common/api/CommonAPI.class
-org/jeecg/modules/cheerWater/service/ICheerWaterService.class
-org/jeecg/config/AutoPoiConfig.class
-org/jeecg/common/util/DateUtils$2.class
-org/jeecg/modules/service/ApiLoginService.class
-org/jeecg/common/aspect/AutoLogAspect.class
-org/jeecg/config/sign/interceptor/SignAuthConfiguration.class
-org/jeecg/common/system/vo/DictModel.class
-org/jeecg/common/util/dynamic/db/FreemarkerParseFactory.class
-org/jeecg/common/util/RestUtil.class
-org/jeecg/common/constant/VxeSocketConst.class
-org/jeecg/common/util/ImportExcelUtil.class
-org/jeecg/common/util/PasswordUtil.class
-org/jeecg/common/system/query/QueryGenerator.class
-org/jeecg/config/Swagger2Config$1.class
-org/jeecg/common/util/security/entity/MyKeyPair.class
-org/jeecg/modules/service/AppletLoginService.class
-org/jeecg/config/sign/interceptor/SignAuthInterceptor.class
-org/jeecg/common/util/filter/FileTypeFilter.class
-org/jeecg/modules/cheerConf/mapper/CheerConfMapper.class
-org/jeecg/common/util/dynamic/db/DynamicDBUtil.class
-org/jeecg/modules/service/impl/AppletLoginServiceImpl.class
-org/jeecg/common/util/DySmsEnum.class
-org/jeecg/common/util/security/AbstractQueryBlackListHandler$QueryTable.class
-org/jeecg/common/util/PathMatcherUtil$Matcher.class
-org/jeecg/common/api/dto/message/BusMessageDTO.class
-org/jeecg/config/RestTemplateConfig.class
-org/jeecg/config/shiro/ShiroConfig.class
-org/jeecg/common/constant/SymbolConstant.class
-org/jeecg/common/util/SqlInjectionUtil.class
-org/jeecg/common/system/vo/ComboModel.class
-org/jeecg/common/api/dto/message/BusTemplateMessageDTO.class
-org/jeecg/common/util/Md5Util.class
-org/jeecg/modules/bean/HttpConf.class
-org/jeecg/config/JeeccgBaseConfig.class
-org/jeecg/common/util/filter/StrAttackFilter.class
-org/jeecg/common/system/base/service/impl/JeecgServiceImpl.class
-org/jeecg/modules/service/impl/ApiLoginServiceImpl.class
-org/jeecg/config/sign/util/HttpUtils.class
-org/jeecg/common/util/TokenUtils.class
-org/jeecg/common/system/vo/LoginUser.class
diff --git a/jeecg-boot-base/jeecg-boot-base-core/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst b/jeecg-boot-base/jeecg-boot-base-core/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
deleted file mode 100644
index bdf928f..0000000
--- a/jeecg-boot-base/jeecg-boot-base-core/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
+++ /dev/null
@@ -1,168 +0,0 @@
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/constant/VxeSocketConst.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/system/vo/SysDepartModel.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/api/CommonAPI.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/config/mybatis/MybatisPlusSaasConfig.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/aspect/PermissionDataAspect.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/config/vo/Shiro.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/system/vo/DictModelMany.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerConf/mapper/CheerConfMapper.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/system/query/MatchTypeEnum.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerWater/service/impl/CheerWaterServiceImpl.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/config/shiro/filters/ResourceCheckFilter.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/util/dynamic/db/FreemarkerParseFactory.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/system/base/service/JeecgService.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/constant/enums/LowAppAopEnum.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerRecharge/service/impl/CheerRechargeServiceImpl.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/util/superSearch/QueryRuleVo.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/api/dto/LogDTO.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/config/shiro/JwtToken.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/config/DruidConfig.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/util/RestDesformUtil.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/util/MinioUtil.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/util/SpringContextUtils.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/hanHaiMember/service/IHanHaiMemberService.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/mapper/BaseCommonMapper.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/config/mybatis/MybatisInterceptor.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/util/security/entity/SecuritySignReq.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/util/ReflectHelper.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/util/DySmsEnum.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/aspect/DictAspect.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/hanHaiMember/service/impl/HanHaiMemberServiceImpl.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/util/Md5Util.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/aspect/annotation/Dict.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/util/filter/FileTypeFilter.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/system/query/QueryCondition.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/system/base/service/impl/JeecgServiceImpl.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/hanHaiMember/entity/HanHaiMember.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerWater/entity/CheerWater.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/api/dto/message/TemplateMessageDTO.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/system/query/QueryGenerator.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerConf/service/impl/CheerConfServiceImpl.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/config/StaticConfig.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/util/PathMatcherUtil.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/util/dynamic/db/DynamicDBUtil.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/exception/JeecgBootException.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/util/encryption/AesEncryptUtil.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/util/TokenUtils.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/system/vo/LoginUser.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/util/filter/StrAttackFilter.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/api/dto/message/MessageDTO.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/system/base/entity/JeecgEntity.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/api/dto/FileDownDTO.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/exception/JeecgBoot401Exception.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/system/query/QueryRuleEnum.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/aspect/annotation/PermissionData.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/util/superSearch/QueryRuleEnum.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/aspect/annotation/AutoLog.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/exception/JeecgBootExceptionHandler.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/util/SqlInjectionUtil.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerWater/mapper/CheerWaterMapper.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/util/PasswordUtil.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/config/JeecgCloudCondition.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/util/CommonUtils.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/aspect/UrlMatchEnum.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/constant/FillRuleConstant.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/util/RestUtil.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/config/oss/MinioConfig.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/api/dto/message/BusMessageDTO.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/system/vo/ComboModel.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/util/UUIDGenerator.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/bean/LoginReq.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/config/sign/interceptor/SignAuthConfiguration.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/handler/IFillRuleHandler.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/aspect/annotation/OnlineAuth.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/constant/enums/OperateTypeEnum.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/util/FillRuleUtil.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/config/shiro/ShiroRealm.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/aspect/annotation/AutoDict.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/service/impl/AppletLoginServiceImpl.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/aspect/annotation/AutoLowApp.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/util/security/entity/SecuritySignResp.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerConf/controller/CheerConfController.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/bean/ConvertUtils.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/util/security/SecurityTools.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/config/thirdapp/ThirdAppTypeItemVo.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/util/encryption/EncryptedString.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/system/vo/SysPermissionDataRuleModel.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/constant/CommonSendStatus.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/config/mybatis/JeecgTenantParser.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/constant/enums/RoleIndexConfigEnum.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/config/AutoPoiConfig.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/config/CorsFilterCondition.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/api/dto/message/BusTemplateMessageDTO.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerWater/service/ICheerWaterService.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/util/YouBianCodeUtil.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/service/AppletLoginService.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/util/IpUtils.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/system/vo/DictQuery.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/api/dto/FileUploadDTO.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/config/shiro/ShiroConfig.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerRecharge/controller/CheerRechargeController.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/util/security/AbstractQueryBlackListHandler.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/system/base/controller/JeecgController.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/es/JeecgElasticsearchTemplate.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerRecharge/service/ICheerRechargeService.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/util/BrowserUtils.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/config/shiro/filters/JwtFilter.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/util/DySmsHelper.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/util/oConvertUtils.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/util/dynamic/db/DataSourceCachePool.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/util/MyClassLoader.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/util/dynamic/db/DbTypeUtils.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerWater/controller/CheerWaterController.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/api/vo/Result.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/service/ApiLoginService.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/config/WebMvcConfiguration.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerConf/entity/CheerConf.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/api/dto/message/TemplateDTO.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/util/HTMLUtils.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/util/oss/OssBootUtil.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/constant/enums/ModuleType.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/system/util/JwtUtil.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/hanHaiMember/controller/HanHaiMemberController.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/util/security/entity/SecurityResp.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/constant/DataBaseConstant.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/util/DateUtils.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/constant/SymbolConstant.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/aspect/AutoLogAspect.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/util/ImportExcelUtil.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/system/vo/DynamicDataSourceModel.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/system/util/JeecgDataAutorUtils.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/util/SysAnnmentTypeEnum.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/config/WebSocketConfig.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerRecharge/entity/CheerRecharge.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/config/Swagger2Config.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/constant/ServiceNameConstants.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/constant/WebsocketConst.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/constant/ProvinceCityArea.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/config/RestTemplateConfig.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/system/vo/SysUserCacheInfo.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerConf/service/ICheerConfService.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/service/impl/BaseCommonServiceImpl.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/config/sign/util/HttpUtils.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/config/sign/util/BodyReaderHttpServletRequestWrapper.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/system/vo/DictModel.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/hanHaiMember/mapper/HanHaiMemberMapper.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/system/vo/SysCategoryModel.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/config/AutoPoiDictConfig.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/constant/enums/CgformEnum.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/config/mybatis/TenantContext.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/bean/HttpConf.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/config/thirdapp/ThirdAppConfig.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/util/BrowserType.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/config/sign/util/SignUtil.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/util/security/entity/MyKeyPair.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/config/JeeccgBaseConfig.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/service/impl/ApiLoginServiceImpl.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/config/sign/interceptor/SignAuthInterceptor.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/util/security/entity/SecurityReq.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/constant/CommonConstant.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/api/dto/OnlineAuthDTO.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/es/QueryStringBuilder.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cheerRecharge/mapper/CheerRechargeMapper.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/config/thirdapp/ThirdAppTypeConfig.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/config/oss/OssConfiguration.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/service/BaseCommonService.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/config/shiro/filters/CustomShiroFilterFactoryBean.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/util/superSearch/ObjectParseUtil.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/util/PmsUtil.java
diff --git a/jeecg-boot-base/jeecg-boot-base-tools/jeecg-boot-base-tools.iml b/jeecg-boot-base/jeecg-boot-base-tools/jeecg-boot-base-tools.iml
index 4931d60..0748f46 100644
--- a/jeecg-boot-base/jeecg-boot-base-tools/jeecg-boot-base-tools.iml
+++ b/jeecg-boot-base/jeecg-boot-base-tools/jeecg-boot-base-tools.iml
@@ -15,6 +15,8 @@
+
+
diff --git a/jeecg-boot-base/jeecg-boot-base-tools/target/classes/org/jeecg/common/modules/redis/writer/JeecgRedisCacheWriter.class b/jeecg-boot-base/jeecg-boot-base-tools/target/classes/org/jeecg/common/modules/redis/writer/JeecgRedisCacheWriter.class
index 0eeaa52..4f487eb 100644
Binary files a/jeecg-boot-base/jeecg-boot-base-tools/target/classes/org/jeecg/common/modules/redis/writer/JeecgRedisCacheWriter.class and b/jeecg-boot-base/jeecg-boot-base-tools/target/classes/org/jeecg/common/modules/redis/writer/JeecgRedisCacheWriter.class differ
diff --git a/jeecg-boot-base/jeecg-boot-base-tools/target/jeecg-boot-base-tools-3.2.0.jar b/jeecg-boot-base/jeecg-boot-base-tools/target/jeecg-boot-base-tools-3.2.0.jar
deleted file mode 100644
index a43cf6d..0000000
Binary files a/jeecg-boot-base/jeecg-boot-base-tools/target/jeecg-boot-base-tools-3.2.0.jar and /dev/null differ
diff --git a/jeecg-boot-base/jeecg-boot-base-tools/target/maven-archiver/pom.properties b/jeecg-boot-base/jeecg-boot-base-tools/target/maven-archiver/pom.properties
deleted file mode 100644
index 020e8cb..0000000
--- a/jeecg-boot-base/jeecg-boot-base-tools/target/maven-archiver/pom.properties
+++ /dev/null
@@ -1,3 +0,0 @@
-artifactId=jeecg-boot-base-tools
-groupId=org.jeecgframework.boot
-version=3.2.0
diff --git a/jeecg-boot-base/jeecg-boot-base-tools/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst b/jeecg-boot-base/jeecg-boot-base-tools/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
deleted file mode 100644
index 295a355..0000000
--- a/jeecg-boot-base/jeecg-boot-base-tools/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
+++ /dev/null
@@ -1,15 +0,0 @@
-org/jeecg/common/modules/redis/writer/JeecgRedisCacheWriter.class
-org/jeecg/common/config/mqtoken/UserTokenContext.class
-org/jeecg/common/modules/redis/client/JeecgRedisClient.class
-org/jeecg/common/modules/redis/listener/JeecgRedisListener.class
-org/jeecg/common/util/SpringContextHolder.class
-org/jeecg/common/util/RedisUtil.class
-org/jeecg/common/config/CommonConfig.class
-org/jeecg/common/modules/redis/receiver/RedisReceiver.class
-org/jeecg/common/constant/CacheConstant.class
-org/jeecg/common/enums/SentinelErrorInfoEnum.class
-org/jeecg/common/modules/redis/config/RedisConfig.class
-org/jeecg/common/config/mqtoken/TransmitUserTokenFilter.class
-org/jeecg/common/annotation/RabbitComponent.class
-org/jeecg/common/constant/GlobalConstants.class
-org/jeecg/common/base/BaseMap.class
diff --git a/jeecg-boot-base/jeecg-boot-base-tools/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst b/jeecg-boot-base/jeecg-boot-base-tools/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
deleted file mode 100644
index 79a9396..0000000
--- a/jeecg-boot-base/jeecg-boot-base-tools/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
+++ /dev/null
@@ -1,15 +0,0 @@
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-tools/src/main/java/org/jeecg/common/config/CommonConfig.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-tools/src/main/java/org/jeecg/common/modules/redis/receiver/RedisReceiver.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-tools/src/main/java/org/jeecg/common/config/mqtoken/TransmitUserTokenFilter.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-tools/src/main/java/org/jeecg/common/modules/redis/writer/JeecgRedisCacheWriter.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-tools/src/main/java/org/jeecg/common/constant/GlobalConstants.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-tools/src/main/java/org/jeecg/common/base/BaseMap.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-tools/src/main/java/org/jeecg/common/annotation/RabbitComponent.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-tools/src/main/java/org/jeecg/common/constant/CacheConstant.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-tools/src/main/java/org/jeecg/common/util/SpringContextHolder.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-tools/src/main/java/org/jeecg/common/modules/redis/listener/JeecgRedisListener.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-tools/src/main/java/org/jeecg/common/enums/SentinelErrorInfoEnum.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-tools/src/main/java/org/jeecg/common/modules/redis/client/JeecgRedisClient.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-tools/src/main/java/org/jeecg/common/util/RedisUtil.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-tools/src/main/java/org/jeecg/common/modules/redis/config/RedisConfig.java
-/Applications/hanhai-object/hanhai-cheer-2600-2000-240822/hanhai-cheer-2600-2000-240822/jeecg-boot-base/jeecg-boot-base-tools/src/main/java/org/jeecg/common/config/mqtoken/UserTokenContext.java
diff --git a/jeecg-boot-base/jeecg-boot-base.iml b/jeecg-boot-base/jeecg-boot-base.iml
index 9dbf17b..b48dc08 100644
--- a/jeecg-boot-base/jeecg-boot-base.iml
+++ b/jeecg-boot-base/jeecg-boot-base.iml
@@ -4,6 +4,8 @@
+
+
diff --git a/jeecg-boot-module-system/jeecg-boot-module-system.iml b/jeecg-boot-module-system/jeecg-boot-module-system.iml
index 025d9df..781eb08 100644
--- a/jeecg-boot-module-system/jeecg-boot-module-system.iml
+++ b/jeecg-boot-module-system/jeecg-boot-module-system.iml
@@ -14,7 +14,9 @@
-
+
+
+
@@ -29,6 +31,8 @@
+
+
diff --git a/jeecg-boot-module-system/src/main/java/org/jeecg/modules/api/cheeroncontroller/CheerTwoController.java b/jeecg-boot-module-system/src/main/java/org/jeecg/modules/api/cheeroncontroller/CheerTwoController.java
new file mode 100644
index 0000000..81ec0a6
--- /dev/null
+++ b/jeecg-boot-module-system/src/main/java/org/jeecg/modules/api/cheeroncontroller/CheerTwoController.java
@@ -0,0 +1,87 @@
+package org.jeecg.modules.api.cheeroncontroller;
+
+
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+import lombok.extern.slf4j.Slf4j;
+import org.jeecg.common.api.vo.Result;
+import org.jeecg.modules.apiBean.OrderPayBean;
+import org.jeecg.modules.apiBean.OrderWaterPageBean;
+import org.jeecg.modules.apiservice.CheerTwoService;
+import org.jeecg.modules.bean.ShopOrderPageBean;
+import org.jeecg.modules.bean.ShopPageBean;
+import org.springframework.web.bind.annotation.*;
+
+import javax.annotation.Resource;
+
+@Api(tags="加油小程序-第二版升级相关接口")
+@RestController
+@RequestMapping("/cheer/two")
+@Slf4j
+public class CheerTwoController {
+
+ @Resource
+ private CheerTwoService cheerTwoService;
+
+ //获取加油站列表信息接口
+ @GetMapping(value = "/getGasStationList")
+ @ApiOperation(value="获取加油站列表信息接口", notes="获取加油站列表信息接口")
+ public Result> getGasStationList(ShopPageBean bean){
+ return cheerTwoService.getGasStationList( bean);
+ }
+
+ //根据加油站标识获取加油站充值套餐信息
+ @GetMapping(value = "/getRechargeList")
+ @ApiOperation(value="根据加油站标识获取加油站充值套餐信息", notes="根据加油站标识获取加油站充值套餐信息")
+ public Result> getRechargeList(ShopOrderPageBean bean){
+ return cheerTwoService.getRechargeList(bean);
+ }
+
+ //根据加油站标识获取相关配置信息
+ @GetMapping(value = "/getConfig")
+ @ApiOperation(value="根据加油站标识获取相关配置信息", notes="根据加油站标识获取相关配置信息")
+ public Result> getConfig(String shopId){
+ return cheerTwoService.getConfig(shopId);
+ }
+
+
+ //获取订单列表带分页
+ @GetMapping(value = "/getOrderWaterPage")
+ @ApiOperation(value="根据加油站标识获取相关配置信息", notes="根据加油站标识获取相关配置信息")
+ public Result> getOrderWaterPage(@RequestHeader("X-Access-Token") String token, OrderWaterPageBean bean){
+ return cheerTwoService.getOrderWaterPage(token, bean);
+ }
+
+
+
+ //获取加油流水订单
+ @ApiOperation(value="小程序-用户输入支付创建支付订单并且支付", notes="小程序-用户输入支付创建支付订单并且支付")
+ @PostMapping("/createOrderPay")
+ public Result> createOrderPay(@RequestHeader("X-Access-Token") String token, OrderPayBean bean){
+ return cheerTwoService.createOrderPay(token, bean);
+ }
+
+
+ //查询当前用户是否是管理员
+ @GetMapping(value = "/isAdmin")
+ @ApiOperation(value="查询当前用户是否是管理员", notes="查询当前用户是否是管理员")
+ public Result> isAdmin(@RequestHeader("X-Access-Token") String token){
+ return cheerTwoService.isAdmin(token);
+ }
+
+ //获取推广二维码
+ @GetMapping(value = "/getQrCode")
+ @ApiOperation(value="获取推广二维码", notes="获取推广二维码")
+ public Result> getQrCode(@RequestHeader("X-Access-Token") String token){
+ return cheerTwoService.getQrCode(token);
+ }
+
+
+ //支付回调
+ @PostMapping("/notify")
+ public Object createNotify(@RequestBody String requestBody){
+ return cheerTwoService.createNotify(requestBody);
+ }
+
+
+}
diff --git a/jeecg-boot-module-system/src/main/java/org/jeecg/modules/apiBean/OrderPayBean.java b/jeecg-boot-module-system/src/main/java/org/jeecg/modules/apiBean/OrderPayBean.java
index a402a16..1e39207 100644
--- a/jeecg-boot-module-system/src/main/java/org/jeecg/modules/apiBean/OrderPayBean.java
+++ b/jeecg-boot-module-system/src/main/java/org/jeecg/modules/apiBean/OrderPayBean.java
@@ -12,4 +12,9 @@ public class OrderPayBean {
@ApiModelProperty(value = "支付金额" )
private BigDecimal money;
+ /**加油站标识*/
+ @ApiModelProperty(value = "加油站标识" )
+ private String shopId;
+
+
}
diff --git a/jeecg-boot-module-system/src/main/java/org/jeecg/modules/apiUtils/HttpClientUtil.java b/jeecg-boot-module-system/src/main/java/org/jeecg/modules/apiUtils/HttpClientUtil.java
new file mode 100644
index 0000000..d735b6f
--- /dev/null
+++ b/jeecg-boot-module-system/src/main/java/org/jeecg/modules/apiUtils/HttpClientUtil.java
@@ -0,0 +1,1118 @@
+package org.jeecg.modules.apiUtils;
+
+import com.alibaba.fastjson.JSON;
+import org.apache.http.HttpEntity;
+import org.apache.http.HttpResponse;
+import org.apache.http.HttpStatus;
+import org.apache.http.NameValuePair;
+import org.apache.http.client.CookieStore;
+import org.apache.http.client.entity.UrlEncodedFormEntity;
+import org.apache.http.client.methods.*;
+import org.apache.http.client.utils.HttpClientUtils;
+import org.apache.http.client.utils.URIBuilder;
+import org.apache.http.conn.ssl.SSLConnectionSocketFactory;
+import org.apache.http.conn.ssl.SSLContextBuilder;
+import org.apache.http.conn.ssl.TrustStrategy;
+import org.apache.http.entity.ContentType;
+import org.apache.http.entity.StringEntity;
+import org.apache.http.impl.client.BasicCookieStore;
+import org.apache.http.impl.client.CloseableHttpClient;
+import org.apache.http.impl.client.HttpClients;
+import org.apache.http.message.BasicNameValuePair;
+import org.apache.http.util.EntityUtils;
+
+import javax.net.ssl.SSLContext;
+import java.io.IOException;
+import java.net.URI;
+import java.nio.charset.Charset;
+import java.security.KeyManagementException;
+import java.security.KeyStoreException;
+import java.security.NoSuchAlgorithmException;
+import java.security.cert.CertificateException;
+import java.security.cert.X509Certificate;
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
+/**
+ * 通过url获取数据
+ *
+ * @author zc
+ *
+ */
+public class HttpClientUtil {
+
+ /**
+ * 设置可访问https
+ * @return
+ */
+ public static CloseableHttpClient createSSLClientDefault() {
+ try {
+ SSLContext sslContext = new SSLContextBuilder().loadTrustMaterial(null, new TrustStrategy() {
+ //信任所有
+ public boolean isTrusted(X509Certificate[] chain, String authType) throws CertificateException {
+ return true;
+ }
+ }).build();
+ SSLConnectionSocketFactory sslsf = new SSLConnectionSocketFactory(sslContext, SSLConnectionSocketFactory.ALLOW_ALL_HOSTNAME_VERIFIER);
+
+ return HttpClients.custom().setSSLSocketFactory(sslsf).build();
+ } catch (KeyManagementException e) {
+ e.printStackTrace();
+ } catch (NoSuchAlgorithmException e) {
+ e.printStackTrace();
+ } catch (KeyStoreException e) {
+ e.printStackTrace();
+ }
+ return HttpClients.createDefault();
+ }
+/*************************************Get**********************************************/
+ /**
+ * 一般查询用doget
+ * @param url
+ * @param param
+ * @param
+ * @return
+ */
+ public static String doGet(String url, Map param) {
+ // 创建Httpclient对象
+ CloseableHttpClient httpclient = createSSLClientDefault();//调用createSSLClientDefault
+ String resultString = "";
+ CloseableHttpResponse response = null;
+ try {
+
+ // 创建uri
+ URIBuilder builder = new URIBuilder(url);
+ if (param != null) {
+ for (String key : param.keySet()) {
+ builder.addParameter(key, param.get(key));
+ }
+ }
+ URI uri = builder.build();
+ CookieStore cookieStore = new BasicCookieStore();
+ httpclient = HttpClients.custom().setDefaultCookieStore(cookieStore).build();
+ // 创建http GET请求
+ HttpGet httpGet = new HttpGet(uri);
+ //设置请求头
+// if (parameter != null) {
+// //签名
+// httpGet.addHeader("Sign",parameter.getSign());
+// //用户ID
+// httpGet.addHeader("User_ID",parameter.getUserId()+"");
+// //用户角色ID
+// httpGet.addHeader("User_RID",parameter.getRId());
+// //用户单位ID
+// httpGet.addHeader("Dept_ID",parameter.getDeptId()+"");
+// //用户科室ID
+// httpGet.addHeader("Unit_ID",parameter.getUnitid()+"");
+// httpGet.addHeader("CacheKey",parameter.getCacheKey());
+// httpGet.addHeader("Org_id", parameter.getOrg_id() + "");
+// httpGet.addHeader("Product_id", parameter.getProduct_id() + "");
+// httpGet.addHeader("Timestamp", parameter.getTimestamp());
+// }
+
+ // 执行请求
+ response = httpclient.execute(httpGet);
+ // 判断返回状态是否为200
+ if (response.getStatusLine().getStatusCode() == 200) {
+ resultString = EntityUtils.toString(response.getEntity(),
+ "UTF-8");
+ }
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ } finally {
+ try {
+ if (response != null) {
+ response.close();
+ }
+ httpclient.close();
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
+ }
+ return resultString;
+ }
+
+ public static String doGet(String url) {
+ return doGet(url, null);
+ }
+
+ public static String doGet3(String url, Map param) {
+ // 创建Httpclient对象
+ //调用createSSLClientDefault
+ CloseableHttpClient httpclient = createSSLClientDefault();
+ String resultString = "";
+ CloseableHttpResponse response = null;
+ try {
+
+ // 创建uri
+ URIBuilder builder = new URIBuilder(url);
+ if (param != null) {
+ for (String key : param.keySet()) {
+ builder.addParameter(key, param.get(key));
+ }
+ }
+ URI uri = builder.build();
+
+ // 创建http GET请求
+ HttpGet httpGet = new HttpGet(uri);
+ //设置请求头
+// if (parameter != null) {
+// //签名
+// httpGet.addHeader("Sign",parameter.getSign());
+// //用户ID
+// httpGet.addHeader("User_ID",parameter.getUserId()+"");
+// //用户角色ID
+// httpGet.addHeader("User_RID",parameter.getRId());
+// //用户单位ID
+// httpGet.addHeader("Dept_ID",parameter.getDeptId()+"");
+// //用户科室ID
+// httpGet.addHeader("Unit_ID",parameter.getUnitid()+"");
+// httpGet.addHeader("CacheKey",parameter.getCacheKey());
+// httpGet.addHeader("Org_id", parameter.getOrg_id() + "");
+// httpGet.addHeader("Product_id", parameter.getProduct_id() + "");
+// httpGet.addHeader("Timestamp", parameter.getTimestamp());
+// }
+
+ // 执行请求
+ response = httpclient.execute(httpGet);
+ // 判断返回状态是否为200
+ if (response.getStatusLine().getStatusCode() == 200) {
+ resultString = EntityUtils.toString(response.getEntity(),
+ "UTF-8");
+ }
+ } catch (Exception e) {
+ e.printStackTrace();
+ } finally {
+ try {
+ if (response != null) {
+ response.close();
+ }
+ httpclient.close();
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
+ }
+ return resultString;
+ }
+
+ /**
+ * 上传文件的doGet
+ * @param url
+ * @param param
+ * @param
+ * @return
+ */
+ public static String doGet2(String url, Map param) {
+
+ // 创建Httpclient对象
+ CloseableHttpClient httpclient = createSSLClientDefault();
+ String resultString = "";
+ CloseableHttpResponse response = null;
+ try {
+
+ // 创建uri
+ URIBuilder builder = new URIBuilder(url);
+ if (param != null) {
+ for (String key : param.keySet()) {
+ builder.addParameter(key, param.get(key));
+ }
+ }
+ URI uri = builder.build();
+ // 创建http GET请求
+ HttpGet httpGet = new HttpGet(uri);
+// if (parameter != null) {
+// //用户ID
+// httpGet.addHeader("User_ID",parameter.getUserId()+"");
+// //用户角色ID
+// httpGet.addHeader("User_RID",parameter.getRId());
+// //用户单位ID
+// httpGet.addHeader("Dept_ID",parameter.getDeptId()+"");
+// //用户科室ID
+// httpGet.addHeader("Unit_ID",parameter.getUnitid()+"");
+// httpGet.addHeader("CacheKey",parameter.getCacheKey());
+// httpGet.addHeader("Org_id", parameter.getOrg_id());
+// httpGet.addHeader("Product_id", parameter.getProduct_id());
+// httpGet.addHeader("Sign", parameter.getSign());
+// httpGet.addHeader("requestCode", parameter.getRequestCode());
+// httpGet.addHeader("Content-Type", "application/json;charset=UTF-8");
+// httpGet.addHeader("Timestamp", parameter.getTimestamp());
+// }
+ // 执行请求
+ response = httpclient.execute(httpGet);
+ if (response.getStatusLine().getStatusCode() == 200) {
+ resultString = EntityUtils.toString(response.getEntity(),
+ "UTF-8");
+ }
+ } catch (Exception e) {
+ e.printStackTrace();
+ } finally {
+ try {
+ if (response != null) {
+ response.close();
+ }
+ httpclient.close();
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
+ }
+ return resultString;
+ }
+
+ public static String doGet2(String url) {
+ return doGet2(url, null);
+
+ }
+
+ public static String doGet4(String url, Map param) {
+ // 创建Httpclient对象
+ //调用createSSLClientDefault
+ CloseableHttpClient httpclient = createSSLClientDefault();
+ String resultString = "";
+ CloseableHttpResponse response = null;
+ try {
+
+ // 创建uri
+ URIBuilder builder = new URIBuilder(url);
+ if (param != null) {
+ for (String key : param.keySet()) {
+ builder.addParameter(key, param.get(key));
+ }
+ }
+ URI uri = builder.build();
+
+ // 创建http GET请求
+ HttpGet httpGet = new HttpGet(uri);
+ //设置请求头
+// httpGet.addHeader("");
+// if (parameter != null) {
+// //签名
+// httpGet.addHeader("Sign",parameter.getSign());
+// //用户ID
+// httpGet.addHeader("User_ID",parameter.getUserId()+"");
+// //用户角色ID
+// httpGet.addHeader("User_RID",parameter.getRId());
+// //用户单位ID
+// httpGet.addHeader("Dept_ID",parameter.getDeptId()+"");
+// //用户科室ID
+// httpGet.addHeader("Unit_ID",parameter.getUnitid()+"");
+// httpGet.addHeader("CacheKey",parameter.getCacheKey());
+// httpGet.addHeader("Org_id", parameter.getOrg_id() + "");
+// httpGet.addHeader("Product_id", parameter.getProduct_id() + "");
+// httpGet.addHeader("Timestamp", parameter.getTimestamp());
+// }
+
+ // 执行请求
+ response = httpclient.execute(httpGet);
+ // 判断返回状态是否为200
+ if (response.getStatusLine().getStatusCode() == 200) {
+ resultString = EntityUtils.toString(response.getEntity(),
+ "UTF-8");
+ }
+ } catch (Exception e) {
+ e.printStackTrace();
+ } finally {
+ try {
+ if (response != null) {
+ response.close();
+ }
+ httpclient.close();
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
+ }
+ return resultString;
+ }
+
+ public static String doGet5(String url, Map param) {
+ // 创建Httpclient对象
+ //调用createSSLClientDefault
+ CloseableHttpClient httpclient = createSSLClientDefault();
+ String resultString = "";
+ CloseableHttpResponse response = null;
+ try {
+
+ // 创建uri
+ URIBuilder builder = new URIBuilder(url);
+ if (param != null) {
+ for (String key : param.keySet()) {
+ builder.addParameter(key, param.get(key));
+ }
+ }
+ URI uri = builder.build();
+
+ // 创建http GET请求
+ HttpGet httpGet = new HttpGet(uri);
+ //设置请求头
+// httpGet.addHeader("");
+// if (parameter != null) {
+// httpGet.addHeader("Accept","application/json, text/javascript, */*; q=0.01");
+// httpGet.addHeader("Accept-Encoding","gzip, deflate, br");
+// httpGet.addHeader("Accept-Language","zh-CN,zh;q=0.9");
+// httpGet.addHeader("Connection","keep-alive");
+ httpGet.addHeader("Cookie","PHPSESSID=b1epvn4gilmvlqd63gb71sgb4m");
+// httpGet.addHeader("Host","www.5577yc.com");
+// httpGet.addHeader("Referer","https://www.5577yc.com/pc/member/index.html");
+// httpGet.addHeader("Sec-Fetch-Mode","cors");
+// httpGet.addHeader("Sec-Fetch-Site","same-origin");
+// httpGet.addHeader("User-Agent","Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36");
+ httpGet.addHeader("X-Requested-With","XMLHttpRequest");
+// httpGet.addHeader("Org_id", parameter.getOrg_id() + "");
+// httpGet.addHeader("Product_id", parameter.getProduct_id() + "");
+// httpGet.addHeader("Timestamp", parameter.getTimestamp());
+// }
+
+ // 执行请求
+ response = httpclient.execute(httpGet);
+ // 判断返回状态是否为200
+ if (response.getStatusLine().getStatusCode() == 200) {
+ resultString = EntityUtils.toString(response.getEntity(),
+ "UTF-8");
+ }
+ } catch (Exception e) {
+ e.printStackTrace();
+ } finally {
+ try {
+ if (response != null) {
+ response.close();
+ }
+ httpclient.close();
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
+ }
+ return resultString;
+ }
+
+ public static String doGet5(String url) {
+ return doGet5(url, null);
+
+ }
+ /*************************************Get**********************************************/
+
+ /*************************************Post**********************************************/
+ /**
+ * 原始doPost 基本不用
+ * @param url
+ * @param param
+ * @param
+ * @return
+ */
+ public static String doPost(String url, Map param) {
+ // 创建Httpclient对象
+ CloseableHttpClient httpClient = createSSLClientDefault();
+ CloseableHttpResponse response = null;
+ String resultString = "";
+
+ try {
+ // 创建Http Post请求
+ HttpPost httpPost = new HttpPost(url);
+
+ // 创建参数列表
+ if (param != null) {
+ List paramList = new ArrayList<>();
+ for (String key : param.keySet()) {
+ paramList.add(new BasicNameValuePair(key, param.get(key)));
+ }
+ // 模拟表单
+ UrlEncodedFormEntity entity = new UrlEncodedFormEntity(
+ paramList);
+ httpPost.setEntity(entity);
+ }
+ // 执行http请求
+ response = httpClient.execute(httpPost);
+
+
+
+
+ resultString = EntityUtils.toString(response.getEntity(), "utf-8");
+ } catch (Exception e) {
+ e.printStackTrace();
+ } finally {
+ try {
+ response.close();
+ } catch (IOException e) {
+ // TODO Auto-generated catch block
+ e.printStackTrace();
+ }
+ }
+
+ return resultString;
+ }
+
+ /**
+ * 项目经常用的doPost2
+ * @param url
+ * @param param
+ * @param
+ * @return
+ */
+ public static String doPost2(String url, Map param){
+
+ // 创建Httpclient对象
+ CloseableHttpClient httpClient = createSSLClientDefault();
+ CloseableHttpResponse response = null;
+ String resultString = "";
+
+ try {
+ // 创建uri
+ URIBuilder builder = new URIBuilder(url);
+ if (param != null) {
+ for (String key : param.keySet()) {
+ builder.addParameter(key, param.get(key));
+ }
+ }
+ URI uri = builder.build();
+ // 创建Http Post请求
+ HttpPost httpPost = new HttpPost(uri);
+ httpPost.setHeader("Content-type", "application/x-www-form-urlencoded");
+// httpPost.setHeader("User-Agent", "Mozilla/4.0 (compatible; MSIE 5.0; Windows NT; DigExt)");
+ // 创建参数列表
+ if (param != null) {
+ List paramList = new ArrayList<>();
+ for (String key : param.keySet()) {
+ paramList.add(new BasicNameValuePair(key, param.get(key)));
+ }
+
+ // 模拟表单
+ UrlEncodedFormEntity entity = new UrlEncodedFormEntity(
+ paramList,"UTF-8");
+ entity.setContentEncoding("UTF-8");
+ entity.setContentType("application/x-www-form-urlencoded");
+ httpPost.setEntity(entity);
+
+ }
+ // 执行http请求
+ response = httpClient.execute(httpPost);
+ resultString = EntityUtils.toString(response.getEntity(), "utf-8");
+ } catch (Exception e) {
+ e.printStackTrace();
+ } finally {
+ try {
+ response.close();
+ } catch (IOException e) {
+ // TODO Auto-generated catch block
+ e.printStackTrace();
+ }
+ }
+
+ return resultString;
+ }
+
+ /**
+ * .net登录post
+ * @param url
+ * @param param
+ * @param
+ * @return
+ */
+ public static String doPost3(String url, Map param){
+
+ // 创建Httpclient对象
+ CloseableHttpClient httpClient = createSSLClientDefault();
+ CloseableHttpResponse response = null;
+ String resultString = "";
+
+ try {
+ // 创建uri
+ URIBuilder builder = new URIBuilder(url);
+ if (param != null) {
+ for (String key : param.keySet()) {
+ builder.addParameter(key, param.get(key));
+ }
+ }
+ URI uri = builder.build();
+ // 创建Http Post请求
+ HttpPost httpPost = new HttpPost(uri);
+ // 创建参数列表
+ if (param != null) {
+ List paramList = new ArrayList<>();
+ for (String key : param.keySet()) {
+ paramList.add(new BasicNameValuePair(key, param.get(key)));
+ }
+ // 模拟表单
+ UrlEncodedFormEntity entity = new UrlEncodedFormEntity(
+ paramList, Charset.forName("UTF-8"));
+ entity.setContentEncoding("UTF-8");
+ httpPost.setEntity(entity);
+ }
+ // 执行http请求
+ response = httpClient.execute(httpPost);
+ resultString = EntityUtils.toString(response.getEntity(), "utf-8");
+ } catch (Exception e) {
+ e.printStackTrace();
+ } finally {
+ try {
+ response.close();
+ } catch (IOException e) {
+ // TODO Auto-generated catch block
+ e.printStackTrace();
+ }
+ }
+
+ return resultString;
+ }
+
+
+
+ /**
+ * 微信文件上传
+ * @param url
+ * @param content
+ * @param fileName
+ * @return
+ */
+ public static String doPost6(String url, byte[] content,String fileName){
+
+ String resultString = null;
+ //创建HttpClient
+ CloseableHttpClient httpClient = HttpClients.createDefault();
+ HttpPost httpPost = new HttpPost(url);
+ org.apache.http.entity.mime.MultipartEntityBuilder builder = org.apache.http.entity.mime.MultipartEntityBuilder.create();
+ /*绑定文件参数,传入文件流和contenttype,此处也可以继续添加其他formdata参数*/
+ builder.addBinaryBody("file",content, ContentType.MULTIPART_FORM_DATA,fileName);
+ HttpEntity entity = builder.build();
+ httpPost.setEntity(entity);
+ HttpResponse response = null;
+ //执行提交
+ try{
+ response = httpClient.execute(httpPost);
+ resultString = EntityUtils.toString(response.getEntity(), "utf-8");
+ } catch (Exception e) {
+ e.printStackTrace();
+ } finally {
+ try {
+ HttpClientUtils.closeQuietly(httpClient);
+ HttpClientUtils.closeQuietly(response);
+ } catch (Exception e) {
+ // TODO Auto-generated catch block
+ e.printStackTrace();
+ }
+ }
+
+ return resultString;
+ }
+
+
+ /**
+ * 微信公众号文件上传
+ * @param url
+ * @param content
+ * @param fileName
+ * @return
+ */
+ public static String doPost7(String url, byte[] content,String fileName){
+
+ String resultString = null;
+ //创建HttpClient
+ CloseableHttpClient httpClient = HttpClients.createDefault();
+ HttpPost httpPost = new HttpPost(url);
+ org.apache.http.entity.mime.MultipartEntityBuilder builder = org.apache.http.entity.mime.MultipartEntityBuilder.create();
+ /*绑定文件参数,传入文件流和contenttype,此处也可以继续添加其他formdata参数*/
+ builder.addBinaryBody("media",content, ContentType.MULTIPART_FORM_DATA,fileName);
+ HttpEntity entity = builder.build();
+ httpPost.setEntity(entity);
+ HttpResponse response = null;
+ //执行提交
+ try{
+ response = httpClient.execute(httpPost);
+ resultString = EntityUtils.toString(response.getEntity(), "utf-8");
+ } catch (Exception e) {
+ e.printStackTrace();
+ } finally {
+ try {
+ HttpClientUtils.closeQuietly(httpClient);
+ HttpClientUtils.closeQuietly(response);
+ } catch (Exception e) {
+ // TODO Auto-generated catch block
+ e.printStackTrace();
+ }
+ }
+
+ return resultString;
+ }
+
+ /**
+ * 项目经常用的doPost4
+ * @param url
+ * @param param
+ * @return
+ */
+ public static String doPost4(String url, Map param){
+
+ // 创建Httpclient对象
+ CloseableHttpClient httpClient = createSSLClientDefault();
+ CloseableHttpResponse response = null;
+ String resultString = "";
+ StringBuffer cookie = new StringBuffer();
+ Map map = new HashMap<>();
+ try {
+ // 创建uri
+ URIBuilder builder = new URIBuilder(url);
+ if (param != null) {
+ for (String key : param.keySet()) {
+ builder.addParameter(key, param.get(key));
+ }
+ }
+ URI uri = builder.build();
+ // 创建Http Post请求
+ HttpPost httpPost = new HttpPost(uri);
+ // 创建参数列表
+ if (param != null) {
+ List paramList = new ArrayList<>();
+ for (String key : param.keySet()) {
+ paramList.add(new BasicNameValuePair(key, param.get(key)));
+ }
+ httpPost.addHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8");
+ // 模拟表单
+ UrlEncodedFormEntity entity = new UrlEncodedFormEntity(
+ paramList, Charset.forName("UTF-8"));
+ httpPost.setEntity(entity);
+ }
+ // 执行http请求
+ response = httpClient.execute(httpPost);
+ resultString = EntityUtils.toString(response.getEntity(), "utf-8");
+ } catch (Exception e) {
+ e.printStackTrace();
+ } finally {
+ try {
+ response.close();
+ } catch (IOException e) {
+ // TODO Auto-generated catch block
+ e.printStackTrace();
+ }
+ }
+ return resultString;
+ }
+
+
+ /**
+ * 项目经常用的doPost4
+ * @param url
+ * @param param
+ * @param parameter
+ * @return
+ */
+ public static String doPost5(String url, Map param,String parameter){
+
+ // 创建Httpclient对象
+ CloseableHttpClient httpClient = createSSLClientDefault();
+ CloseableHttpResponse response = null;
+ String resultString = "";
+ StringBuffer cookie = new StringBuffer();
+ Map map = new HashMap<>();
+ try {
+ // 创建uri
+ CookieStore cookieStore = new BasicCookieStore();
+ httpClient = HttpClients.custom().setDefaultCookieStore(cookieStore).build();
+ URIBuilder builder = new URIBuilder(url);
+ if (param != null) {
+ for (String key : param.keySet()) {
+ builder.addParameter(key, param.get(key));
+ }
+ }
+ URI uri = builder.build();
+ // 创建Http Post请求
+ HttpPost httpPost = new HttpPost(uri);
+ // 创建参数列表
+ if (param != null) {
+ List paramList = new ArrayList<>();
+ for (String key : param.keySet()) {
+ paramList.add(new BasicNameValuePair(key, param.get(key)));
+ }
+ httpPost.addHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8");
+ httpPost.addHeader("Host","www.www7945.com");
+ httpPost.addHeader("Origin","https://www.www7945.com");
+ httpPost.addHeader("Referer","https://www.www7945.com/mobile/");
+ httpPost.addHeader("User-Agent:","Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36");
+ httpPost.addHeader("Connection","keep-alive");
+ // 模拟表单
+ UrlEncodedFormEntity entity = new UrlEncodedFormEntity(
+ paramList, Charset.forName("UTF-8"));
+ entity.setContentEncoding("UTF-8");
+ httpPost.setEntity(entity);
+ }
+ if(parameter!=null){
+ httpPost.addHeader("Cookie",parameter);
+ }
+ // 执行http请求
+ response = httpClient.execute(httpPost);
+ String tokenStr = null;
+
+ if (response != null) {
+ int statusCode = response.getStatusLine().getStatusCode();
+ if (statusCode == HttpStatus.SC_OK) {
+ // 获得Cookies
+ List cookies = cookieStore.getCookies();
+ for (org.apache.http.cookie.Cookie c : cookies) {
+ cookie.append(c.getName()).append("=").append(c.getValue()).append(";");
+ if (c.getName().contains("token")) {
+ tokenStr = c.getValue();
+ }
+ }
+ }
+ }
+ map.put("token",tokenStr);
+ map.put("cookie",cookie.toString());
+ resultString = EntityUtils.toString(response.getEntity(), "utf-8");
+ map.put("resultString",JSON.parse(resultString));
+ } catch (Exception e) {
+ e.printStackTrace();
+ } finally {
+ try {
+ response.close();
+ } catch (IOException e) {
+ // TODO Auto-generated catch block
+ e.printStackTrace();
+ }
+ }
+ if(parameter!=null){
+ return resultString;
+ }
+ return JSON.toJSONString(map);
+ }
+
+
+
+ public static String doPost5(String url) {
+ return doPost5(url, null,null);
+ }
+
+ public static String doPost4(String url) {
+ return doPost4(url, null);
+ }
+
+ public static String doPost2(String url) {
+ return doPost2(url);
+ }
+
+
+ public static String doPost(String url) {
+ return doPost(url, null);
+ }
+
+ /**
+ * 当数据需要以JSON格式传输
+ * @param url
+ * @param json
+ * @param
+ * @return
+ */
+ public static String doPostJson(String url, String json) {
+ // 创建Httpclient对象
+ CloseableHttpClient httpClient = createSSLClientDefault();
+ CloseableHttpResponse response = null;
+ String resultString = "";
+ try {
+ // 创建Http Post请求
+ HttpPost httpPost = new HttpPost(url);
+ // 创建请求内容
+ StringEntity entity = new StringEntity(json,
+ ContentType.APPLICATION_JSON);
+ httpPost.setEntity(entity);
+ // 执行http请求
+ response = httpClient.execute(httpPost);
+ resultString = EntityUtils.toString(response.getEntity(), "utf-8");
+ } catch (Exception e) {
+ e.printStackTrace();
+ } finally {
+ try {
+ response.close();
+ } catch (IOException e) {
+ // TODO Auto-generated catch block
+ e.printStackTrace();
+ }
+ }
+ return resultString;
+ }
+
+
+ public static String doPostJson3(String url, String json) {
+ // 创建Httpclient对象
+ CloseableHttpClient httpClient = createSSLClientDefault();
+ CloseableHttpResponse response = null;
+ String resultString = "";
+ try {
+ // 创建Http Post请求
+ HttpPost httpPost = new HttpPost(url);
+ // 创建请求内容
+ StringEntity entity = new StringEntity(json,
+ ContentType.APPLICATION_FORM_URLENCODED);
+ httpPost.setEntity(entity);
+ // 执行http请求
+ response = httpClient.execute(httpPost);
+ resultString = EntityUtils.toString(response.getEntity(), "utf-8");
+ } catch (Exception e) {
+ e.printStackTrace();
+ } finally {
+ try {
+ response.close();
+ } catch (IOException e) {
+ // TODO Auto-generated catch block
+ e.printStackTrace();
+ }
+ }
+ return resultString;
+ }
+
+ /**
+ * 文件上传
+ * @param url
+ * @param json
+ * @param
+ * @return
+ */
+ public static String doPostJson2(String url, String json) {
+ // 创建Httpclient对象
+ CloseableHttpClient httpClient = createSSLClientDefault();
+ CloseableHttpResponse response = null;
+ String resultString = "";
+ try {
+ // 创建Http Post请求
+ HttpPost httpPost = new HttpPost(url);
+ // 创建请求内容
+ StringEntity entity = new StringEntity(json,
+ ContentType.APPLICATION_JSON);
+ httpPost.setEntity(entity);
+ // 执行http请求
+ response = httpClient.execute(httpPost);
+ resultString = EntityUtils.toString(response.getEntity(), "utf-8");
+ } catch (Exception e) {
+ e.printStackTrace();
+ } finally {
+ try {
+ response.close();
+ } catch (IOException e) {
+ // TODO Auto-generated catch block
+ e.printStackTrace();
+ }
+ }
+
+ return resultString;
+ }
+
+ /*************************************Post**********************************************/
+
+
+
+
+
+
+
+
+ /*************************************Delete**********************************************/
+ /**
+ * 原始删除 基本不怎么用
+ * @param url
+ * @return
+ */
+ public static String doDelete(String url) {
+ // 创建Httpclient对象
+ CloseableHttpClient httpClient = createSSLClientDefault();
+ CloseableHttpResponse response = null;
+ String resultString = "";
+
+ try {
+ // 创建Http Post请求
+ HttpDelete httpPost = new HttpDelete(url);
+ // 执行http请求
+ response = httpClient.execute(httpPost);
+ resultString = EntityUtils.toString(response.getEntity(), "utf-8");
+ } catch (Exception e) {
+ e.printStackTrace();
+ } finally {
+ try {
+ response.close();
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
+ }
+ return resultString;
+ }
+
+ /**
+ * 常用删除
+ * @param url
+ * @param param
+ * @param
+ * @return
+ */
+ public static String doDelete2(String url,Map param) {
+ // 创建Httpclient对象
+ CloseableHttpClient httpClient = createSSLClientDefault();
+ CloseableHttpResponse response = null;
+ String resultString = "";
+
+ try {
+ // 创建uri
+ URIBuilder builder = new URIBuilder(url);
+ if (param != null) {
+ for (String key : param.keySet()) {
+ builder.addParameter(key, param.get(key));
+ }
+ }
+ URI uri = builder.build();
+ // 创建Http Delete请求
+ HttpDelete httpDelete = new HttpDelete(uri);
+ // 执行http请求
+ response = httpClient.execute(httpDelete);
+ resultString = EntityUtils.toString(response.getEntity(), "utf-8");
+ } catch (Exception e) {
+ e.printStackTrace();
+ } finally {
+ try {
+ response.close();
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
+ }
+ return resultString;
+ }
+
+ /**
+ * 上传文件删除
+ * @param url
+ * @param param
+ * @param
+ * @return
+ */
+ public static String doDelete3(String url,Map param) {
+ // 创建Httpclient对象
+ CloseableHttpClient httpClient = createSSLClientDefault();
+ CloseableHttpResponse response = null;
+ String resultString = "";
+
+ try {
+ // 创建uri
+ URIBuilder builder = new URIBuilder(url);
+ if (param != null) {
+ for (String key : param.keySet()) {
+ builder.addParameter(key, param.get(key));
+ }
+ }
+ URI uri = builder.build();
+ // 创建Http Delete请求
+ HttpDelete httpDelete = new HttpDelete(uri);
+ // 执行http请求
+ response = httpClient.execute(httpDelete);
+ resultString = EntityUtils.toString(response.getEntity(), "utf-8");
+ } catch (Exception e) {
+ e.printStackTrace();
+ } finally {
+ try {
+ response.close();
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
+ }
+ return resultString;
+ }
+
+ /*************************************Delete**********************************************/
+
+
+
+
+
+
+
+
+
+ /*************************************Put**********************************************/
+ public static String doPut(String url) {
+ return doPut(url, null);
+ }
+
+ /**
+ * 修改
+ * @param url
+ * @param param
+ * @param
+ * @return
+ */
+ public static String doPut(String url, Map param) {
+ // 创建Httpclient对象
+ CloseableHttpClient httpClient = createSSLClientDefault();
+ CloseableHttpResponse response = null;
+ String resultString = "";
+
+ try {
+ // 创建uri
+ URIBuilder builder = new URIBuilder(url);
+ if (param != null) {
+ for (String key : param.keySet()) {
+ builder.addParameter(key, param.get(key));
+ }
+ }
+ URI uri = builder.build();
+ // 创建Http Put请求
+ HttpPut httpPut = new HttpPut(uri);
+ // 创建参数列表
+ if (param != null) {
+ List paramList = new ArrayList<>();
+ for (String key : param.keySet()) {
+ paramList.add(new BasicNameValuePair(key, param.get(key)));
+ }
+ // 模拟表单
+ UrlEncodedFormEntity entity = new UrlEncodedFormEntity(
+ paramList, Charset.forName("UTF-8"));//Charset.forName("UTF-8")解决乱码
+ entity.setContentEncoding("UTF-8");
+ httpPut.setEntity(entity);
+ }
+ // 执行http请求
+ response = httpClient.execute(httpPut);
+ resultString = EntityUtils.toString(response.getEntity(), "utf-8");
+ } catch (Exception e) {
+ e.printStackTrace();
+ } finally {
+ try {
+ response.close();
+ } catch (IOException e) {
+ // TODO Auto-generated catch block
+ e.printStackTrace();
+ }
+ }
+
+ return resultString;
+ }
+
+ /**
+ * 以JSON格式修改
+ * @param url
+ * @param json
+ * @param parameter
+ * @return
+ */
+ public static String doPutJson(String url, String json) {
+ // 创建Httpclient对象
+ CloseableHttpClient httpClient = createSSLClientDefault();
+ CloseableHttpResponse response = null;
+ String resultString = "";
+ try {
+ // 创建Http Post请求
+ HttpPut httpPut = new HttpPut(url);
+ // 创建请求内容
+ StringEntity entity = new StringEntity(json,
+ ContentType.APPLICATION_JSON);
+ httpPut.setEntity(entity);
+ // 执行http请求
+ response = httpClient.execute(httpPut);
+ resultString = EntityUtils.toString(response.getEntity(), "utf-8");
+ } catch (Exception e) {
+ e.printStackTrace();
+ } finally {
+ try {
+ response.close();
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
+ }
+
+ return resultString;
+ }
+
+
+
+}
diff --git a/jeecg-boot-module-system/src/main/java/org/jeecg/modules/apiUtils/WxQrCodeVo.java b/jeecg-boot-module-system/src/main/java/org/jeecg/modules/apiUtils/WxQrCodeVo.java
new file mode 100644
index 0000000..b03f968
--- /dev/null
+++ b/jeecg-boot-module-system/src/main/java/org/jeecg/modules/apiUtils/WxQrCodeVo.java
@@ -0,0 +1,16 @@
+package org.jeecg.modules.apiUtils;
+
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+
+@ApiModel("微信小程序码")
+@Data
+public class WxQrCodeVo {
+ /**图片地址*/
+ @ApiModelProperty(value = "图片地址")
+ private String url;
+
+ @ApiModelProperty(value = "加油站名称")
+ private String name;
+}
diff --git a/jeecg-boot-module-system/src/main/java/org/jeecg/modules/apiUtils/printUtil.java b/jeecg-boot-module-system/src/main/java/org/jeecg/modules/apiUtils/printUtil.java
index 86dcaa2..9306c42 100644
--- a/jeecg-boot-module-system/src/main/java/org/jeecg/modules/apiUtils/printUtil.java
+++ b/jeecg-boot-module-system/src/main/java/org/jeecg/modules/apiUtils/printUtil.java
@@ -22,79 +22,11 @@ public class printUtil {
public static final String URL = "http://api.feieyun.cn/Api/Open/";//不需要修改
-
public static final String USER = "1498259189@qq.com";//*必填*:账号名
public static final String UKEY = "hKt4XF8Gnp4skcPn";//*必填*: 飞鹅云后台注册账号后生成的UKEY 【备注:这不是填打印机的KEY】
public static final String SN = "222536940";//*必填*:打印机编号,必须要在管理后台里添加打印机或调用API接口添加之后,才能调用API
- //**********测试时,打开下面注释掉方法的即可,更多接口文档信息,请访问官网开放平台查看**********
- public static void main(String[] args) throws Exception{
-
- //==================添加打印机接口(支持批量)==================
- //***返回值JSON字符串***
- //正确例子:{"msg":"ok","ret":0,"data":{"ok":["sn#key#remark#carnum","316500011#abcdefgh#快餐前台"],"no":["316500012#abcdefgh#快餐前台#13688889999 (错误:识别码不正确)"]},"serverExecutedTime":3}
- //错误:{"msg":"参数错误 : 该帐号未注册.","ret":-2,"data":null,"serverExecutedTime":37}
-
- //提示:打印机编号(必填) # 打印机识别码(必填) # 备注名称(选填) # 流量卡号码(选填),多台打印机请换行(\n)添加新打印机信息,每次最多100行(台)。
-// String snlist = "sn1#key1#remark1#carnum1\nsn2#key2#remark2#carnum2";
-// String method = addprinter(snlist);
-// System.out.println(method);
-
-
-
- //==================方法1.小票机打印订单接口==================
- //***返回值JSON字符串***
- //成功:{"msg":"ok","ret":0,"data":"xxxxxxx_xxxxxxxx_xxxxxxxx","serverExecutedTime":5}
- //失败:{"msg":"错误描述","ret":非0,"data":"null","serverExecutedTime":5}
-
-// String method1 = print(SN);//该接口只能是小票机使用,如购买的是标签机请使用下面方法2,调用打印
-// System.out.println(method1);
-
-
-
- //==================方法2.标签机专用打印订单接口==================
- //***返回值JSON字符串***
- //成功:{"msg":"ok","ret":0,"data":"xxxxxxx_xxxxxxxx_xxxxxxxx","serverExecutedTime":5}
- //失败:{"msg":"错误描述","ret":非0,"data":"null","serverExecutedTime":5}
-
-// String method2 = printLabelMsg(SN);//打开注释调用标签机打印接口进行打印,该接口只能是标签机使用,其它型号打印机请勿使用该接口
-// System.out.println(method2);
-
-
-
- //===========方法3.查询某订单是否打印成功=============
- //***返回值JSON字符串***
- //成功:{"msg":"ok","ret":0,"data":true,"serverExecutedTime":2}//data:true为已打印,false为未打印
- //失败:{"msg":"错误描述","ret":非0, "data":null,"serverExecutedTime":7}
-
-// String orderid = "xxxxxxx_xxxxxxxx_xxxxxxxx";//订单ID,从方法1返回值data获取
-// String method3 = queryOrderState(orderid);
-// System.out.println(method3);
-
-
-
- //===========方法4.查询指定打印机某天的订单详情============
- //***返回值JSON字符串***
- //成功:{"msg":"ok","ret":0,"data":{"print":6,"waiting":1},"serverExecutedTime":9}//print已打印,waiting为打印
- //失败:{"msg":"错误描述","ret":非0,"data":"null","serverExecutedTime":5}
-
-// String strdate = "2016-11-12";//注意时间格式为"yyyy-MM-dd"
-// String method4 = queryOrderInfoByDate(SN,strdate);
-// System.out.println(method4);
-
-
-
- //===========方法5.查询打印机的状态==========================
- //***返回值JSON字符串***
- //成功:{"msg":"ok","ret":0,"data":"状态","serverExecutedTime":4}
- //失败:{"msg":"错误描述","ret":非0,"data":"null","serverExecutedTime":5}
-
-// String method5 = queryPrinterStatus(SN);
-// System.out.println(method5);
-
- }
-
//打印账单
public static void printBill(String content){
//添加打印机
diff --git a/jeecg-boot-module-system/src/main/java/org/jeecg/modules/apiUtils/printUtilTwo.java b/jeecg-boot-module-system/src/main/java/org/jeecg/modules/apiUtils/printUtilTwo.java
new file mode 100644
index 0000000..c26d823
--- /dev/null
+++ b/jeecg-boot-module-system/src/main/java/org/jeecg/modules/apiUtils/printUtilTwo.java
@@ -0,0 +1,501 @@
+package org.jeecg.modules.apiUtils;
+
+import org.apache.commons.codec.digest.DigestUtils;
+import org.apache.http.HttpEntity;
+import org.apache.http.NameValuePair;
+import org.apache.http.client.config.RequestConfig;
+import org.apache.http.client.entity.UrlEncodedFormEntity;
+import org.apache.http.client.methods.CloseableHttpResponse;
+import org.apache.http.client.methods.HttpPost;
+import org.apache.http.impl.client.CloseableHttpClient;
+import org.apache.http.impl.client.HttpClients;
+import org.apache.http.message.BasicNameValuePair;
+import org.apache.http.util.EntityUtils;
+
+import java.io.IOException;
+import java.text.SimpleDateFormat;
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.List;
+
+public class printUtilTwo {
+
+
+ public static final String URL = "http://api.feieyun.cn/Api/Open/";//不需要修改
+ public static final String USER = "1498259189@qq.com";//*必填*:账号名
+ public static final String UKEY = "hKt4XF8Gnp4skcPn";//*必填*: 飞鹅云后台注册账号后生成的UKEY 【备注:这不是填打印机的KEY】
+ public static final String SN = "222539759";//*必填*:打印机编号,必须要在管理后台里添加打印机或调用API接口添加之后,才能调用API
+
+
+ //打印账单
+ public static void printBill(String content){
+ //添加打印机
+ String snlist = "222539759#6wrduvqn";
+ String method = addprinter(snlist);
+ System.out.println(method);
+
+ //打印账单
+ String method1 = print(SN, content);//该接口只能是小票机使用,如购买的是标签机请使用下面方法2,调用打印
+ System.out.println(method1);
+ }
+
+ //拼接打印信息
+ public static String spellMessage(String name, String oldMoney, String money,String title,String price){
+ String content;
+
+ //获取当前时间年月日 时分秒
+ Date date = new Date();
+ SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
+ String now = df.format(date);
+
+
+ content = "加油小票 佳通车队
";
+ content += "--------------------------------
";
+ content += "消费日期 :"+now +"
";
+ content += "会员姓名 :"+name+"
";
+ content += "加油金额 :"+oldMoney+"元
";
+ content += "实收金额 :"+money+"元
";
+ content += "油品名称 :"+title+"
";
+ content += "加油单价 :"+price+"元/升
";
+ content += "--------------------------------
";
+ content += "谢谢惠顾
";
+
+ return content;
+ }
+
+
+
+
+ //=====================以下是函数实现部分================================================
+
+ private static String addprinter(String snlist){
+
+ //通过POST请求,发送打印信息到服务器
+ RequestConfig requestConfig = RequestConfig.custom()
+ .setSocketTimeout(30000)//读取超时
+ .setConnectTimeout(30000)//连接超时
+ .build();
+
+ CloseableHttpClient httpClient = HttpClients.custom()
+ .setDefaultRequestConfig(requestConfig)
+ .build();
+
+ HttpPost post = new HttpPost(URL);
+ List nvps = new ArrayList();
+ nvps.add(new BasicNameValuePair("user",USER));
+ String STIME = String.valueOf(System.currentTimeMillis()/1000);
+ nvps.add(new BasicNameValuePair("stime",STIME));
+ nvps.add(new BasicNameValuePair("sig",signature(USER,UKEY,STIME)));
+ nvps.add(new BasicNameValuePair("apiname","Open_printerAddlist"));//固定值,不需要修改
+ nvps.add(new BasicNameValuePair("printerContent",snlist));
+
+ CloseableHttpResponse response = null;
+ String result = null;
+ try
+ {
+ post.setEntity(new UrlEncodedFormEntity(nvps,"utf-8"));
+ response = httpClient.execute(post);
+ int statecode = response.getStatusLine().getStatusCode();
+ if(statecode == 200){
+ HttpEntity httpentity = response.getEntity();
+ if (httpentity != null){
+ result = EntityUtils.toString(httpentity);
+ }
+ }
+ }
+ catch (Exception e)
+ {
+ e.printStackTrace();
+ }
+ finally{
+ try {
+ if(response!=null){
+ response.close();
+ }
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
+ try {
+ post.abort();
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ try {
+ httpClient.close();
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
+ }
+ return result;
+
+ }
+
+
+ //方法1
+ private static String print(String sn, String content){
+ //标签说明:
+ //单标签:
+ //"
"为换行,""为切刀指令(主动切纸,仅限切刀打印机使用才有效果)
+ //""为打印LOGO指令(前提是预先在机器内置LOGO图片),""为钱箱或者外置音响指令
+ //成对标签:
+ //""为居中放大一倍,""为放大一倍,""为居中,字体变高一倍
+ //字体变宽一倍,""为二维码,""为字体加粗,""为右对齐
+ //拼凑订单内容时可参考如下格式
+ //根据打印纸张的宽度,自行调整内容的格式,可参考下面的样例格式
+
+// String content;
+//
+// content = "加油小票 欢迎光临
";
+// content += "--------------------------------
";
+// content += "消费日期 :2024/8/30 15:26:11
";
+// content += "会员姓名 :佳通车队
";
+// content += "加油金额 :200元
";
+// content += "实收金额 :180元
";
+// content += "油品名称 :95号汽油
";
+// content += "加油单价 :7.02元/升
";
+// content += "--------------------------------
";
+// content += "谢谢惠顾
";
+
+ //通过POST请求,发送打印信息到服务器
+ RequestConfig requestConfig = RequestConfig.custom()
+ .setSocketTimeout(30000)//读取超时
+ .setConnectTimeout(30000)//连接超时
+ .build();
+
+ CloseableHttpClient httpClient = HttpClients.custom()
+ .setDefaultRequestConfig(requestConfig)
+ .build();
+
+ HttpPost post = new HttpPost(URL);
+ List nvps = new ArrayList();
+ nvps.add(new BasicNameValuePair("user",USER));
+ String STIME = String.valueOf(System.currentTimeMillis()/1000);
+ nvps.add(new BasicNameValuePair("stime",STIME));
+ nvps.add(new BasicNameValuePair("sig",signature(USER,UKEY,STIME)));
+ nvps.add(new BasicNameValuePair("apiname","Open_printMsg"));//固定值,不需要修改
+ nvps.add(new BasicNameValuePair("sn",sn));
+ nvps.add(new BasicNameValuePair("content",content));
+ nvps.add(new BasicNameValuePair("times","1"));//打印联数
+
+ CloseableHttpResponse response = null;
+ String result = null;
+ try
+ {
+ post.setEntity(new UrlEncodedFormEntity(nvps,"utf-8"));
+ response = httpClient.execute(post);
+ int statecode = response.getStatusLine().getStatusCode();
+ if(statecode == 200){
+ HttpEntity httpentity = response.getEntity();
+ if (httpentity != null){
+ //服务器返回的JSON字符串,建议要当做日志记录起来
+ result = EntityUtils.toString(httpentity);
+ }
+ }
+ }
+ catch (Exception e)
+ {
+ e.printStackTrace();
+ }
+ finally{
+ try {
+ if(response!=null){
+ response.close();
+ }
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
+ try {
+ post.abort();
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ try {
+ httpClient.close();
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
+ }
+ return result;
+
+ }
+
+
+
+ //方法2
+ private static String printLabelMsg(String sn){
+
+ String content;
+ content = "1";//设定打印时出纸和打印字体的方向,n 0 或 1,每次设备重启后都会初始化为 0 值设置,1:正向出纸,0:反向出纸,
+ content += "#001 五号桌 1/3可乐鸡翅张三先生 13800138000";//40mm宽度标签纸打印例子,打开注释调用标签打印接口打印
+
+ //通过POST请求,发送打印信息到服务器
+ RequestConfig requestConfig = RequestConfig.custom()
+ .setSocketTimeout(30000)//读取超时
+ .setConnectTimeout(30000)//连接超时
+ .build();
+
+ CloseableHttpClient httpClient = HttpClients.custom()
+ .setDefaultRequestConfig(requestConfig)
+ .build();
+
+ HttpPost post = new HttpPost(URL);
+ List nvps = new ArrayList();
+ nvps.add(new BasicNameValuePair("user",USER));
+ String STIME = String.valueOf(System.currentTimeMillis()/1000);
+ nvps.add(new BasicNameValuePair("stime",STIME));
+ nvps.add(new BasicNameValuePair("sig",signature(USER,UKEY,STIME)));
+ nvps.add(new BasicNameValuePair("apiname","Open_printLabelMsg"));//固定值,不需要修改
+ nvps.add(new BasicNameValuePair("sn",sn));
+ nvps.add(new BasicNameValuePair("content",content));
+ nvps.add(new BasicNameValuePair("times","1"));//打印联数
+
+ CloseableHttpResponse response = null;
+ String result = null;
+ try
+ {
+ post.setEntity(new UrlEncodedFormEntity(nvps,"utf-8"));
+ response = httpClient.execute(post);
+ int statecode = response.getStatusLine().getStatusCode();
+ if(statecode == 200){
+ HttpEntity httpentity = response.getEntity();
+ if (httpentity != null){
+ //服务器返回的JSON字符串,建议要当做日志记录起来
+ result = EntityUtils.toString(httpentity);
+ }
+ }
+ }
+ catch (Exception e)
+ {
+ e.printStackTrace();
+ }
+ finally{
+ try {
+ if(response!=null){
+ response.close();
+ }
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
+ try {
+ post.abort();
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ try {
+ httpClient.close();
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
+ }
+ return result;
+
+ }
+
+
+ //方法3
+ private static String queryOrderState(String orderid){
+
+ //通过POST请求,发送打印信息到服务器
+ RequestConfig requestConfig = RequestConfig.custom()
+ .setSocketTimeout(30000)//读取超时
+ .setConnectTimeout(30000)//连接超时
+ .build();
+
+ CloseableHttpClient httpClient = HttpClients.custom()
+ .setDefaultRequestConfig(requestConfig)
+ .build();
+
+ HttpPost post = new HttpPost(URL);
+ List nvps = new ArrayList();
+ nvps.add(new BasicNameValuePair("user",USER));
+ String STIME = String.valueOf(System.currentTimeMillis()/1000);
+ nvps.add(new BasicNameValuePair("stime",STIME));
+ nvps.add(new BasicNameValuePair("sig",signature(USER,UKEY,STIME)));
+ nvps.add(new BasicNameValuePair("apiname","Open_queryOrderState"));//固定值,不需要修改
+ nvps.add(new BasicNameValuePair("orderid",orderid));
+
+ CloseableHttpResponse response = null;
+ String result = null;
+ try
+ {
+ post.setEntity(new UrlEncodedFormEntity(nvps,"utf-8"));
+ response = httpClient.execute(post);
+ int statecode = response.getStatusLine().getStatusCode();
+ if(statecode == 200){
+ HttpEntity httpentity = response.getEntity();
+ if (httpentity != null){
+ //服务器返回
+ result = EntityUtils.toString(httpentity);
+ }
+ }
+ }
+ catch (Exception e)
+ {
+ e.printStackTrace();
+ }
+ finally{
+ try {
+ if(response!=null){
+ response.close();
+ }
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
+ try {
+ post.abort();
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ try {
+ httpClient.close();
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
+ }
+ return result;
+
+ }
+
+
+
+ //方法4
+ private static String queryOrderInfoByDate(String sn,String strdate){
+
+ //通过POST请求,发送打印信息到服务器
+ RequestConfig requestConfig = RequestConfig.custom()
+ .setSocketTimeout(30000)//读取超时
+ .setConnectTimeout(30000)//连接超时
+ .build();
+
+ CloseableHttpClient httpClient = HttpClients.custom()
+ .setDefaultRequestConfig(requestConfig)
+ .build();
+
+ HttpPost post = new HttpPost(URL);
+ List nvps = new ArrayList();
+ nvps.add(new BasicNameValuePair("user",USER));
+ String STIME = String.valueOf(System.currentTimeMillis()/1000);
+ nvps.add(new BasicNameValuePair("stime",STIME));
+ nvps.add(new BasicNameValuePair("sig",signature(USER,UKEY,STIME)));
+ nvps.add(new BasicNameValuePair("apiname","Open_queryOrderInfoByDate"));//固定值,不需要修改
+ nvps.add(new BasicNameValuePair("sn",sn));
+ nvps.add(new BasicNameValuePair("date",strdate));//yyyy-MM-dd格式
+
+ CloseableHttpResponse response = null;
+ String result = null;
+ try
+ {
+ post.setEntity(new UrlEncodedFormEntity(nvps,"utf-8"));
+ response = httpClient.execute(post);
+ int statecode = response.getStatusLine().getStatusCode();
+ if(statecode == 200){
+ HttpEntity httpentity = response.getEntity();
+ if (httpentity != null){
+ //服务器返回
+ result = EntityUtils.toString(httpentity);
+ }
+ }
+ }
+ catch (Exception e)
+ {
+ e.printStackTrace();
+ }
+ finally{
+ try {
+ if(response!=null){
+ response.close();
+ }
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
+ try {
+ post.abort();
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ try {
+ httpClient.close();
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
+ }
+ return result;
+
+ }
+
+
+
+ //方法5
+ private static String queryPrinterStatus(String sn){
+
+ //通过POST请求,发送打印信息到服务器
+ RequestConfig requestConfig = RequestConfig.custom()
+ .setSocketTimeout(30000)//读取超时
+ .setConnectTimeout(30000)//连接超时
+ .build();
+
+ CloseableHttpClient httpClient = HttpClients.custom()
+ .setDefaultRequestConfig(requestConfig)
+ .build();
+
+ HttpPost post = new HttpPost(URL);
+ List nvps = new ArrayList();
+ nvps.add(new BasicNameValuePair("user",USER));
+ String STIME = String.valueOf(System.currentTimeMillis()/1000);
+ nvps.add(new BasicNameValuePair("stime",STIME));
+ nvps.add(new BasicNameValuePair("sig",signature(USER,UKEY,STIME)));
+ nvps.add(new BasicNameValuePair("apiname","Open_queryPrinterStatus"));//固定值,不需要修改
+ nvps.add(new BasicNameValuePair("sn",sn));
+
+ CloseableHttpResponse response = null;
+ String result = null;
+ try
+ {
+ post.setEntity(new UrlEncodedFormEntity(nvps,"utf-8"));
+ response = httpClient.execute(post);
+ int statecode = response.getStatusLine().getStatusCode();
+ if(statecode == 200){
+ HttpEntity httpentity = response.getEntity();
+ if (httpentity != null){
+ //服务器返回
+ result = EntityUtils.toString(httpentity);
+ }
+ }
+ }
+ catch (Exception e)
+ {
+ e.printStackTrace();
+ }
+ finally{
+ try {
+ if(response!=null){
+ response.close();
+ }
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
+ try {
+ post.abort();
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ try {
+ httpClient.close();
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
+ }
+ return result;
+
+ }
+
+
+ //生成签名字符串
+ private static String signature(String USER,String UKEY,String STIME){
+ String s = DigestUtils.sha1Hex(USER+UKEY+STIME);
+ return s;
+ }
+
+
+
+}
diff --git a/jeecg-boot-module-system/src/main/java/org/jeecg/modules/apiUtils/printUtils.java b/jeecg-boot-module-system/src/main/java/org/jeecg/modules/apiUtils/printUtils.java
new file mode 100644
index 0000000..4f82ea7
--- /dev/null
+++ b/jeecg-boot-module-system/src/main/java/org/jeecg/modules/apiUtils/printUtils.java
@@ -0,0 +1,476 @@
+package org.jeecg.modules.apiUtils;
+
+import org.apache.commons.codec.digest.DigestUtils;
+import org.apache.http.HttpEntity;
+import org.apache.http.NameValuePair;
+import org.apache.http.client.config.RequestConfig;
+import org.apache.http.client.entity.UrlEncodedFormEntity;
+import org.apache.http.client.methods.CloseableHttpResponse;
+import org.apache.http.client.methods.HttpPost;
+import org.apache.http.impl.client.CloseableHttpClient;
+import org.apache.http.impl.client.HttpClients;
+import org.apache.http.message.BasicNameValuePair;
+import org.apache.http.util.EntityUtils;
+
+import java.io.IOException;
+import java.math.BigDecimal;
+import java.text.SimpleDateFormat;
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.List;
+
+public class printUtils {
+
+
+
+ public static final String URL = "http://api.feieyun.cn/Api/Open/";//不需要修改
+ public static final String USER = "1498259189@qq.com";//*必填*:账号名
+ public static final String UKEY = "hKt4XF8Gnp4skcPn";//*必填*: 飞鹅云后台注册账号后生成的UKEY 【备注:这不是填打印机的KEY】
+ public static final String SN = "222539759";//*必填*:打印机编号,必须要在管理后台里添加打印机或调用API接口添加之后,才能调用API
+
+
+ //打印账单 - 多门店数据库配置版本
+ public static void printBill(String content,String sn,String snlist,String url,String user,String ukey){
+ String method = addprinter(snlist,URL,USER,UKEY);
+ System.out.println(method);
+ //打印账单
+ String method1 = print(SN,content,URL,USER,UKEY);
+ System.out.println(method1);
+ }
+
+
+ //拼接打印信息
+ public static String spellMessage(String name, String oldMoney, String money, String title, BigDecimal price){
+ String content;
+
+ //获取当前时间年月日 时分秒
+ Date date = new Date();
+ SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
+ String now = df.format(date);
+
+
+ content = "加油小票 佳通车队
";
+ content += "--------------------------------
";
+ content += "消费日期 :"+now +"
";
+ content += "会员姓名 :"+name+"
";
+ content += "加油金额 :"+oldMoney+"元
";
+ content += "实收金额 :"+money+"元
";
+ content += "油品名称 :"+title+"
";
+ content += "加油单价 :"+price+"元/升
";
+ content += "--------------------------------
";
+ content += "谢谢惠顾
";
+
+ return content;
+ }
+
+
+
+
+ //=====================以下是函数实现部分================================================
+
+ private static String addprinter(String snlist,String url,String user,String ukey){
+ //通过POST请求,发送打印信息到服务器
+ RequestConfig requestConfig = RequestConfig.custom()
+ .setSocketTimeout(30000)//读取超时
+ .setConnectTimeout(30000)//连接超时
+ .build();
+
+ CloseableHttpClient httpClient = HttpClients.custom()
+ .setDefaultRequestConfig(requestConfig)
+ .build();
+
+ HttpPost post = new HttpPost(url);
+ List nvps = new ArrayList();
+ nvps.add(new BasicNameValuePair("user",user));
+ String STIME = String.valueOf(System.currentTimeMillis()/1000);
+ nvps.add(new BasicNameValuePair("stime",STIME));
+ nvps.add(new BasicNameValuePair("sig",signature(user,ukey,STIME)));
+ nvps.add(new BasicNameValuePair("apiname","Open_printerAddlist"));//固定值,不需要修改
+ nvps.add(new BasicNameValuePair("printerContent",snlist));
+
+ CloseableHttpResponse response = null;
+ String result = null;
+ try
+ {
+ post.setEntity(new UrlEncodedFormEntity(nvps,"utf-8"));
+ response = httpClient.execute(post);
+ int statecode = response.getStatusLine().getStatusCode();
+ if(statecode == 200){
+ HttpEntity httpentity = response.getEntity();
+ if (httpentity != null){
+ result = EntityUtils.toString(httpentity);
+ }
+ }
+ }
+ catch (Exception e)
+ {
+ e.printStackTrace();
+ }
+ finally{
+ try {
+ if(response!=null){
+ response.close();
+ }
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
+ try {
+ post.abort();
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ try {
+ httpClient.close();
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
+ }
+ return result;
+
+ }
+
+
+ //方法1
+ private static String print(String sn, String content,String url,String user,String ukey){
+ //通过POST请求,发送打印信息到服务器
+ RequestConfig requestConfig = RequestConfig.custom()
+ .setSocketTimeout(30000)//读取超时
+ .setConnectTimeout(30000)//连接超时
+ .build();
+
+ CloseableHttpClient httpClient = HttpClients.custom()
+ .setDefaultRequestConfig(requestConfig)
+ .build();
+
+ HttpPost post = new HttpPost(url);
+ List nvps = new ArrayList();
+ nvps.add(new BasicNameValuePair("user",user));
+ String STIME = String.valueOf(System.currentTimeMillis()/1000);
+ nvps.add(new BasicNameValuePair("stime",STIME));
+ nvps.add(new BasicNameValuePair("sig",signature(ukey,ukey,STIME)));
+ nvps.add(new BasicNameValuePair("apiname","Open_printMsg"));//固定值,不需要修改
+ nvps.add(new BasicNameValuePair("sn",sn));
+ nvps.add(new BasicNameValuePair("content",content));
+ nvps.add(new BasicNameValuePair("times","1"));//打印联数
+
+ CloseableHttpResponse response = null;
+ String result = null;
+ try
+ {
+ post.setEntity(new UrlEncodedFormEntity(nvps,"utf-8"));
+ response = httpClient.execute(post);
+ int statecode = response.getStatusLine().getStatusCode();
+ if(statecode == 200){
+ HttpEntity httpentity = response.getEntity();
+ if (httpentity != null){
+ //服务器返回的JSON字符串,建议要当做日志记录起来
+ result = EntityUtils.toString(httpentity);
+ }
+ }
+ }
+ catch (Exception e)
+ {
+ e.printStackTrace();
+ }
+ finally{
+ try {
+ if(response!=null){
+ response.close();
+ }
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
+ try {
+ post.abort();
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ try {
+ httpClient.close();
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
+ }
+ return result;
+
+ }
+
+
+
+ //方法2
+ private static String printLabelMsg(String sn,String url,String user,String ukey){
+
+ String content;
+ content = "1";//设定打印时出纸和打印字体的方向,n 0 或 1,每次设备重启后都会初始化为 0 值设置,1:正向出纸,0:反向出纸,
+ content += "#001 五号桌 1/3可乐鸡翅张三先生 13800138000";//40mm宽度标签纸打印例子,打开注释调用标签打印接口打印
+
+ //通过POST请求,发送打印信息到服务器
+ RequestConfig requestConfig = RequestConfig.custom()
+ .setSocketTimeout(30000)//读取超时
+ .setConnectTimeout(30000)//连接超时
+ .build();
+
+ CloseableHttpClient httpClient = HttpClients.custom()
+ .setDefaultRequestConfig(requestConfig)
+ .build();
+
+ HttpPost post = new HttpPost(url);
+ List nvps = new ArrayList();
+ nvps.add(new BasicNameValuePair("user",user));
+ String STIME = String.valueOf(System.currentTimeMillis()/1000);
+ nvps.add(new BasicNameValuePair("stime",STIME));
+ nvps.add(new BasicNameValuePair("sig",signature(user,ukey,STIME)));
+ nvps.add(new BasicNameValuePair("apiname","Open_printLabelMsg"));//固定值,不需要修改
+ nvps.add(new BasicNameValuePair("sn",sn));
+ nvps.add(new BasicNameValuePair("content",content));
+ nvps.add(new BasicNameValuePair("times","1"));//打印联数
+
+ CloseableHttpResponse response = null;
+ String result = null;
+ try
+ {
+ post.setEntity(new UrlEncodedFormEntity(nvps,"utf-8"));
+ response = httpClient.execute(post);
+ int statecode = response.getStatusLine().getStatusCode();
+ if(statecode == 200){
+ HttpEntity httpentity = response.getEntity();
+ if (httpentity != null){
+ //服务器返回的JSON字符串,建议要当做日志记录起来
+ result = EntityUtils.toString(httpentity);
+ }
+ }
+ }
+ catch (Exception e)
+ {
+ e.printStackTrace();
+ }
+ finally{
+ try {
+ if(response!=null){
+ response.close();
+ }
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
+ try {
+ post.abort();
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ try {
+ httpClient.close();
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
+ }
+ return result;
+
+ }
+
+
+ //方法3
+ private static String queryOrderState(String orderid,String url,String user,String ukey){
+ //通过POST请求,发送打印信息到服务器
+ RequestConfig requestConfig = RequestConfig.custom()
+ .setSocketTimeout(30000)//读取超时
+ .setConnectTimeout(30000)//连接超时
+ .build();
+
+ CloseableHttpClient httpClient = HttpClients.custom()
+ .setDefaultRequestConfig(requestConfig)
+ .build();
+
+ HttpPost post = new HttpPost(url);
+ List nvps = new ArrayList();
+ nvps.add(new BasicNameValuePair("user",user));
+ String STIME = String.valueOf(System.currentTimeMillis()/1000);
+ nvps.add(new BasicNameValuePair("stime",STIME));
+ nvps.add(new BasicNameValuePair("sig",signature(user,ukey,STIME)));
+ nvps.add(new BasicNameValuePair("apiname","Open_queryOrderState"));//固定值,不需要修改
+ nvps.add(new BasicNameValuePair("orderid",orderid));
+
+ CloseableHttpResponse response = null;
+ String result = null;
+ try
+ {
+ post.setEntity(new UrlEncodedFormEntity(nvps,"utf-8"));
+ response = httpClient.execute(post);
+ int statecode = response.getStatusLine().getStatusCode();
+ if(statecode == 200){
+ HttpEntity httpentity = response.getEntity();
+ if (httpentity != null){
+ //服务器返回
+ result = EntityUtils.toString(httpentity);
+ }
+ }
+ }
+ catch (Exception e)
+ {
+ e.printStackTrace();
+ }
+ finally{
+ try {
+ if(response!=null){
+ response.close();
+ }
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
+ try {
+ post.abort();
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ try {
+ httpClient.close();
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
+ }
+ return result;
+
+ }
+
+
+
+ //方法4
+ private static String queryOrderInfoByDate(String sn,String strdate,String url,String user,String ukey){
+
+ //通过POST请求,发送打印信息到服务器
+ RequestConfig requestConfig = RequestConfig.custom()
+ .setSocketTimeout(30000)//读取超时
+ .setConnectTimeout(30000)//连接超时
+ .build();
+
+ CloseableHttpClient httpClient = HttpClients.custom()
+ .setDefaultRequestConfig(requestConfig)
+ .build();
+
+ HttpPost post = new HttpPost(url);
+ List nvps = new ArrayList();
+ nvps.add(new BasicNameValuePair("user",user));
+ String STIME = String.valueOf(System.currentTimeMillis()/1000);
+ nvps.add(new BasicNameValuePair("stime",STIME));
+ nvps.add(new BasicNameValuePair("sig",signature(user,ukey,STIME)));
+ nvps.add(new BasicNameValuePair("apiname","Open_queryOrderInfoByDate"));//固定值,不需要修改
+ nvps.add(new BasicNameValuePair("sn",sn));
+ nvps.add(new BasicNameValuePair("date",strdate));//yyyy-MM-dd格式
+
+ CloseableHttpResponse response = null;
+ String result = null;
+ try
+ {
+ post.setEntity(new UrlEncodedFormEntity(nvps,"utf-8"));
+ response = httpClient.execute(post);
+ int statecode = response.getStatusLine().getStatusCode();
+ if(statecode == 200){
+ HttpEntity httpentity = response.getEntity();
+ if (httpentity != null){
+ //服务器返回
+ result = EntityUtils.toString(httpentity);
+ }
+ }
+ }
+ catch (Exception e)
+ {
+ e.printStackTrace();
+ }
+ finally{
+ try {
+ if(response!=null){
+ response.close();
+ }
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
+ try {
+ post.abort();
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ try {
+ httpClient.close();
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
+ }
+ return result;
+
+ }
+
+
+
+ //方法5
+ private static String queryPrinterStatus(String sn,String url,String user,String ukey){
+
+ //通过POST请求,发送打印信息到服务器
+ RequestConfig requestConfig = RequestConfig.custom()
+ .setSocketTimeout(30000)//读取超时
+ .setConnectTimeout(30000)//连接超时
+ .build();
+
+ CloseableHttpClient httpClient = HttpClients.custom()
+ .setDefaultRequestConfig(requestConfig)
+ .build();
+
+ HttpPost post = new HttpPost(url);
+ List nvps = new ArrayList();
+ nvps.add(new BasicNameValuePair("user",user));
+ String STIME = String.valueOf(System.currentTimeMillis()/1000);
+ nvps.add(new BasicNameValuePair("stime",STIME));
+ nvps.add(new BasicNameValuePair("sig",signature(user,ukey,STIME)));
+ nvps.add(new BasicNameValuePair("apiname","Open_queryPrinterStatus"));//固定值,不需要修改
+ nvps.add(new BasicNameValuePair("sn",sn));
+
+ CloseableHttpResponse response = null;
+ String result = null;
+ try
+ {
+ post.setEntity(new UrlEncodedFormEntity(nvps,"utf-8"));
+ response = httpClient.execute(post);
+ int statecode = response.getStatusLine().getStatusCode();
+ if(statecode == 200){
+ HttpEntity httpentity = response.getEntity();
+ if (httpentity != null){
+ //服务器返回
+ result = EntityUtils.toString(httpentity);
+ }
+ }
+ }
+ catch (Exception e)
+ {
+ e.printStackTrace();
+ }
+ finally{
+ try {
+ if(response!=null){
+ response.close();
+ }
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
+ try {
+ post.abort();
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ try {
+ httpClient.close();
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
+ }
+ return result;
+
+ }
+
+
+ //生成签名字符串
+ private static String signature(String USER,String UKEY,String STIME){
+ String s = DigestUtils.sha1Hex(USER+UKEY+STIME);
+ return s;
+ }
+
+
+
+}
diff --git a/jeecg-boot-module-system/src/main/java/org/jeecg/modules/apiservice/CheerTwoService.java b/jeecg-boot-module-system/src/main/java/org/jeecg/modules/apiservice/CheerTwoService.java
new file mode 100644
index 0000000..67beac6
--- /dev/null
+++ b/jeecg-boot-module-system/src/main/java/org/jeecg/modules/apiservice/CheerTwoService.java
@@ -0,0 +1,41 @@
+package org.jeecg.modules.apiservice;
+
+import org.jeecg.common.api.vo.Result;
+import org.jeecg.modules.apiBean.OrderPayBean;
+import org.jeecg.modules.apiBean.OrderWaterPageBean;
+import org.jeecg.modules.bean.ShopOrderPageBean;
+import org.jeecg.modules.bean.ShopPageBean;
+import org.springframework.web.bind.annotation.RequestHeader;
+
+public interface CheerTwoService {
+
+ //获取加油站列表带分页
+ Result> getGasStationList(ShopPageBean bean);
+
+ //根据加油站标识获取加油站充值套餐信息
+ Result> getRechargeList( ShopOrderPageBean bean);
+
+ //根据加油站标识获取相关配置信息
+ Result> getConfig(String shopId);
+
+ //获取订单列表带分页
+ Result> getOrderWaterPage(String token, OrderWaterPageBean bean);
+
+ //加油小程序-用户输入支付创建支付订单并且支付
+ Result> createOrderPay(String token, OrderPayBean bean);
+
+ //查询当前用户是否是管理员
+ Result> isAdmin( String token);
+
+ //获取推广二维码
+ Result> getQrCode(String token);
+
+ //支付回调
+ Object createNotify(String requestBody);
+
+
+
+
+
+
+}
diff --git a/jeecg-boot-module-system/src/main/java/org/jeecg/modules/apiservice/impl/CheerTwoServiceImpl.java b/jeecg-boot-module-system/src/main/java/org/jeecg/modules/apiservice/impl/CheerTwoServiceImpl.java
new file mode 100644
index 0000000..cc9c811
--- /dev/null
+++ b/jeecg-boot-module-system/src/main/java/org/jeecg/modules/apiservice/impl/CheerTwoServiceImpl.java
@@ -0,0 +1,518 @@
+package org.jeecg.modules.apiservice.impl;
+
+import com.alibaba.fastjson.JSON;
+import com.alibaba.fastjson.TypeReference;
+import com.aliyun.oss.OSS;
+import com.aliyun.oss.OSSClientBuilder;
+import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import com.github.binarywang.wxpay.bean.notify.WxPayOrderNotifyResult;
+import lombok.extern.slf4j.Slf4j;
+import org.apache.commons.fileupload.FileItem;
+import org.apache.commons.fileupload.disk.DiskFileItemFactory;
+import org.jeecg.common.api.vo.Result;
+import org.jeecg.common.util.RedisUtil;
+import org.jeecg.config.shiro.ShiroRealm;
+import org.jeecg.modules.apiBean.OrderPayBean;
+import org.jeecg.modules.apiBean.OrderWaterPageBean;
+import org.jeecg.modules.apiUtils.HttpClientUtil;
+import org.jeecg.modules.apiUtils.WxQrCodeVo;
+import org.jeecg.modules.apiUtils.printUtil;
+import org.jeecg.modules.apiUtils.printUtils;
+import org.jeecg.modules.apiUtils.printUtilTwo;
+import org.jeecg.modules.apiservice.CheerTwoService;
+import org.jeecg.modules.bean.ShopOrderPageBean;
+import org.jeecg.modules.bean.ShopPageBean;
+import org.jeecg.modules.cheerAdmin.entity.CheerAdmin;
+import org.jeecg.modules.cheerAdmin.service.ICheerAdminService;
+import org.jeecg.modules.cheerConf.entity.CheerConf;
+import org.jeecg.modules.cheerConf.service.ICheerConfService;
+import org.jeecg.modules.cheerPrinter.entity.CheerPrinter;
+import org.jeecg.modules.cheerPrinter.service.ICheerPrinterService;
+import org.jeecg.modules.cheerRecharge.entity.CheerRecharge;
+import org.jeecg.modules.cheerRecharge.service.ICheerRechargeService;
+import org.jeecg.modules.cheerShop.entity.CheerShop;
+import org.jeecg.modules.cheerShop.service.ICheerShopService;
+import org.jeecg.modules.cheerWater.entity.CheerWater;
+import org.jeecg.modules.cheerWater.service.ICheerWaterService;
+import org.jeecg.modules.hanHaiMember.entity.HanHaiMember;
+import org.jeecg.modules.hanHaiMember.service.IHanHaiMemberService;
+import org.jeecg.modules.pay.MpWxPayService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.beans.factory.annotation.Value;
+import org.springframework.http.HttpMethod;
+import org.springframework.http.ResponseEntity;
+import org.springframework.stereotype.Service;
+import org.springframework.util.LinkedMultiValueMap;
+import org.springframework.util.MultiValueMap;
+import org.springframework.web.client.RestTemplate;
+import org.springframework.web.multipart.MultipartFile;
+import org.springframework.web.multipart.commons.CommonsMultipartFile;
+
+import javax.annotation.Resource;
+import java.io.*;
+import java.math.BigDecimal;
+import java.util.*;
+
+@Service
+@Slf4j
+public class CheerTwoServiceImpl implements CheerTwoService {
+ //权限验证
+ @Resource
+ private ShiroRealm shiroRealm;
+ //获取加油站信息
+ @Resource
+ private ICheerShopService cheerShopService;
+ @Resource
+ private ICheerPrinterService cheerPrinterService;
+ @Resource
+ private ICheerRechargeService cheerRechargeService;
+ @Resource
+ private ICheerWaterService cheerWaterService;
+ @Resource
+ private ICheerAdminService cheerAdminService;
+ @Resource
+ private ICheerConfService cheerConfService;
+ //支付接口
+ @Autowired
+ private MpWxPayService mpWxPayService;
+ //缓存记录
+ @Resource
+ private RedisUtil redisUtil;
+ @Value("${wechat.mpAppId}")
+ private String appid;
+ @Value("${wechat.mpAppSecret}")
+ private String secret;
+ @Value("${jeecg.oss.endpoint}")
+ private String endpoint;
+ @Value("${jeecg.oss.accessKey}")
+ private String accessKey;
+ @Value("${jeecg.oss.secretKey}")
+ private String secretKey;
+ @Value("${jeecg.oss.bucketName}")
+ private String bucketName;
+
+ //获取个人信息接口
+ @Resource
+ private IHanHaiMemberService hanHaiMemberService;
+
+
+ //获取加油站列表带分页
+ @Override
+ public Result> getGasStationList(ShopPageBean bean){
+
+ Page page = new Page(bean.getPageNo(), bean.getPageSize());
+ Page page1 = cheerShopService.lambdaQuery()
+ .eq(CheerShop::getIsOpen, "Y")
+ .page(page);
+ return Result.OK("加油站列表数据",page1);
+ }
+
+
+ //根据加油站标识获取加油站充值套餐信息
+ @Override
+ public Result> getRechargeList(ShopOrderPageBean bean){
+
+ Page page = new Page(bean.getPageNo(), bean.getPageSize());
+ Page page1 = cheerRechargeService.lambdaQuery()
+ .eq(CheerRecharge::getShopId, bean.getId())
+ .page(page);
+ return Result.OK("加油站充值套餐信息",page1);
+ }
+
+
+
+ //根据加油站标识获取相关配置信息
+ @Override
+ public Result> getConfig(String shopId){
+ CheerShop byId = cheerShopService.getById(shopId);
+ return Result.OK("配置信息",byId);
+ }
+
+
+ //获取订单列表带分页
+ @Override
+ public Result> getOrderWaterPage(String token, OrderWaterPageBean bean){
+ HanHaiMember hanHaiMember = shiroRealm.checkUserTokenIsEffectHanHaiOpenId(token);
+ Page page = new Page(bean.getPageNo(), bean.getPageSize());
+ Page page1 = cheerWaterService.lambdaQuery()
+ .eq(CheerWater::getUserId, hanHaiMember.getId())
+ .eq(CheerWater::getState, "1")
+ .orderByDesc(CheerWater::getCreateTime)
+ .page(page);
+ //获取当前订单信息
+ List records = page1.getRecords();
+ //创建新的集合
+ List newList = new ArrayList<>();
+ for (CheerWater cheerWater : records) {
+ CheerShop cheerShop = cheerShopService.getById(cheerWater.getShopId());
+ cheerWater.setShopId(cheerShop.getName());
+ newList.add(cheerWater);
+ }
+ page1.setRecords(newList);
+ return Result.OK("加油流水",page1);
+ }
+
+
+
+
+ //加油小程序-用户输入支付创建支付订单并且支付
+ @Override
+ public Result> createOrderPay(String token, OrderPayBean bean){
+ HanHaiMember hanHaiMember = shiroRealm.checkUserTokenIsEffectHanHaiOpenId(token);
+ //当前加油站未配置打印机
+ CheerShop byId = cheerShopService.getById(bean.getShopId());
+ //根据打印机标识查询是否有打印机
+ CheerPrinter byId1 = cheerPrinterService.getById(byId.getPrinterId());
+ if(byId1 == null){
+ return Result.error("当前加油站未配置打印机");
+ }
+
+
+
+ //判断输入金额是否为空
+ if(bean.getMoney() == null){
+ return Result.error("支付金额不能为空");
+ }
+ //判断加油站标识不能为空
+ if(bean.getShopId() == null){
+ return Result.error("加油站标识不能为空");
+ }
+ //根据加油站标识查询相关信息
+ CheerShop cheerShop = cheerShopService.getById(bean.getShopId());
+ //判断当前信息不能为空
+ if(cheerShop == null){
+ return Result.error("加油站信息不存在");
+ }
+ if(cheerShop.getIsOpen().equals("N")){
+ return Result.error("当前加油站已关闭");
+ }
+ BigDecimal oldMoney = bean.getMoney();
+ //支付金额不能为0
+ if(bean.getMoney().compareTo(new BigDecimal(0)) == 0){
+ return Result.error("支付金额不能为0");
+ }
+ //支付金额不能为负数
+ if(bean.getMoney().compareTo(new BigDecimal(0)) == -1){
+ return Result.error("支付金额不能为负数");
+ }
+ //获取当前折扣
+ BigDecimal discount = cheerShop.getPreferential();
+ //保留小数点后两位
+ BigDecimal money = bean.getMoney().divide(discount).setScale(2, BigDecimal.ROUND_HALF_UP);
+
+ //创建订单流水
+ CheerWater cheerWater = new CheerWater();
+ cheerWater.setShopId(bean.getShopId());
+ cheerWater.setUserId(hanHaiMember.getId());
+ cheerWater.setOldPrice(money);
+ cheerWater.setPrice(oldMoney);
+ cheerWater.setState("0");
+ cheerWater.setCreateTime(new Date());
+ cheerWater.setName(cheerShop.getTitle());
+ cheerWater.setUserHead(hanHaiMember.getHeadImage());
+ cheerWaterService.save(cheerWater);
+
+
+
+ //吊起微信支付
+ String s = bean.getMoney().multiply(new BigDecimal(100)).toString();
+ int i1 = Double.valueOf(s).intValue();
+ Object appOrder = mpWxPayService.createOrderGo(
+ "购买"+cheerWater.getName() ,
+ "127.0.0.1",
+ cheerWater.getId(),
+ i1,
+ cheerWater.getId(),
+ hanHaiMember.getAppletOpenid(),
+ cheerWater.toString());
+
+
+
+ return Result.OK("支付成功",appOrder);
+ }
+
+
+
+ //查询当前用户是否是管理员
+ @Override
+ public Result> isAdmin( String token){
+ HanHaiMember hanHaiMember = shiroRealm.checkUserTokenIsEffectHanHaiOpenId(token);
+// CheerAdmin one = cheerAdminService.lambdaQuery()
+// .eq(CheerAdmin::getUserId, hanHaiMember.getId())
+// .one();
+ CheerShop one = cheerShopService.lambdaQuery()
+ .eq(CheerShop::getUserId, hanHaiMember.getId())
+ .one();
+ return Result.OK(one);
+ }
+
+
+
+ //获取推广二维码
+ @Override
+ public Result> getQrCode(String token){
+ HanHaiMember member = shiroRealm.checkUserTokenIsEffectHanHaiOpenId(token);
+ //根据用户标识查询用户是否是管理员
+ CheerAdmin one = cheerAdminService.lambdaQuery()
+ .eq(CheerAdmin::getUserId, member.getId())
+ .one();
+ if(one == null){
+ return Result.error("当前用户不是管理员");
+ }
+
+ WxQrCodeVo o = (WxQrCodeVo)redisUtil.get("CodeImage::" + member.getId());
+ if(o!=null){
+ CheerShop cheerShop = cheerShopService.lambdaQuery()
+ .eq(CheerShop::getUserId, member.getId())
+ .one();
+
+ o.setName(cheerShop.getName());
+ return Result.OK(o);
+ }
+// LambdaQueryWrapper config = new LambdaQueryWrapper<>();
+// config.eq(DbConf::getIsDel,0).eq(DbConf::getKeyValue,"xcxSharePage");
+// DbConf one = confService.getOne(config);
+// String xcxSharePage = one.getValue();
+ Map param = new HashMap<>();
+
+ CheerConf xcxSharePage = cheerConfService.lambdaQuery()
+ .eq(CheerConf::getKeyValue, "xcxSharePage")
+ .one();
+
+
+
+
+
+ String key = "shareId=" + one.getShopId();
+
+ param.put("path", xcxSharePage.getKeyCentent() + "?" + key); //跳转页面
+ String accessToken = this.getAccessToken();
+ RestTemplate rest = new RestTemplate();
+ InputStream inputStream = null;
+ OutputStream outputStream = null;
+ File file = null;
+
+// LambdaQueryWrapper configImg = new LambdaQueryWrapper<>();
+// configImg.eq(DbConf::getIsDel,0).eq(DbConf::getKeyValue,"codeImg");
+// DbConf oneImg = confService.getOne(configImg);
+
+ CheerConf oneImage = cheerConfService.lambdaQuery()
+ .eq(CheerConf::getKeyValue, "codeImg")
+ .one();
+
+ String codeImg = oneImage.getKeyCentent();
+ try{
+ String url = "https://api.weixin.qq.com/wxa/getwxacode?access_token=" + accessToken;
+ param.put("scene", "");
+ param.put("width", 150);
+ param.put("auto_color", false);
+ Map line_color = new HashMap<>();
+ line_color.put("r", 0);
+ line_color.put("g", 0);
+ line_color.put("b", 0);
+ param.put("line_color", line_color);
+ MultiValueMap headers = new LinkedMultiValueMap<>();
+ org.springframework.http.HttpEntity requestEntity = new org.springframework.http.HttpEntity(JSON.toJSONString(param), headers);
+ ResponseEntity entity = rest.exchange(url, HttpMethod.POST, requestEntity, byte[].class, new Object[0]);
+ byte[] result = entity.getBody();
+
+ inputStream = new ByteArrayInputStream(result);
+ String tempSave = codeImg;
+ String filePath = tempSave;
+ log.info("文件临时存储路径,{}", filePath);
+ file = new File(filePath);
+ if (!file.exists()) {
+ file.createNewFile();
+ }
+ outputStream = new FileOutputStream(file);
+ int len = 0;
+ byte[] buf = new byte[1024];
+ while ((len = inputStream.read(buf, 0, 1024)) != -1) {
+ outputStream.write(buf, 0, len);
+ }
+ outputStream.flush();
+ /**
+ * 将文件上传至阿里云
+ */
+ DiskFileItemFactory factory = new DiskFileItemFactory(16, null);
+ FileItem item = factory.createItem("File", "text/plain", true, file.getName());
+ int bytesRead = 0;
+ byte[] buffer = new byte[8192];
+ try {
+ FileInputStream fis = new FileInputStream(file);
+ OutputStream os = item.getOutputStream();
+ while ((bytesRead = fis.read(buffer, 0, 8192)) != -1) {
+ os.write(buffer, 0, bytesRead);
+ }
+ os.close();
+ fis.close();
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
+ MultipartFile mf = new CommonsMultipartFile(item);
+ //返回图片下载地址
+ WxQrCodeVo wxCodeVo = new WxQrCodeVo();
+ wxCodeVo.setUrl(this.uploadAliYunOss(mf));
+
+
+ CheerShop cheerShop = cheerShopService.lambdaQuery()
+ .eq(CheerShop::getUserId, member.getId())
+ .one();
+
+
+ wxCodeVo.setName(cheerShop.getName());
+
+ redisUtil.set("CodeImage::"+member.getId(),wxCodeVo);
+ return Result.OK(wxCodeVo);
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ } finally {
+
+ if (inputStream != null) {
+ try {
+ inputStream.close();
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
+ }
+ if (outputStream != null) {
+ try {
+ outputStream.close();
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
+ }
+ //删除文件
+ if (file.exists()) {
+ file.delete();
+ }
+ }
+ return null;
+ }
+
+
+ /**
+ * 获取令牌
+ *
+ * @return
+ */
+ private String getAccessToken() {
+ String requestUrl = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=" + appid + "&secret=" + secret;
+ String doGet2 = HttpClientUtil.doGet2(requestUrl);
+ Map map = JSON.parseObject(doGet2, new TypeReference