1、新增商城
2、新增自营
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user