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) });