|
@@ -96,8 +96,9 @@ namespace WebApplicationSample.Controllers
|
|
|
return AlipayNotifyResult.Failure;
|
|
|
}
|
|
|
}
|
|
|
- catch
|
|
|
+ catch(AlipayException ex)
|
|
|
{
|
|
|
+ Console.WriteLine("出现异常: " + ex.Message);
|
|
|
return AlipayNotifyResult.Failure;
|
|
|
}
|
|
|
}
|
|
@@ -123,8 +124,9 @@ namespace WebApplicationSample.Controllers
|
|
|
return AlipayNotifyResult.Failure;
|
|
|
}
|
|
|
}
|
|
|
- catch
|
|
|
+ catch (AlipayException ex)
|
|
|
{
|
|
|
+ Console.WriteLine("出现异常: " + ex.Message);
|
|
|
return AlipayNotifyResult.Failure;
|
|
|
}
|
|
|
}
|
|
@@ -148,8 +150,9 @@ namespace WebApplicationSample.Controllers
|
|
|
|
|
|
return AlipayNotifyResult.Failure;
|
|
|
}
|
|
|
- catch
|
|
|
+ catch (AlipayException ex)
|
|
|
{
|
|
|
+ Console.WriteLine("出现异常: " + ex.Message);
|
|
|
return AlipayNotifyResult.Failure;
|
|
|
}
|
|
|
}
|
|
@@ -173,8 +176,9 @@ namespace WebApplicationSample.Controllers
|
|
|
|
|
|
return AlipayNotifyResult.Failure;
|
|
|
}
|
|
|
- catch
|
|
|
+ catch (AlipayException ex)
|
|
|
{
|
|
|
+ Console.WriteLine("出现异常: " + ex.Message);
|
|
|
return AlipayNotifyResult.Failure;
|
|
|
}
|
|
|
}
|
|
@@ -198,8 +202,9 @@ namespace WebApplicationSample.Controllers
|
|
|
|
|
|
return AlipayNotifyResult.Failure;
|
|
|
}
|
|
|
- catch
|
|
|
+ catch (AlipayException ex)
|
|
|
{
|
|
|
+ Console.WriteLine("出现异常: " + ex.Message);
|
|
|
return AlipayNotifyResult.Failure;
|
|
|
}
|
|
|
}
|
|
@@ -223,8 +228,9 @@ namespace WebApplicationSample.Controllers
|
|
|
|
|
|
return AlipayNotifyResult.Failure;
|
|
|
}
|
|
|
- catch
|
|
|
+ catch (AlipayException ex)
|
|
|
{
|
|
|
+ Console.WriteLine("出现异常: " + ex.Message);
|
|
|
return AlipayNotifyResult.Failure;
|
|
|
}
|
|
|
}
|