fix
This commit is contained in:
parent
e4d767373a
commit
4f8749a969
2
main.go
2
main.go
@ -22,7 +22,7 @@ func main() {
|
||||
return
|
||||
}
|
||||
|
||||
fmt.Println("Bot Svc")
|
||||
println("Bot Svc")
|
||||
cc := make(chan bool)
|
||||
|
||||
err = config.LoadConfig(opts.Config)
|
||||
|
@ -87,7 +87,7 @@ func GetInstagramByID(id string) (ig *InstagramModel, err error) {
|
||||
}
|
||||
|
||||
// GetAllInstagram -
|
||||
func GetAllInstagram() (list []Instagram, err error) {
|
||||
func GetAllInstagram() (list []InstagramModel, err error) {
|
||||
db := models.GetConn()
|
||||
query := `
|
||||
select id, lastpost, ctime, mtime
|
||||
|
Loading…
Reference in New Issue
Block a user