24 lines
429 B
Go
24 lines
429 B
Go
package kx
|
|
|
|
import (
|
|
"encoding/json"
|
|
)
|
|
|
|
var _ SynApiInterface = (*CmbToBBRequest)(nil)
|
|
var _ SynApiInterface = (*BBToWechatRequest)(nil)
|
|
var _ SynApiInterface = (*WechatToBBRequest)(nil)
|
|
|
|
type SynApiInterface interface {
|
|
GetSynNotice() *SynNotice
|
|
}
|
|
|
|
type SynNotice struct {
|
|
OutBizBo string
|
|
Type NoticeType
|
|
BizContent SynApiInterface
|
|
}
|
|
|
|
func (this *SynNotice) Marshal() ([]byte, error) {
|
|
return json.Marshal(this)
|
|
}
|