Exemplo n.º 1
0
        /// <summary>
        /// 根据兑换码获取服务码
        /// </summary>
        /// <param name="redemptionCode"></param>
        /// <returns></returns>
        public JsonResult GetServiceCodesByRedemptionCode(string redemptionCode, string codeType = "BeautyServicePackageCode")
        {
            var result = BeautyServicePackageManager.GetServiceCodesByRedemptionCode(redemptionCode, codeType);

            return(Json(result, JsonRequestBehavior.AllowGet));
        }