contact_form.go 645 B

12345678910111213141516171819202122232425262728
  1. package crontask
  2. import "wechat-api/internal/service/wechat"
  3. type ResponseItem struct {
  4. DataIndex string `json:"dataIndex"`
  5. Value []string `json:"value"`
  6. }
  7. type FieldPropsOptions struct {
  8. Label string `json:"label"`
  9. Value string `json:"value"`
  10. }
  11. type FieldProps struct {
  12. Options []FieldPropsOptions `json:"options"`
  13. }
  14. type FormData struct {
  15. Title string `json:"title"`
  16. DataIndex string `json:"dataIndex"`
  17. ValueType string `json:"valueType"`
  18. FieldProps FieldProps `json:"fieldProps"`
  19. }
  20. func (l *CronTask) analyze(bot_wxid *string) {
  21. wechat.NewAnalyzeContactField(l.ctx, l.svcCtx).Analyze(bot_wxid, nil)
  22. }