移除mongo,将系统日志存储在es。修复拼团商品的正常购买价格为拼团价格问题

This commit is contained in:
paulGao
2021-12-13 18:15:37 +08:00
parent cafeb1f20f
commit c3fbad7dbf
23 changed files with 163 additions and 243 deletions

View File

@@ -46,8 +46,8 @@ public class PintuanManagerController {
@GetMapping
@ApiOperation(value = "根据条件分页查询拼团活动列表")
public ResultMessage<IPage<Pintuan>> getPintuanByPage(PintuanSearchParams queryParam, PageVO pageVo) {
IPage<Pintuan> pintuanByPageFromMongo = pintuanService.pageFindAll(queryParam, pageVo);
return ResultUtil.data(pintuanByPageFromMongo);
IPage<Pintuan> pintuanIPage = pintuanService.pageFindAll(queryParam, pageVo);
return ResultUtil.data(pintuanIPage);
}
@GetMapping("/goods/{pintuanId}")

View File

@@ -29,15 +29,6 @@ spring:
admin:
client:
url: http://127.0.0.1:8000
# mongodb
data:
mongodb:
uri: 127.0.0.1:27017
database: lilishop
username: root
password: lilishop
authentication-database: admin
# replica-set-name: mongoreplset
cache:
type: redis
# Redis
@@ -174,7 +165,6 @@ logging:
cn.lili: info
# org.hibernate: debug
# org.springframework: debug
# org.springframework.data.mongodb.core: debug
file:
# 指定路径
path: lili-logs