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.
28 lines
702 B
28 lines
702 B
// 账号相关的接口 |
|
package routers |
|
|
|
import ( |
|
handler "server/modules/customer/handler/common" |
|
|
|
"github.com/gin-gonic/gin" |
|
) |
|
|
|
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/gameList", handler.GamesList) |
|
e.GET("/common/channelList", handler.ChannelList) |
|
e.GET("/common/userInfo", handler.UserInfo) |
|
e.GET("/common/getGameInfo", handler.GameInfo) |
|
|
|
e.POST("/common/feedbackList", handler.FeedbackList) |
|
}
|
|
|