|
@@ -373,9 +373,9 @@ public class FsStorePaymentServiceImpl implements IFsStorePaymentService
|
|
|
config = JSONUtil.toBean(json, RedPacketConfig.class);
|
|
|
break;
|
|
|
}
|
|
|
- //黑坑!!现在是云联融智优选的
|
|
|
+ //H5的用公众号的appid发,小程序的用小程序的appid来发
|
|
|
if (param.getSource()==2){
|
|
|
- config.setAppId("wxd70f99287830cb51");
|
|
|
+ config.setAppId(config.getMiniappId());
|
|
|
}
|
|
|
//组合返回参数
|
|
|
R result = new R();
|
|
@@ -387,8 +387,8 @@ public class FsStorePaymentServiceImpl implements IFsStorePaymentService
|
|
|
}
|
|
|
result.put("isNew",config.getIsNew());
|
|
|
// result.put("mchId",config.getMchId());
|
|
|
- //黑坑!!现在是云联融智优选的
|
|
|
- result.put("mchId","1708360153");
|
|
|
+
|
|
|
+ result.put("mchId",config.getMchId());
|
|
|
System.out.println("发红包返回"+result);
|
|
|
return result;
|
|
|
}
|