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.
 
 
 

21 lines
340 B

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
}