liuyu 5 年之前
父节点
当前提交
c4e5fbb648
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/service/dock.js

+ 1 - 1
app/service/dock.js

@@ -38,7 +38,7 @@ class ChatService extends CrudService {
         result.save();
       }
     }
-    return { ...JSON.parse(JSON.stringify(res)), name: body.adminuser, phone: body.phone };
+    return { ...JSON.parse(JSON.stringify(res)), adminuser: body.adminuser, phone: body.phone };
   }
   async apply({ id }, body) {
     const dock = await this.model.findOne({ _id: ObjectId(id) });