fix: test Execute param data type is map[string]interface{}

This commit is contained in:
eson 2018-12-22 02:23:24 +08:00
parent 7f42baaa23
commit e0429c02c1
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ type Toutiao struct {
Task
}
func (tt *Toutiao) Execute(data interface{}) ITask {
func (tt *Toutiao) Execute(data map[string]interface{}) ITask {
resp, err := tt.Request()
if err != nil {
panic(err)

View File

@ -1,6 +1,6 @@
mode : 0
# proxies : "socks5://10.10.10.1:8080" // 支持, 列表 与 单项字符串
proxies : ["socks5://10.10.10.1:8080", "socks5://10.10.10.1:8082", "socks5://10.10.10.1:8083", "socks5://10.10.10.1:8085", "socks5://10.10.10.1:8087", "socks5://10.10.10.1:8088", "socks5://10.10.10.1:8089", "socks5://10.10.10.1:8090"]
proxies : []
retry : 0
timeout: 12
priority : 10000