2020-03-21 03:17:24 +00:00
|
|
|
package controller
|
|
|
|
|
|
|
|
import (
|
2020-03-23 15:58:39 +00:00
|
|
|
|
2020-03-21 03:17:24 +00:00
|
|
|
"github.com/gin-gonic/gin"
|
|
|
|
"time"
|
|
|
|
)
|
2020-03-23 15:58:39 +00:00
|
|
|
|
2020-03-21 03:17:24 +00:00
|
|
|
|
|
|
|
func AddHardware(c *gin.Context) {
|
|
|
|
resp := RespBase{"unkown error",-231,nil}
|
|
|
|
defer func() {
|
|
|
|
c.JSON(200,resp)
|
|
|
|
}()
|
|
|
|
|
|
|
|
|
|
|
|
resp.Data = docTypes
|
|
|
|
resp.Msg = "OK"
|
|
|
|
resp.Status = 0
|
|
|
|
}
|