domain

package
v1.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 15, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateType

type CreateType uint8
const (
	// SystemCreate 系统创建
	SystemCreate CreateType = 1
	// WechatCreate 企业微信创建 OR 同步
	WechatCreate CreateType = 2
)

func (CreateType) ToUint8

func (s CreateType) ToUint8() uint8

type Template

type Template struct {
	Id                 int64
	Name               string
	WorkflowId         int64
	GroupId            int64
	Icon               string
	CreateType         CreateType
	UniqueHash         string
	ExternalTemplateId string
	WechatOAControls   workwx.OATemplateControls
	Rules              []map[string]interface{}
	Options            map[string]interface{}
	Desc               string
}

type TemplateCombination

type TemplateCombination struct {
	Id         int64  `json:"id"`
	Name       string `json:"name"`
	Icon       string `json:"icon"`
	Total      int    `json:"total"`
	CreateType CreateType
	Templates  []Template `json:"templates"`
}

type TemplateGroup

type TemplateGroup struct {
	Id   int64
	Name string
	Icon string
}

type WechatInfo

type WechatInfo struct {
	TemplateId   string
	TemplateName string
	SpNo         string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL