2019-09-08 22:54:55.9891||Chloe.Admin.Controllers.APIController.TestProfitSharing (Chloe.Admin)|ERROR| Error: One or more errors occurred. (An error occurred while sending the request.), at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)#R##N# at System.Threading.Tasks.Task`1.get_Result()#R##N# at Chloe.Admin.Controllers.APIController.ProfitSharing(String OrderID) in E:\项目文档\便利店\src\Chloe.Admin\Controllers\APIController.cs:line 2250#R##N# at Chloe.Admin.Controllers.APIController.TestProfitSharing(String OrderID) in E:\项目文档\便利店\src\Chloe.Admin\Controllers\APIController.cs:line 2053#R##N# at lambda_method(Closure , Object , Object[] )#R##N# at Microsoft.Extensions.Internal.ObjectMethodExecutor.Execute(Object target, Object[] parameters)#R##N# at Microsoft.AspNetCore.Mvc.Internal.ActionMethodExecutor.SyncActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)#R##N# at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeActionMethodAsync()#R##N# at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeNextActionFilterAsync()#R##N# at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow(ActionExecutedContext context)#R##N# at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)#R##N# at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeInnerFilterAsync()#R##N# at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeNextExceptionFilterAsync()
----------------------------------post data 请求参数--------------------------------------------------------------------------------------
<xml><appid>wx775a7a13eb31****</appid><mch_id>153632****</mch_id><nonce_str>8337C56FDECF2A11DD928C915C248B03</nonce_str><out_order_no>Share_1168894891938418688</out_order_no><transaction_id>4200000351201909038333332***</transaction_id><sign>A06792FBCA53402D27CF8A3BC03C9A09C245EFFB16331184A8190494F62C60**</sign><receivers>[{"type":"PERSONAL_WECHATID","account":"zuoann2012***","amount":5,"description":"WH201909030002分账给客户经理:小李飞刀"}]</receivers></xml>
添加一下WePayTS8
签名sign 经验证是正确的