public void OrderPaymentTest() { SystemType sType = SystemType.MobileWebSite; int userId = 616732; string uid = "*****@*****.**"; string oCode = "5437140"; int payId = 20049; MResult <string> expected = null; MResult <string> actual; actual = PaymentBLL.OrderPayment(sType, userId, uid, oCode, payId); }
public MResult <string> OrderPayment(string sid, string token, string guid, string user_id, string uid, string ocode, string payid) { var result = new MResult <string>(); try { var payId = MCvHelper.To <int>(payid, 0); result = PaymentBLL.OrderPayment(SystemType, UserId, uid, ocode, payId); } catch (Exception ex) { result.status = Core.Enums.MResultStatus.ExceptionError; result.msg = "处理数据出错!"; } return(result); }