ziwen 2 years ago
parent
commit
e5d968e60b
1 changed files with 0 additions and 1 deletions
  1. 0 1
      controller/contract/register.go

+ 0 - 1
controller/contract/register.go

@@ -350,7 +350,6 @@ func (rg *RegisterController) Add(c *gin.Context) {
 			AmountRemark:       fmt.Sprint("新增", fms.ContractInvoiceKeyNameMap[opType], "金额", ia, "元"),
 		})
 
-		ob := new(fms.ContractInvoice)
 		if e := v.Create(); e != nil {
 			resp.FailData("日期格式有误", "Err:"+e.Error(), c)
 			return