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 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() response = CreatePkgNoticeResponse()
err = c.DoAction(req, response) err = c.DoAction(req, response)
return return
} }
func NewClientWithAccessKey(accesskey, secrect, source string) (client *Client, err error) {
client = &Client{}
err = client.InitWithAccessKey(accesskey, secrect, source)
return
}

View File

@ -10,6 +10,8 @@ type PkgNoticeRequest struct {
*requests.RpcRequest *requests.RpcRequest
SiteID int64 `field:"site_id"` // 广告位ID SiteID int64 `field:"site_id"` // 广告位ID
Status int `field:"status"` // 打包状态(0失败 1成功) Status int `field:"status"` // 打包状态(0失败 1成功)
OauthCode string `position:"Body" field:"oauthCode" default:"" `
Ident string `position:"Body" field:"ident" default:"" `
} }
//PkgNoticeResponse 打包通知响应信息 //PkgNoticeResponse 打包通知响应信息