public string GetProductKeyJson(string inputJsonStr) { job = gm.getJsonResult(inputJsonStr); try { string bigItem = job["BigItem"].ToString(); string smallItem = job["SmallItem"].ToString(); string value = job["Value"].ToString(); string orderPrice = job["Price"].ToString(); string orderHot = job["Hot"].ToString(); return(main.GetProductKey(bigItem, smallItem, value, orderPrice, orderHot)); } catch (Exception ex) { Console.WriteLine(ex.Message); return(gm.getStageJson(false, msg.noData_cht)); } }