springBoot api接口

application/json 请求接口

@RequestMapping(value = "/getBaseData", method = RequestMethod.POST, produces = "application/json;charset=UTF-8")
    public Object getBaseData(@RequestBody Object model) {return result;
    }

 

posted @ 2018-11-02 17:35  点点_滴滴  阅读(802)  评论(0编辑  收藏  举报