1、修复签约宝问题

2、其他调整
This commit is contained in:
2023-12-05 22:37:53 +08:00
parent b7d83b0dae
commit 1a47dc1b54
19 changed files with 470 additions and 84 deletions
@@ -16,16 +16,12 @@ module.exports = {
const otherUser = await vk.baseDao.findByWhereJson({
dbName: 'uni-id-users',
whereJson: {
mobile: "1"
mobile: data.phone
}
})
if (JSON.stringify(otherUser) === '{}') return {
code: -1,
msg: '该用户不存在',
data: {
otherUser,
phone: data.phone
}
msg: '该用户不存在'
}
data.transactionId = vk.pubfn.createOrderNo("C", 20)
@@ -48,6 +44,7 @@ module.exports = {
docTitle: data.title,
type: 'sign',
contractBase: data.contractFile,
partyCount: 2
}
}
})