fix:1、接入合作方的sdk。2、支付逻辑接入sdk中的接口
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace KwaiAds.Scripts.Api
|
||||
{
|
||||
public class KwaiRequest
|
||||
{
|
||||
public readonly string TagId;
|
||||
|
||||
public Dictionary<string, string> ExtParams = new Dictionary<string, string>();
|
||||
|
||||
public KwaiRequest(string tagId)
|
||||
{
|
||||
this.TagId = tagId ?? throw new ArgumentNullException(nameof(tagId));
|
||||
InitExtParams();
|
||||
}
|
||||
|
||||
protected void InitExtParams()
|
||||
{
|
||||
ExtParams[Constants.Request.BID_FLOOR_PRICE] = "0";
|
||||
ExtParams[Constants.Request.BID_FLOOR_CURRENCY] = Constants.Currency.USD;
|
||||
ExtParams[Constants.Request.MEDIATION_TYPE] = "4";
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user