package com.controller;

import com.po.Goods;
import com.service.GoodsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;

/**
 * Created by Administrator on 2016/11/3.
 */
@Controller
@RequestMapping(value = "/echarts")
public class GoodsController {
@Autowired
private GoodsService goodsService;
    @RequestMapping(value = "/echarts")
    public @ResponseBody  Object getSomeGoodsInfo(){
        List<Goods> list=goodsService.querySomeNum();
            return list;
    }
    @RequestMapping(value ="/intoEcharts")
    public String into(){
        return "echarts/echartsAjax";
    }
}
最近下载更多
137455054  LV9 2022年10月6日
微信网友_5868223202873344  LV3 2022年4月14日
xiaot99  LV7 2021年12月22日
mxl165856  LV12 2020年9月26日
泪染珍珠  LV9 2020年9月7日
huasir2018  LV14 2020年5月19日
364550246  LV15 2020年4月22日
YURENJIABIN  LV6 2020年4月1日
skipple3  LV39 2020年2月26日
aaaaqqq  LV11 2019年12月8日
最近浏览更多
flygrass  LV12 3月28日
yyh1252  LV8 2023年12月9日
2237851964  LV1 2023年3月12日
cooper1 2022年12月14日
暂无贡献等级
137455054  LV9 2022年10月6日
1335203  LV10 2022年7月1日
qq1466625431  LV6 2022年6月28日
暂无贡献等级
爱写代码  LV12 2022年5月9日
城南旧事  LV2 2022年5月3日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友