You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
645 B
29 lines
645 B
/**
|
|
* @Title:
|
|
* @Description:
|
|
* @Author: Yuki Wong(iyuki0430@msn.com)
|
|
* @Update:
|
|
* @Date: 2020/7/9 10:06
|
|
* @File: JYT2012Controller.go
|
|
* @Software: GoLand
|
|
**/
|
|
package Jyt2012Controller
|
|
|
|
import (
|
|
"dsDataex/MyModel/JYT2012/Jyt2012OpenAPI"
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
func Routers(r *gin.RouterGroup) {
|
|
rr := r.Group("/openapi")
|
|
|
|
//rr.Use(middleware.Cors())
|
|
|
|
rr.POST("/jyt2012/ReadJyt2012", Jyt2012OpenAPI.ReadJyt2012)
|
|
rr.POST("/jyt2012/CreateJyt2012", Jyt2012OpenAPI.CreateJyt2012)
|
|
rr.POST("/jyt2012/UpdateJyt2012/:id", Jyt2012OpenAPI.UpdateJyt2012)
|
|
rr.POST("/jyt2012/DeleteJyt2012/:id", Jyt2012OpenAPI.DeleteJyt2012)
|
|
|
|
return
|
|
}
|