ziwen 2 年之前
父節點
當前提交
e5d968e60b
共有 1 個文件被更改,包括 0 次插入1 次删除
  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