chore: implement webhook dispatch in api v1

This commit is contained in:
Steven
2023-11-25 10:31:58 +08:00
parent db95b94c9a
commit bc965f6afa
4 changed files with 202 additions and 1 deletions

View File

@ -18,6 +18,10 @@ const (
MemoRelationComment MemoRelationType = "COMMENT"
)
func (t MemoRelationType) String() string {
return string(t)
}
type MemoRelation struct {
MemoID int32 `json:"memoId"`
RelatedMemoID int32 `json:"relatedMemoId"`