Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
sjj124390
-
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
More
items
Business‐Process
Jump to bottom
Jqyang001 edited this page
Oct 8, 2026
·
4 revisions
在线购物系统业务流程与角色用例分析
一、角色定义
访客用户:访问系统前台的普通用户,无需登录
系统管理员(卖家):唯一后台账号,拥有全部管理权限
二、核心业务流程
2.1 商品上架流转流程
卖家登录后台,填写商品信息(名称、描述、图片、价格)
提交发布,商品状态设置为「在售」,同步展示到前台
商品被购买且交易成功后,商品状态变更为「已售出」并下架
系统自动生成同款新商品,状态重置为「在售」,完成循环
2.2 用户购买流程
用户访问前台,浏览商品详情信息
用户点击「立即购买」,填写个人联系信息
提交购买申请,系统校验商品状态为在售
校验通过,商品自动冻结为「待交易」状态,生成购买意向记录
买卖双方线下完成交易
卖家在后台标记交易结果,触发商品状态流转
2.3 交易状态变更流程
2.4 卖家后台操作流程
卖家输入账号密码登录后台
进入商品管理页:可发布新商品、查看商品列表、手动冻结商品
进入订单管理页:查看意向购买记录,标记交易成功 / 失败
进入账号设置页:验证原密码,设置新密码并保存
三、角色用例分析
3.1 访客用户用例
用例 ID
用例名称
前置条件
后置条件
UC01
浏览商品详情
系统存在在售商品
正常展示商品信息
UC02
提交购买意向
商品处于在售状态
商品冻结,生成购买记录
3.2 卖家用例
用例 ID
用例名称
前置条件
后置条件
UC03
卖家登录
存在有效卖家账号
进入后台管理页面
UC04
发布商品
卖家已登录
新增在售商品,前台可见
UC05
查看历史商品
卖家已登录
展示所有历史商品记录
UC06
查看意向购买人
卖家已登录
展示所有购买申请信息
UC07
手动冻结商品
商品处于在售状态
商品变更为冻结状态
UC08
标记交易结果
存在待交易订单
商品状态对应变更
UC09
修改登录密码
卖家已登录,验证原密码正确
密码更新,下次登录生效
Wiki pages
Pages
9
Loading
Home
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Business‐Process
在线购物系统业务流程与角色用例分析
一、角色定义
二、核心业务流程
2.1 商品上架流转流程
2.2 用户购买流程
2.3 交易状态变更流程
2.4 卖家后台操作流程
三、角色用例分析
3.1 访客用户用例
3.2 卖家用例
Loading
Prototype
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Requirement‐List
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Requirement‐Specification
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Technical‐Solution
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
第1次成果验收
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
第1次阶段性评审报告
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
阶段性成果验收
Uh oh!
There was an error while loading.
Please reload this page
.
Clone this wiki locally
You can’t perform that action at this time.