소스 검색

修改接口

zs 1 년 전
부모
커밋
5e6039d64a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/service/util/user.util.ts

+ 1 - 1
src/service/util/user.util.ts

@@ -145,7 +145,7 @@ export class UserUtilService {
   // 创建维修检查
   async checkUpkeep(data: checkUpkeep) {
     // 检查街道/社区
-    const keepan = await this.shopModel.count({
+    const keepan = await this.keepModel.count({
       user: data.user,
       supplier: data.supplier,
       good: data.good,