yangzilong1986 / marketmodulebg Goto Github PK
View Code? Open in Web Editor NEWMarketModule后端
MarketModule后端
首先谢谢你用我的软件啦。这是我写的第一个开源,多有不足,请多指教。 PowerBy:WangCheese ----------------------------------------------------------------------- 数据库名称:market_db 数据库文件:market_db.sql 接口说明: 默认根地址: http://localhost:8080/marketbg User模块:/user 1.注册 /register POST 参数: 必选: String account String password 返回值:0 (注册成功) 2.登录 /login GET 参数: 必选: String account String password 返回值:User信息 (登录成功) null (登录失败) 3.更新信息 /update POST 参数: 必选: Integer id 可选: String nickname String phone String password Integer type String icon Integer score 返回值:User信息 (登录成功) null (登录失败) 4.检测账号是否重复 /checkAccount GET 参数: 必选: String testAccount 返回值:Boolean Product模块:/product 1.得到轮播图片 /productGetCarousel GET 参数:无 返回值:List<轮播图片> 2.搜索 /productGetSerach GET 参数: 必选: String serach Integer start Integer size 返回值:List<产品信息> 3.添加产品 /productCreate POST 参数: 必选: String name Float price Integer type String imageaddress String introduce 返回值:0 (添加成功) ShoppingCart模块:/shoppingCart 1.得到某人的购物车数据 /shoppingCartGet GET 参数: 必选: Integer userid 返回值:List<购物车数据> 2.创建一条某人的购物车数据 /shoppingCartCreate POST 参数: 必选: Integer userid Integer productid Float price Integer number 返回值:0(创建成功) 3.删除一条某人的购物车数据 /shoppingCartDelete POST 参数: 必选: Integer id 返回值:0 (删除成功)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.