|
|
|
@ -3,6 +3,7 @@ package DictController
|
|
|
|
|
import (
|
|
|
|
|
"dsBigData/Business/Dict/DictService"
|
|
|
|
|
"dsBigData/Model"
|
|
|
|
|
"fmt"
|
|
|
|
|
"github.com/gin-gonic/gin"
|
|
|
|
|
"net/http"
|
|
|
|
|
)
|
|
|
|
@ -13,9 +14,20 @@ func Routers(r *gin.RouterGroup) {
|
|
|
|
|
|
|
|
|
|
rr.GET("/GetXxbxlx", GetXxbxlx)
|
|
|
|
|
|
|
|
|
|
rr.POST("/Test", Test)
|
|
|
|
|
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func Test(c *gin.Context) {
|
|
|
|
|
abc := "aaa"
|
|
|
|
|
fmt.Println(abc)
|
|
|
|
|
c.JSON(http.StatusOK, Model.Res{
|
|
|
|
|
Success: true,
|
|
|
|
|
List: "ok",
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
功能:获取学校办学类型字典
|
|
|
|
|
*/
|
|
|
|
|