Commit 9470f973 authored by 1486327116's avatar 1486327116

Merge remote-tracking branch 'origin/master'

parents d2175372 252ce838
......@@ -135,6 +135,8 @@ export async function apply(pairApplyVO: PairApplyVO, currentUser: any, ip: stri
pairApplyVO.status = PAIR_APPLY_STATUS.WAIT_VIEW;
pairApplyVO.createdAt = new Date();
pairApplyVO.updatedAt = new Date();
pairApplyVO.is_active = 0;
pairApplyVO.is_hide = 0;
if (Number(pairApplyVO.id) > 0) {//update
let dbApply = await exPairApply.prototype.findOne({
where: { id: pairApplyVO.id },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment