v20190926

package
v3.0.1662+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 8, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const APIVersion = "2019-09-26"

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	common.Client
}

func NewClient

func NewClient(credential *common.Credential, region string, clientProfile *profile.ClientProfile) (client *Client, err error)

func NewClientWithSecretId

func NewClientWithSecretId(secretId, secretKey, region string) (client *Client, err error)

Deprecated

func (*Client) MarketingValueJudgement

func (c *Client) MarketingValueJudgement(request *MarketingValueJudgementRequest) (response *MarketingValueJudgementResponse, err error)

欢迎使用营销价值判断(Marketing Value Judgement,简称 MVJ)。

营销价值判断(MVJ)是针对零售场景的风控服务,通过识别高价值顾客,以帮助零售商保障营销资金

type Data

type Data struct {

	// 操作时间戳,单位秒
	PostTime *uint64 `json:"PostTime,omitempty" name:"PostTime"`

	// 用户ID
	// accountType不同对应不同的用户ID。如果是QQ或微信用户则填入对应的openId
	Uid *string `json:"Uid,omitempty" name:"Uid"`

	// 操作来源的外网IP
	UserIp *string `json:"UserIp,omitempty" name:"UserIp"`

	// 0~100:营销价值评分,分值越高,价值越大
	// [0,50]低价值
	// [50,70]价值一般
	// [70,100]高价值
	ValueScore *uint64 `json:"ValueScore,omitempty" name:"ValueScore"`
}

type MarketingValueJudgementRequest

type MarketingValueJudgementRequest struct {
	*tchttp.BaseRequest

	// 手机账号类型填写4
	AccountType *uint64 `json:"AccountType,omitempty" name:"AccountType"`

	// 填写手机号码,如15317537488
	Uid *string `json:"Uid,omitempty" name:"Uid"`

	// 用户请求时的客户端外网IP
	UserIp *string `json:"UserIp,omitempty" name:"UserIp"`

	// 用户操作时间戳,单位秒(格林威治时间精确到秒,如1501590972)
	PostTime *uint64 `json:"PostTime,omitempty" name:"PostTime"`

	// 用户设备号imei/idfa(建议填写)
	Imei *string `json:"Imei,omitempty" name:"Imei"`

	// 活动链接(建议填写)
	Referer *string `json:"Referer,omitempty" name:"Referer"`
}

func NewMarketingValueJudgementRequest

func NewMarketingValueJudgementRequest() (request *MarketingValueJudgementRequest)

func (*MarketingValueJudgementRequest) FromJsonString

func (r *MarketingValueJudgementRequest) FromJsonString(s string) error

func (*MarketingValueJudgementRequest) ToJsonString

func (r *MarketingValueJudgementRequest) ToJsonString() string

type MarketingValueJudgementResponse

type MarketingValueJudgementResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 返回数据
		Data *Data `json:"Data,omitempty" name:"Data"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewMarketingValueJudgementResponse

func NewMarketingValueJudgementResponse() (response *MarketingValueJudgementResponse)

func (*MarketingValueJudgementResponse) FromJsonString

func (r *MarketingValueJudgementResponse) FromJsonString(s string) error

func (*MarketingValueJudgementResponse) ToJsonString

func (r *MarketingValueJudgementResponse) ToJsonString() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL