types.go 776 B

1234567891011121314151617181920212223
  1. package extractor
  2. // ContactInfo 提取出的联系方式
  3. type ContactInfo struct {
  4. TgUsername string `json:"tg_username"` // TG用户名 (不含@)
  5. TgLink string `json:"tg_link"` // t.me/xxx 链接
  6. Website string `json:"website"`
  7. Email string `json:"email"`
  8. Phone string `json:"phone"`
  9. WeChat string `json:"wechat"`
  10. HasContact bool `json:"has_contact"` // 是否包含任何联系方式
  11. }
  12. // MerchantInfo LLM 解析出的商户信息
  13. type MerchantInfo struct {
  14. MerchantName string `json:"merchant_name"`
  15. TgUsername string `json:"tg_username"`
  16. Website string `json:"website"`
  17. Email string `json:"email"`
  18. Phone string `json:"phone"`
  19. Industry string `json:"industry"`
  20. Description string `json:"description"`
  21. }