From b815586da15cacba4a1a86e7056f82bac0a68091 Mon Sep 17 00:00:00 2001 From: robin Date: Thu, 3 May 2018 11:53:18 +0800 Subject: [PATCH] .. --- B3QingDaoWanFu/Rpc/TrustPayRpc.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/B3QingDaoWanFu/Rpc/TrustPayRpc.cs b/B3QingDaoWanFu/Rpc/TrustPayRpc.cs index 21ee5ae..d1c4622 100644 --- a/B3QingDaoWanFu/Rpc/TrustPayRpc.cs +++ b/B3QingDaoWanFu/Rpc/TrustPayRpc.cs @@ -48,7 +48,7 @@ namespace BWP.B3QingDaoWanFu.Rpc { return GetTokenFromUrl(pay.ABCPay_PaymentURL); } if (pay.PayState == 付款状态.付款成功) - return "付款单已付款!"; + throw new Exception("付款单已付款!"); throw new Exception(string.Format("不支持的付款状态{0}", pay.PayState.Name)); } @@ -78,7 +78,7 @@ namespace BWP.B3QingDaoWanFu.Rpc { } [Rpc] - public static TrustPay[] QueryOrder(RpcQueryObj queryObj) { + public static TrustPay[] QueryTrustPay(RpcQueryObj queryObj) { var query = new DQueryDom(new JoinAlias(typeof(TrustPay))); query.Where.Conditions.Add(DQCondition.EQ("CreateUser_ID", BLContext.User.ID));