移除mongo,将系统日志存储在es。修复拼团商品的正常购买价格为拼团价格问题
This commit is contained in:
@@ -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}")
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user