// 账号相关的接口 package routers import ( "github.com/gin-gonic/gin" handler "server/modules/customer/handler/common" ) func common(e *gin.Engine) { // 上传图片 e.POST("/image/upload", handler.UploadImage) // 获取图片 e.GET("/image/download", handler.DownImage) // 操作日志查看 e.POST("/option/log/list", handler.OptList) e.GET("/common/goodsList", handler.GoodList) e.GET("/common/productList", handler.ProductList) e.GET("/common/channelList", handler.ChannelList) e.GET("/common/userInfo", handler.UserInfo) }