Commit ebdf38c9 by lixinming

no message

parent 92ec9557
......@@ -764,6 +764,7 @@ export async function applyReason({applyStr, userId}) {
export async function applyReasonMember({applyName, applySex, applyDuties, applyPhone, applyStr, userId}) {
let oldInfo = await findOnce(TABLEENUM.用户表, {userId});
if (!oldInfo || !oldInfo.userId) throw new BizError(ERRORENUM.目标数据不存在);
if ( oldInfo.memberState == MEMBERSTATE.异常 ) throw new BizError(ERRORENUM.请先缴费);
const Now = new Date().valueOf();
let applyId = generateSystemId(TABLEENUM.理事变更审批历史表, userId);
......
......@@ -84,7 +84,8 @@ export enum ERRORENUM {
该用户邮箱与输入邮箱不匹配,
与预览邮箱不一致,
不存在该邮箱的账号,
该邮箱已被注册
该邮箱已被注册,
请先缴费
}
export enum ERRORCODEENUM {
......
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