This commit is contained in:
Jay 2019-09-16 13:27:25 +00:00
parent e4d767373a
commit 4f8749a969
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ func main() {
return return
} }
fmt.Println("Bot Svc") println("Bot Svc")
cc := make(chan bool) cc := make(chan bool)
err = config.LoadConfig(opts.Config) err = config.LoadConfig(opts.Config)

View File

@ -87,7 +87,7 @@ func GetInstagramByID(id string) (ig *InstagramModel, err error) {
} }
// GetAllInstagram - // GetAllInstagram -
func GetAllInstagram() (list []Instagram, err error) { func GetAllInstagram() (list []InstagramModel, err error) {
db := models.GetConn() db := models.GetConn()
query := ` query := `
select id, lastpost, ctime, mtime select id, lastpost, ctime, mtime