ソースを参照

Merge branch 'dev_v4.8.87_wh' of qmx/jy into feature/v4.8.87

王浩 1 年間 前
コミット
f98449597b
1 ファイル変更2 行追加2 行削除
  1. 2 2
      src/jfw/modules/subscribepay/src/service/invoice.go

+ 2 - 2
src/jfw/modules/subscribepay/src/service/invoice.go

@@ -1154,7 +1154,7 @@ func (this *Invoice) InvoiceSubmit() {
 			} else {
 				body["custName"] = "个人"
 			}
-			htjs(body, orderArr, this.GetString("invoice_type"), this.GetString("company_name"), this.GetString("taxpayer_identnum"), this.GetString("mail"), this.GetString("phone"))
+			go htjs(body, orderArr, this.GetString("invoice_type"), this.GetString("company_name"), this.GetString("taxpayer_identnum"), this.GetString("mail"), this.GetString("phone"))
 		} else {
 			//给王航发信息
 			recipientStr := ""
@@ -1181,7 +1181,7 @@ func (this *Invoice) InvoiceSubmit() {
 				deliveryAddressStr,
 			)
 			for _, v := range strings.Split(config.Config.FinanceMail, ",") {
-				InvoiceSendMail(v, html, fmt.Sprintf("客户申请开具%s", this.GetString("invoice_variety")))
+				go InvoiceSendMail(v, html, fmt.Sprintf("客户申请开具%s", this.GetString("invoice_variety")))
 			}
 		}
 		return true