java商城源码(servlet,springboot,html,vue,uniapp,小程序,android)一套任意组合
生活随笔
收集整理的這篇文章主要介紹了
java商城源码(servlet,springboot,html,vue,uniapp,小程序,android)一套任意组合
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
今天給大家帶來一部巨作,商城系統,沒錯,就是大家常見的商城系統
但是這個是現今最全的一套系統,其中一套項目包含了后臺
servlet版本接口
springboot版本接口
pc界面可以用html,也可以用vue(elementui)
手機端可以使用uniapp,也可以用微信小程序,也可以安卓原生開發
這樣組合一下可以分好16種項目
pc項目:
springboot+html版本
springboot+vue版本
servlet+html版本
servlet+vue版本
手機項目:
springboot+html(后臺界面)+uniapp
springboot+vue(后臺界面)+uniapp
servlet+html(后臺界面)+uniapp
servlet+vue(后臺界面)+uniapp
springboot+html(后臺界面)+小程序
springboot+vue(后臺界面)+小程序
servlet+html(后臺界面)+小程序
servlet+vue(后臺界面)+小程序
springboot+html(后臺界面)+android
springboot+vue(后臺界面)+android
servlet+html(后臺界面)+android
servlet+vue(后臺界面)+android
/*** 商品接口* @author qq2803180149**/ @RestController @RequestMapping("/api/goods") public class ApiGoodsController {@Autowiredprivate GoodsService goodsService;/*** 查詢列表* @param map* @return*/@AuthIgnore@GetMapping("list")public R list(@RequestParam Map<String, Object> map){map.put("status", 1);Query query = new Query(map);List<GoodsEntity> goodsList = goodsService.queryList(query);Integer total = goodsService.queryTotal(map);return R.ok().put("goodsList", goodsList).put("total", total);}/*** 詳情* @param id* @return*/@AuthIgnore@GetMapping("detail")public R detail(int id){GoodsEntity goods = goodsService.queryObject(id);return R.ok().put("goods", goods);}/*** 推薦商品* @param userId* @return*/@GetMapping("recommend")public R recommend(@RequestAttribute("userId") Long userId){List<GoodsEntity> goodsList = goodsService.getLike(userId);return R.ok().put("goodsList", goodsList);}}?
?
?
?
?
?
總結
以上是生活随笔為你收集整理的java商城源码(servlet,springboot,html,vue,uniapp,小程序,android)一套任意组合的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: ASP.NET MVC的路由
- 下一篇: 【Vue】前端跨域解决方法