|
|
@@ -844,7 +844,13 @@ public class FsStorePaymentServiceImpl implements IFsStorePaymentService {
|
|
|
public String v3TransferNotify(String notifyData, HttpServletRequest request) {
|
|
|
logger.info("zyp \n【收到转账回调】:{}", notifyData);
|
|
|
try {
|
|
|
- String json = configService.selectConfigByKey("redPacket.config");
|
|
|
+// String json = configService.selectConfigByKey("redPacket.config");
|
|
|
+
|
|
|
+ String json = redisCache.getCacheObject("sys_config:redPacket.config.new");
|
|
|
+ if (StringUtil.isNullOrEmpty(json) || json.isEmpty()) {
|
|
|
+ json = configService.selectConfigByKey("redPacket.config");
|
|
|
+ }
|
|
|
+
|
|
|
RedPacketConfig config = JSONUtil.toBean(json, RedPacketConfig.class);
|
|
|
//创建微信订单
|
|
|
WxPayConfig payConfig = new WxPayConfig();
|