ipcast.go 205 B

1234567891011121314
  1. package app
  2. import (
  3. "lcfns/global"
  4. "lcfns/model/app"
  5. )
  6. type IpcastService struct {
  7. }
  8. func (is *IpcastService) Create(ipcast *app.Ipcast) (err error) {
  9. err = global.Db.Create(ipcast).Error
  10. return
  11. }