|
@@ -597,6 +597,7 @@ func (f *Front) Importfile() {
|
|
|
o["urgency"] = 0
|
|
|
}
|
|
|
o["platform"] = cells[9].Value
|
|
|
+ o["spidercompete"] = true
|
|
|
// table := cells[6].Value
|
|
|
// o["table"] = table
|
|
|
// o["transfercode"] = qu.IntAll(Transfercode[table])
|
|
@@ -716,6 +717,7 @@ func pf(o map[string]interface{}) (bool, string) {
|
|
|
param["historyevent"] = qu.IntAll(o["historyevent"])
|
|
|
param["spiderhistorymaxpage"] = 1
|
|
|
param["platform"] = o["platform"]
|
|
|
+ param["spidercompete"] = o["spidercompete"]
|
|
|
//qu.Debug("param---", param)
|
|
|
issave := spider.SaveSpider(o["code"].(string), param)
|
|
|
return issave, one["s_name"].(string)
|