怎样为网站的Android客户端开发RESTful的API
2个回答
2016-04-25
展开全部
使用spring mvc 就可以了
@Controller
public class AppUpdate {
@ResponseBody
@RequestMapping("/update")
public Message<AppUpdateModel> update(@RequestBody BaseModel mod, HttpServletRequest request) {
@Controller
public class AppUpdate {
@ResponseBody
@RequestMapping("/update")
public Message<AppUpdateModel> update(@RequestBody BaseModel mod, HttpServletRequest request) {
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询