update:当前支付成功
This commit is contained in:
@@ -141,6 +141,7 @@ namespace tysdk
|
||||
public string description;
|
||||
public string ourProductId;
|
||||
public string price;
|
||||
public float ruPrice;
|
||||
|
||||
[JsonProperty("price_amount_micros")]
|
||||
public string price_amount_micros { get; set; }
|
||||
@@ -155,7 +156,7 @@ namespace tysdk
|
||||
}
|
||||
|
||||
public string ProdPriceStr => price;
|
||||
//public float ProdPrice => float.Parse(price_amount_micros) / 1000000;
|
||||
// public float ProdPrice => float.Parse(price_amount_micros) / 1000000;
|
||||
public float ProdPrice
|
||||
{
|
||||
get
|
||||
@@ -165,6 +166,7 @@ namespace tysdk
|
||||
return micros / 1_000_000f;
|
||||
}
|
||||
}
|
||||
|
||||
public string ProdID => ourProductId;
|
||||
public string ProdKey => productId;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user