litemall
litemall copied to clipboard
又一个小商城。litemall = Spring Boot后端 + Vue管理员前端 + 微信小程序用户前端 + Vue用户移动端
//返还优惠券 wxOrderService.releaseCoupon(orderId);
这样写生成不了接口文档, 也不好维护吧
建议整个JacksonUtil 使用一个ObjectMapper ObjectMapper本身线程安全 每次都要new 一个 增加GC 负担 public final static ObjectMapper mapper; static { mapper = new ObjectMapper(); mapper.configure(SerializationFeature.FAIL_ON_EMPTY_BEANS, false); mapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false); } 可以初始化为全局变量
项目启动部署完成,并且 /admin/auth/login 接口没问题,但是在admin/auth/info 出现Provisional headers are shown的错误
添加i18n
- litemall_goods_product最好改成litemall_goods_sku - litemall_goods_product的specifications字段看上去应该是对litemall_goods_specification的引用,或者用一个json字段存储包含多个属性名值对的组合
用测试账号user123/user123登陆后,可在如下网址复现该问题: http://122.51.199.160:8080/vue/index.html#/user/information/setPassword