Merge branch 'master_test_gn' of http://60.1.1.230/backend/jieling_server into master_test_gn

back_recharge
mengchengzhen 2021-04-27 14:01:33 +08:00
commit 9b6ec67346
1 changed files with 1 additions and 1 deletions

View File

@ -200,7 +200,7 @@ public class BuyGoodsNewLogic {
resultRes.setResultCode(1);
//发送邮件
int[] mail = config.getMail();
if(mail!=null&&mail.length>1){
if(config.getPrice()!=0&&mail!=null&&mail.length>1){
String title = SErrorCodeEerverConfig.getI18NMessage(SErrorCodeEerverConfig.errorMap.get(mail[0]).getkey());
String content = SErrorCodeEerverConfig.getI18NMessageNeedConvert(SErrorCodeEerverConfig.errorMap.get(mail[1]).getkey(), new Object[]{config.getName()}, new int[]{1}, "#");
MailLogic.getInstance().sendMail(uid,title,content,"",(int) (TimeUtils.now() / 1000),Global.MAIL_EFFECTIVE_TIME);