增加mkt校验参数
This commit is contained in:
parent
70bf6b572a
commit
b719f44553
@ -17,8 +17,15 @@ type Client struct {
|
||||
sdk.Client
|
||||
}
|
||||
|
||||
func (c *Client) CodeAuth(req *PkgNoticeRequest) (response *PkgNoticeResponse, err error) {
|
||||
// PkgNotice 打包通知
|
||||
func (c *Client) PkgNotice(req *PkgNoticeRequest) (response *PkgNoticeResponse, err error) {
|
||||
response = CreatePkgNoticeResponse()
|
||||
err = c.DoAction(req, response)
|
||||
return
|
||||
}
|
||||
|
||||
func NewClientWithAccessKey(accesskey, secrect, source string) (client *Client, err error) {
|
||||
client = &Client{}
|
||||
err = client.InitWithAccessKey(accesskey, secrect, source)
|
||||
return
|
||||
}
|
||||
|
@ -10,6 +10,8 @@ type PkgNoticeRequest struct {
|
||||
*requests.RpcRequest
|
||||
SiteID int64 `field:"site_id"` // 广告位ID
|
||||
Status int `field:"status"` // 打包状态(0:失败 1:成功)
|
||||
OauthCode string `position:"Body" field:"oauthCode" default:"" `
|
||||
Ident string `position:"Body" field:"ident" default:"" `
|
||||
}
|
||||
|
||||
//PkgNoticeResponse 打包通知响应信息
|
||||
|
Loading…
Reference in New Issue
Block a user