go-common/app/interface/main/space/http/shop.go

15 lines
208 B
Go
Raw Normal View History

2019-04-22 10:49:16 +00:00
package http
import (
bm "go-common/library/net/http/blademaster"
)
func shopInfo(c *bm.Context) {
var (
mid int64
)
midStr, _ := c.Get("mid")
mid = midStr.(int64)
c.JSON(spcSvc.ShopInfo(c, mid))
}