# part-time-smart **Repository Path**: missj/part-time-smart ## Basic Information - **Project Name**: part-time-smart - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-06-08 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # smart > A Vue.js project ## Build Setup ``` bash # install dependencies npm install # serve with hot reload at localhost:8080 npm run dev # build for production with minification npm run build # build for production and view the bundle analyzer report npm run build --report ``` For a detailed explanation on how things work, check out the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader). ## Done静态页面 * 主页 * 商城 * 预售 * 溯源 * 我的 * 注册 * 登录 * 商品详情页 ## 前端接口 ##### 首页接口 - banner图 - 消息(TODO) - 直播 - 公告 - 热销商城更多 - 热销商城 - 产品详情 ###### 商城 - 分类 - 分类获取商品 - 产品详情 ###### 行情页 - 全部商品 - 预售商品详情 ###### 预售商品详情页 - 保价板 — 记录 - 详情 ###### 登陆 - 登陆(Doing) ###### 预售 - 预售首页 - 关注 ## 管理系统接口 - 资讯模块(FruitNewsController):分页查询,根据id查询,新增,修改,删除 - 用户账户管理模块(UserAccountController):分页查询,修改,删除 ## api前端接口 - 预售主页用户信息查询接口(PresaleHomeController):查询用户头像,id,用户名,总资产,可用,可出 - 关注模块(FollowController):根据用户id获取用户关注产品列表,获取单个产品用户关注状态,用户关注/取关 - websocket实时通讯接口:(fruit-websocket-service:WebSocketServer): onOpen:当进入页面时,此方法用于向前台发送数据 ## api后端接口 - 缓存接口(fruit-cache-server:FruitCacheService): updateUnitProductPrice: 有新的交易时,对交易产品缓存数据进行更新 getAllProductData:获取所有产品缓存数据 getUnitProductData:获取单个产品缓存数据 setYesterdayLastOrderPrice:设置缓存中单个产品昨天收盘价 clearYesterdayData:用于定时清除缓存中的单个产品数据(最新报价,首单价,昨末单价) setProductNewData:设置单个产品缓存数据