1、新增商城

2、新增自营
This commit is contained in:
2023-12-04 14:04:17 +08:00
parent 74e87c1339
commit a92aec2c29
30 changed files with 1447 additions and 834 deletions
@@ -12,21 +12,16 @@ module.exports = {
let {customUtil, uniID, config, pubFun, vk, db, _} = util;
let {uid} = data;
let res = {code: 0, msg: ""};
const whereJson = {
accountType: 2
}
if (!vk.pubfn.isNull(data.isCoop)) whereJson.isCoop = data.isCoop;
// 业务逻辑开始-----------------------------------------------------------
res = await vk.baseDao.getTableData({
dbName: dbName.user,
whereJson: {
// fadadaConfirm: true,
...data,
...{
accountType: 2,
businessCard: _.exists(true),
}
}
whereJson
});
console.log('whereJson', whereJson)
// 业务逻辑结束-----------------------------------------------------------
return res;
}