1、新增旧货市场

2、新增用户等级
This commit is contained in:
2023-12-10 14:53:07 +08:00
parent a45d185c64
commit 17b2d8f117
112 changed files with 10793 additions and 6360 deletions
@@ -12,13 +12,16 @@ module.exports = {
let {uid} = data;
let res = {code: 0, msg: ""};
// 业务逻辑开始-----------------------------------------------------------
const {pageIndex, pageSize, parentId, keyword, city} = data
const whereJson = {parentId}
const {pageIndex, pageSize, parentId, keyword, city, } = data
const whereJson = {}
if (vk.pubfn.isNotNull(keyword)) {
whereJson.name = new RegExp(keyword)
}
if (vk.pubfn.isNotNull(city)) {
whereJson.address.city.code = city
whereJson['address.city.code'] = city
}
if (vk.pubfn.isNotNull(parentId)) {
whereJson.parentId = parentId
}
res = await vk.baseDao.select({