7
0

增加mkt校验参数

This commit is contained in:
hushaoyi 2020-11-16 20:24:57 +08:00
parent 70bf6b572a
commit b719f44553
2 changed files with 12 additions and 3 deletions

View File

@ -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
}

View File

@ -8,8 +8,10 @@ import (
//PkgNoticeRequest 打包通知请求信息
type PkgNoticeRequest struct {
*requests.RpcRequest
SiteID int64 `field:"site_id"` // 广告位ID
Status int `field:"status"` // 打包状态(0失败 1成功)
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 打包通知响应信息