2019-04-22 02:59:20 +00:00

22 lines
340 B
Go

package wechat
import (
"go-common/app/interface/main/web-goblin/conf"
"go-common/app/interface/main/web-goblin/dao/wechat"
)
// Service struct .
type Service struct {
c *conf.Config
dao *wechat.Dao
}
// New init wechat service.
func New(c *conf.Config) (s *Service) {
s = &Service{
c: c,
dao: wechat.New(c),
}
return s
}