package bus import ( "assetcenter/db/model" ) func GetUserInfo(id string) (user *model.User, err error) { // payload := map[string]string{"id": id} // // NatsCenter.RequestPackApi() // err = nats.bus.Request("user.op.info", payload, 3*time.Second, user) return }