liuyu 4 年之前
父節點
當前提交
ba9438783f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/service/room.js

+ 1 - 1
app/service/room.js

@@ -135,7 +135,7 @@ class RoomService extends CrudService {
     return result;
   }
 
-  async updateshmai(id, shmaiid) {
+  async updateshmai({ id, shmaiid }) {
     const res = await this.model.findById(id);
     if (res) {
       res.shmaiid = shmaiid;