1234567891011121314151617181920212223242526272829303132 |
- package entity
- // 市场分析报告参数
- type AnalyzeParameters struct {
- KeysItemsStr string //分析内容【字符串】结构和o_member_jy.a_items保持一致
- RangeTime string //时间【字符串】 时间戳开始-结束时间戳
- RangeTimeExtra string //时间【字符串】前段回显使用
- Area string //省份【对象字符串】
- Industry string //行业【对象字符串】
- BuyerClass string //采购单位类型【字符串】多个采购单位类型用逗号拼接
- }
- type AnalysisRequestFormat struct {
- KeysItems []KeyWordGroup
- Area, City []string //省份城市
- STime, ETime int64 //开始结束时间--需要计算环比数据
- Industry []string //行业
- BuyerClass []string //采购单位类型
- }
- type ViewKeyWord struct {
- Keyword []string `json:"key"` //关键词
- Appended []string `json:"appendkey"` //附加词
- Exclude []string `json:"notkey"` //排除词
- MatchWay int `json:"matchway"` //匹配模式
- }
- // keyWordGroup 订阅词结构体
- type KeyWordGroup struct {
- A_Key []ViewKeyWord `json:"a_key"`
- ItemName string `json:"s_item"`
- UpdateTime int64 `json:"updatetime"`
- }
|