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));