Browse Source

no message

chenyuanyang 6 years ago
parent
commit
8adbd7fd02
1 changed files with 1 additions and 3 deletions
  1. 1
    3
      cmd/job/job.go

+ 1
- 3
cmd/job/job.go View File

11
 	"github.com/jinzhu/gorm"
11
 	"github.com/jinzhu/gorm"
12
 	_ "github.com/go-sql-driver/mysql"
12
 	_ "github.com/go-sql-driver/mysql"
13
 	"github.com/spf13/cobra"
13
 	"github.com/spf13/cobra"
14
-	"github.com/gocolly/colly"
15
 	"io/ioutil"
14
 	"io/ioutil"
16
 	"log"
15
 	"log"
17
 	"math/rand"
16
 	"math/rand"
19
 	"net/url"
18
 	"net/url"
20
 	"strconv"
19
 	"strconv"
21
 	"strings"
20
 	"strings"
22
-	"html"
23
 	"time"
21
 	"time"
24
 )
22
 )
25
 
23
 
80
 				panic("failed to connect database")
78
 				panic("failed to connect database")
81
 			}
79
 			}
82
 
80
 
83
-			db.Where("id <= ? and id >= ?", maxId, minId).Find(&ttsRawList)
81
+			db.Where("id <= ? and id >= ?", maxId, minId).Find(&phoneticList)
84
 
82
 
85
 			for _, ttsRaw := range phoneticList {
83
 			for _, ttsRaw := range phoneticList {
86
 
84