|
@@ -28,6 +28,8 @@ var (
|
|
|
multiIndex []string
|
|
|
purchasinglistFields []string
|
|
|
BulkSize = 400
|
|
|
+ detailLength = 50000
|
|
|
+ fileLength = 50000
|
|
|
//bidding_other连接信息
|
|
|
bidding_other_es *elastic.Elastic
|
|
|
other_index string
|
|
@@ -40,6 +42,8 @@ func init() {
|
|
|
util.ReadConfig(&Sysconfig)
|
|
|
inits()
|
|
|
go checkMapJob()
|
|
|
+ detailLength = util.IntAllDef(Sysconfig["detaillength"], 50000)
|
|
|
+ fileLength = util.IntAllDef(Sysconfig["filelength"], 50000)
|
|
|
updport, _ = Sysconfig["updport"].(string)
|
|
|
winner, _ = Sysconfig["winner"].(map[string]interface{})
|
|
|
standard, _ = Sysconfig["standard"].(map[string]interface{})
|