package ProtoController import ( "github.com/gin-gonic/gin" ) //模块的路由配置 func Routers(r *gin.RouterGroup) { //rr := r.Group("/proto") //注册get方法 //rr.GET("/ListProto", ListProto) return } /** 功能:获取开发者名单 作者:黄海 时间:2020-04-23 */ func ListPerson(c *gin.Context) { //list := ProtoService.ListPerson() ////3、返回回执信息 //c.JSON(http.StatusOK, Model.Res{ // Code: 0, // Count: len(list), // Data: list, // Msg: "获取数据成功!", //}) }