进度更新

master
a7458969 2020-03-25 00:30:55 +08:00
parent 6459690768
commit e65ac973c7
2 changed files with 16 additions and 4 deletions

View File

@ -3,7 +3,7 @@ package controller
import (
"github.com/gin-gonic/gin"
"time"
)
@ -13,8 +13,19 @@ func AddHardware(c *gin.Context) {
c.JSON(200,resp)
}()
resp.Data = docTypes
resp.Data = nil
resp.Msg = "OK"
resp.Status = 0
}
}
func DeleteHardWare(c *gin.Context) {
}
func UpdateHardWare(c *gin.Context) {
}
func ReadHardWare(c *gin.Context) {
}

View File

@ -61,6 +61,7 @@ func (p *ElkEngine)Delete(index string,types string,id string) error{
}else{
return errors.New(ERROR_PTR)
}
return nil
}
/*