Browse Source

开票二维码存表

renjiaojiao 1 năm trước cách đây
mục cha
commit
d135fa6b46
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/jfw/modules/subscribepay/src/service/invoice.go

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

@@ -1476,8 +1476,8 @@ func (this *Invoice) InvoiceSubmit() {
 		return
 	}
 	now := time.Now()
-	again, _ := this.GetInteger("again")                       //是否是失败重新开票 0 首次提交  1 再此提交
-	oldOnlyIdentifying := this.GetString("oldOnlyIdentifying") //最后一次失败的发票信息唯一标识
+	again, _ := this.GetInteger("again")                                                //是否是失败重新开票 0 首次提交  1 再此提交
+	oldOnlyIdentifying := encrypt.SE.DecodeString(this.GetString("oldOnlyIdentifying")) //最后一次失败的发票信息唯一标识
 	data := map[string]interface{}{
 		"company_name":      this.GetString("company_name"),
 		"phone":             this.GetString("phone"),