32 lines
364 B
Go
32 lines
364 B
Go
package controller
|
|
|
|
import (
|
|
|
|
"github.com/gin-gonic/gin"
|
|
|
|
)
|
|
|
|
|
|
func AddHardware(c *gin.Context) {
|
|
resp := RespBase{"unkown error",-231,nil}
|
|
defer func() {
|
|
c.JSON(200,resp)
|
|
}()
|
|
|
|
resp.Data = nil
|
|
resp.Msg = "OK"
|
|
resp.Status = 0
|
|
}
|
|
|
|
func DeleteHardWare(c *gin.Context) {
|
|
|
|
}
|
|
|
|
func UpdateHardWare(c *gin.Context) {
|
|
|
|
}
|
|
|
|
func ReadHardWare(c *gin.Context) {
|
|
|
|
}
|