|
@@ -324,8 +324,16 @@ func SendMailToBJFinance(order *map[string]interface{}, pay_time, transaction_id
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- mail_title = "电子发票申请,剑鱼标讯历史数据订单【" + order_code + "】,请查收"
|
|
|
- mailcontent = fmt.Sprintf(ExConf.Mail_invoice_finance_content, bill_title, company_flag, bill_company, taxnum_flag, bill_taxnum, order_code, create_time, pay_time, product_type, isShowTransaction, pay_way, transaction_id, offlineImgSrc, data_spec, data_count, order_money, user_mail, user_phone)
|
|
|
+ //历史数据导出
|
|
|
+ if product_type == "历史数据导出" {
|
|
|
+ mail_title = "电子发票申请,剑鱼标讯历史数据订单【" + order_code + "】,请查收"
|
|
|
+ mailcontent = fmt.Sprintf(ExConf.Mail_invoice_finance_content, bill_title, company_flag, bill_company, taxnum_flag, bill_taxnum, order_code, create_time, pay_time, product_type, isShowTransaction, pay_way, transaction_id, offlineImgSrc, data_spec, data_count, order_money, user_mail, user_phone)
|
|
|
+ } else if product_type == "VIP订阅导出" {
|
|
|
+ //vip
|
|
|
+ product_type = "VIP订阅"
|
|
|
+ mail_title = "电子发票申请,剑鱼标讯VIP订单【" + order_code + "】,请查收"
|
|
|
+ mailcontent = fmt.Sprintf("", bill_title, company_flag, bill_company, taxnum_flag, bill_taxnum, order_code, create_time, pay_time, product_type, isShowTransaction, pay_way, transaction_id, offlineImgSrc, data_spec, data_count, order_money, user_mail, user_phone)
|
|
|
+ }
|
|
|
}
|
|
|
//发送邮件
|
|
|
for _, finance_mail := range ExConf.Finance_emails {
|