public void OrderQueryTest() { StudentOrderBll bll = new StudentOrderBll(); int orderId = 10227; int studentId = 10001; bll.OrderQuery(orderId, CashPayTypeEnum.微信, studentId); }
public JsonResult OrderQuery(int orderId, CashPayTypeEnum payType) { //当前登录用户 LoginInfo studentInfo = GetCurrentUser(); StudentOrderBll studentOrderBll = new StudentOrderBll(); bool result = studentOrderBll.OrderQuery(orderId, payType, studentInfo.StudentId); return(Json(new JsonResponse <bool> { State = true, ErrorCode = 0, ErrorMsg = "", Data = result }, JsonRequestBehavior.AllowGet)); }