sync.go 284 B

12345678910111213141516
  1. package http
  2. import (
  3. "go-common/app/service/main/vip/model"
  4. bm "go-common/library/net/http/blademaster"
  5. )
  6. func syncUser(c *bm.Context) {
  7. var err error
  8. user := new(model.VipUserInfo)
  9. if err = c.Bind(user); err != nil {
  10. return
  11. }
  12. vipSvc.SyncUser(c, user)
  13. c.JSON(nil, nil)
  14. }