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.
24 lines
552 B
24 lines
552 B
|
2 months ago
|
// 账号相关的接口
|
||
|
|
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)
|
||
|
|
}
|