1、新增签约宝

2、调整自营
3、新增购物车(未完善)
This commit is contained in:
2023-12-04 19:25:58 +08:00
parent a92aec2c29
commit aa1df73a53
23 changed files with 857 additions and 323 deletions
@@ -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,