25 lines
426 B
Go
25 lines
426 B
Go
package mkt
|
|
|
|
import (
|
|
"golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk"
|
|
"golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/requests"
|
|
)
|
|
|
|
const (
|
|
VERSION = "2020-11-16"
|
|
)
|
|
|
|
var HOST = requests.Host{
|
|
Default: "mkt",
|
|
}
|
|
|
|
type Client struct {
|
|
sdk.Client
|
|
}
|
|
|
|
func (c *Client) CodeAuth(req *PkgNoticeRequest) (response *PkgNoticeResponse, err error) {
|
|
response = CreatePkgNoticeResponse()
|
|
err = c.DoAction(req, response)
|
|
return
|
|
}
|