Commit f282c25b by lixinming

no message

parent 49792b7c
......@@ -190,7 +190,7 @@ export async function visitInfo(id:string) {
export async function visitUpdateState(id, state:number) {
if ( !( state == 1 || state == 2 ) ) throw new BizError(ERRORENUM.参数错误);
if ( !( state == 3 || state == 2 ) ) throw new BizError(ERRORENUM.参数错误);
let visitInfo = await visitData.findOne({id});
if (!visitInfo || !visitInfo.id) throw new BizError(ERRORENUM.目标数据不存在);
......
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