1、新增签约宝
2、调整自营 3、新增购物车(未完善)
This commit is contained in:
@@ -15,7 +15,14 @@ module.exports = {
|
||||
const whereJson = {
|
||||
accountType: 2
|
||||
}
|
||||
if (!vk.pubfn.isNull(data.keyword)) whereJson['company.companyName'] = new RegExp(data.keyword);
|
||||
if (!vk.pubfn.isNull(data.isCoop)) whereJson.isCoop = data.isCoop;
|
||||
if (data.province.length > 0) {
|
||||
whereJson['businessCard.address.province.code'] = _.in(data.province);
|
||||
}
|
||||
if (data.mainSpotCategoryIds.length > 0) {
|
||||
whereJson['businessCard.mainSpotCategoryIds'] = _.in(data.mainSpotCategoryIds);
|
||||
}
|
||||
// 业务逻辑开始-----------------------------------------------------------
|
||||
res = await vk.baseDao.getTableData({
|
||||
dbName: dbName.user,
|
||||
|
||||
Reference in New Issue
Block a user