123456789101112131415161718192021222324252627282930313233 |
- package tool
- import (
- "github.com/zeromicro/go-zero/zrpc"
- ms "jy_publishing/megaloscope"
- nsq "jy_publishing/nsq"
- "jygit.jydev.jianyu360.cn/data_processing/common_utils/elastic"
- "jygit.jydev.jianyu360.cn/data_processing/common_utils/mongodb"
- "jygit.jydev.jianyu360.cn/data_processing/common_utils/udp"
- )
- var (
- Sysconfig map[string]interface{}
- ExtColl, ExtColl1 string
- FileTopicResult string
- MProducer *nsq.Producer
- Ms *ms.Megaloscope //敏感词
- ClientAddr string
- InfoCodes []infoCode
- MgoBid, MgoExt *mongodb.MongodbSim
- Es *elastic.Elastic
- BidColl string
- JyRpcClient zrpc.Client
- Index, IndexAll string
- UdpClient udp.UdpClient //udp对象
- )
- type infoCode struct {
- Code string `json:"code"` //发布信息代码
- Name string `json:"name"` //发布信息类型名称
- IsPublic int `json:"isPublic"` //是否公开;默认公开:0;不公开:1
- ExtractType int `json:"extractType"` //-1:采购信息
- }
|