进度更新
This commit is contained in:
parent
6459690768
commit
e65ac973c7
@ -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) {
|
||||
|
||||
}
|
||||
|
@ -61,6 +61,7 @@ func (p *ElkEngine)Delete(index string,types string,id string) error{
|
||||
}else{
|
||||
return errors.New(ERROR_PTR)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
/*
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user