提交 07050c3b 作者: han

公众号通知提现取消

上级 cc3aec48
流水线 #7726 已通过 于阶段
in 2 分 20 秒
......@@ -251,16 +251,16 @@ public class WithdrawalServiceImpl implements WithdrawalService {
String userPhone = userServiceDao.getUserPhoneByUserId(applyInfo.getUserAccountId());
SmsUtil.sendPassWithdrawalApply(userPhone);
// 公众号消息通知提现成功
WxMsgVO ws = new WxMsgVO();
String unionId = userServiceDao.getUserAccountById(applyInfo.getUserAccountId()).getUnionId();
// 查询对应的openId(touser)
String touser = userSubInfoDao.getUserSubInfoByUnionId(unionId).getOpenId();
JSONObject jsonObject = spellMsg(applyInfo.getEmpName(), applyInfo.getPayAmount(), applyInfo.getPayAccount());
ws.setTouser(touser);
ws.setTemplateId("y6PHvZownxqR5hf4dSXaa2Lp1jeq3ccytd6G-kUQla4");
ws.setDataObject(jsonObject);
wxService.sendSubTemplateMsg(ws);
// // 公众号消息通知提现成功
// WxMsgVO ws = new WxMsgVO();
// String unionId = userServiceDao.getUserAccountById(applyInfo.getUserAccountId()).getUnionId();
// // 查询对应的openId(touser)
// String touser = userSubInfoDao.getUserSubInfoByUnionId(unionId).getOpenId();
// JSONObject jsonObject = spellMsg(applyInfo.getEmpName(), applyInfo.getPayAmount(), applyInfo.getPayAccount());
// ws.setTouser(touser);
// ws.setTemplateId("y6PHvZownxqR5hf4dSXaa2Lp1jeq3ccytd6G-kUQla4");
// ws.setDataObject(jsonObject);
// wxService.sendSubTemplateMsg(ws);
return ResultBody.success();
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论