Commit 22a729c7 authored by 任国军's avatar 任国军

fix token bug

parent ca242b42
Pipeline #22620 passed with stage
in 3 seconds
......@@ -185,7 +185,7 @@ class UserService extends Service {
ctx.failed('用户不存在');
}
const data = {};
const data = { is_deleted: 0 };
if (!ctx.isEmpty(avatar)) {
data.avatar = avatar;
}
......
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