{"id":15065225,"url":"https://github.com/thrsky/thrskyshop","last_synced_at":"2025-04-09T07:07:58.188Z","repository":{"id":105596963,"uuid":"89352584","full_name":"thrsky/ThrskyShop","owner":"thrsky","description":"线上购物平台开发 - Java-SSM-电商","archived":false,"fork":false,"pushed_at":"2020-04-02T03:03:59.000Z","size":982,"stargazers_count":288,"open_issues_count":7,"forks_count":132,"subscribers_count":26,"default_branch":"master","last_synced_at":"2025-04-09T07:07:54.334Z","etag":null,"topics":["java","maven","ssm"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thrsky.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-04-25T11:25:02.000Z","updated_at":"2025-03-16T07:37:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"908d04c6-1194-434f-a656-66be499f5e3c","html_url":"https://github.com/thrsky/ThrskyShop","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thrsky%2FThrskyShop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thrsky%2FThrskyShop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thrsky%2FThrskyShop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thrsky%2FThrskyShop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thrsky","download_url":"https://codeload.github.com/thrsky/ThrskyShop/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247994121,"owners_count":21030050,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["java","maven","ssm"],"created_at":"2024-09-25T00:35:23.648Z","updated_at":"2025-04-09T07:07:58.162Z","avatar_url":"https://github.com/thrsky.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003e 本项目，只适合Java初学者\n\n⚠️注意点:这个项目只包含后端，并没有前端页面，而且是根据慕课网的项目改编而来，其中的很多设计和框架，在如今看来都已经有点过时，请酌情参考\n\n\n# 在线购物平台 \n## 核心框架基于SSM、集成支付宝接口\n\n\n### 学习心得：\n\u003e* 要导入mybatis-generator：   \n   在pom.xml - build - plugins - plugin中导入**mybatis-generator-maven-plugin**即可\n   \n\u003e* mybatis-generator的配置文件是generatorConfig.xml，里面有完整的注释，这里就不多讲了\n\n\u003e* datasource.properties 中配置mysql.jar包时需要用绝对路径，如果有人要直接copy我的代码的话请修改路径\n\n\u003e* 在mapper文件中 对createTime 和  updateTime 时间戳进行更新 用db的语法来控制，不用Java的语法\n\n## 安全问题\n\u003e* 横向越权和纵向越权\n\u003e* md5加密\n\n\n## 接口设计\n### 首页-用户接口\n\u003e* 登录\n\u003e* 注册\n\u003e* 检查用户是否有效\n\u003e* 获取登录状态信息\n\u003e* 忘记密码\n\u003e* 提交问题答案\n\u003e* 忘记密码的重设密码\n\u003e* 登录状态 重置密码\n\u003e* 登录状态更新个人信息\n\u003e* 获取当前登录用户的详细信息，并强制登录\n\u003e* 退出登录\n\n### 后台用户接口\n\u003e* 后台管理员登录\n\n### 后台-产品接口\n\u003e* 产品列表\n\u003e* 产品搜索\n\u003e* 图片上传\n\u003e* 产品详情\n\u003e* 产品上下架\n\u003e* 新增OR更新产品\n\u003e* 富文本上传图片\n\n### 后台-品类接口\n\u003e* 获取品类子节点\n\u003e* 增加节点\n\u003e* 修改品类名字\n\u003e* 获取当前分类ID及递归子节点categoryID\n\n### 后台-订单接口\n\u003e* 订单列表\n\u003e* 按订单号查询\n\u003e* 订单详情\n\u003e* 订单发货\n\n### 首页-产品接口\n\u003e* 产品搜索及动态排序列表\n\u003e* 产品详细信息\n\n### 首页-支付接口\n\u003e* 支付\n\u003e* 查询订单支付状态\n\u003e* 支付宝回调\n\n### 首页-收获地址接口\n\u003e* 添加地址\n\u003e* 删除地址\n\u003e* 登录状态更新地址\n\u003e* 选中查看具体的地址\n\u003e* 地址列表\n\n### 首页-订单接口\n\u003e* 创建订单\n\u003e* 创建订单的商品信息\n\u003e* 订单列表\n\u003e* 订单详情\n\u003e* 取消订单\n\n### 首页-购物车接口\n\u003e* 购物车列表\n\u003e* 购物车添加商品\n\u003e* 更新购物车中某个商品的数量\n\u003e* 移除购物车中某个商品\n\u003e* 购物车中取消选取某个商品\n\u003e* 查询在购物车里的产品数量\n\u003e* 购物车全选\n\u003e* 购物车取消全选\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthrsky%2Fthrskyshop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthrsky%2Fthrskyshop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthrsky%2Fthrskyshop/lists"}