|
@@ -64,22 +64,21 @@ namespace EVCB_OCPP.WSServer.Service
|
|
|
|
|
|
try
|
|
|
{
|
|
|
-
|
|
|
string requestParams = string.Format("charging_auth?ChargeBoxId={0}&IdTag={1}", chargeBoxId, idTag);
|
|
|
|
|
|
- if (CustomerId.ToLower() == "9e6bfdcc-09fb-4dab-a428-43fe507600a3")
|
|
|
+ // if (CustomerId.ToLower() == "9e6bfdcc-09fb-4dab-a428-43fe507600a3")
|
|
|
{
|
|
|
- logger.Error(chargeBoxId + " Charging Monitor======================================>");
|
|
|
- logger.Error(signMaterial.APIUrl + requestParams);
|
|
|
+ logger.Info(chargeBoxId + " Charging Monitor======================================>");
|
|
|
+ logger.Info(signMaterial.APIUrl + requestParams);
|
|
|
}
|
|
|
var response = await httpClient.Post(signMaterial.APIUrl + requestParams, new Dictionary<string, string>()
|
|
|
{
|
|
|
{ "PartnerId",signMaterial.Id}
|
|
|
|
|
|
}, null, signMaterial.SaltKey).ConfigureAwait(false);
|
|
|
- if (CustomerId.ToLower() == "9e6bfdcc-09fb-4dab-a428-43fe507600a3")
|
|
|
+ // if (CustomerId.ToLower() == "9e6bfdcc-09fb-4dab-a428-43fe507600a3")
|
|
|
{
|
|
|
- logger.Error(JsonConvert.SerializeObject(response));
|
|
|
+ logger.Info(JsonConvert.SerializeObject(response));
|
|
|
}
|
|
|
if (response.Success)
|
|
|
{
|