ms

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 11, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CustomMsgEntity

type CustomMsgEntity struct {
	Pid        int      `xorm:"pid" json:"pid"`               //单据类型
	PrimaryKey string   `xorm:"primarykey" json:"primarykey"` //主健
	Title      string   `xorm:"title" json:"title"`
	Body       string   `xorm:"body" json:"body"`
	Bodys      []string `xorm:"bodys" json:"bodys"`
	LinkUrl    string   `xorm:"linkUrl" json:"linkUrl"`
	ToUsers    []string `xorm:"toUsers" json:"toUsers"`
	EntId      int      `xorm:"entid" json:"entid"`
}

用于接收自定义的消息实体类

type DDMsgEntity

type DDMsgEntity struct {
	Pid            int               //单据类型
	PrimaryKey     string            //主健
	UserIdList     []string          `xorm:"useridlist" json:"useridlist"`
	To_all_user    bool              `xorm:"to_all_user" json:"to_all_user"`
	Templateid     int               `xorm:"templateid" json:"templateid"`
	Templateparams map[string]string `xorm:"templateparams" json:"templateparams"`
	Entid          int               `xorm:"entid" json:"entid"`
}

用于接收钉钉的消息实体类

type MsEmail

type MsEmail struct {
	Pid        int      //单据类型
	PrimaryKey string   //主健
	To         []string `json:"to"`
	Body       string   `json:"body"`
	Title      string   `json:"title"`
}

Jump to

Keyboard shortcuts

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