ziwen %!s(int64=2) %!d(string=hai) anos
pai
achega
e5d968e60b
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  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