public IActionResult DrawBLJJ(string stockcode, string exchange, string period, string type, string enddate) { try { K_StockViewModel dataInfo = new K_StockViewModel(_appConf); return(Content(dataInfo.BLJJ(stockcode, exchange, period, type, enddate))); } catch { return(Content("false")); } }
public IActionResult Draw_KLine(string stockcode, string exchange, string period, string type, string enddate) { try { K_StockViewModel dataInfo = new K_StockViewModel(_appConf); return(Content(JsonConvert.SerializeObject(dataInfo.GetSingleStock(stockcode, exchange, period, type, enddate)))); } catch { return(Content("false")); } }