Files
litemall/doc/3.md
2018-03-23 00:20:50 +08:00

48 lines
1.8 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 3 litemall小商城
技术:
* 小商城前端即litemall-wx模块
* 微信小程序
* 小商城后端即litemall-wx-api模块
* Spring Boot 1.5.10
* Spring MVC
* [weixin-java-tools](https://gitee.com/binary/weixin-java-tools)
目前发现需要完善的:
* 支付功能
* 运费计算
* 优惠券功能
* 商品搜索
* 进一步区分商品和货品的关系
* 地址优化,目前每一次点击都会请求后台,应该缓存已有的数据
* 商品数量和规格中,如果货品数量不足,则显示不能点击的效果
* 登陆逻辑重新设计,如果用户没有登陆,则相关页面显示登陆的效果
## 3.1 litemall-wx-api
### 3.1.1 业务
### 3.1.2 安全
### 3.1.3 支付
准备采用weixin-java-tools工具简化微信支付代码的开发。
由于需要商户相关信息,目前没有开发。
## 3.2 litemall-wx
这里的代码基于[nideshop-mini-program](https://gitee.com/tumobi/nideshop-mini-program),但是做了一定的修改:
* 数据属性名称调整原项目中数据属性名称是下划线法命名例如goods_id而这里采用骆驼式命名法例如goodsId因此代码中需要进行相应调整
* 代码清理重构,删除了一些目前不必要的文件,梳理一些逻辑功能;
* BUG修补修改了一些错误
* 功能完善拓展,例如商品立即购买功能、商品评价功能;
具体变化可以采用工具进行对比。
注意
> 目前litemall-wx项目代码基于nideshop-mini-program的commit版本[acbf6276eb27abc6a48887cddd223d7261f0088e](https://github.com/tumobi/nideshop-mini-program/commit/acbf6276eb27abc6a48887cddd223d7261f0088e)。由于改动变化较大因此之后litemall-wx将独立开发nideshop-mini-program的跟新不一定会合并到litemall-wx中。