lrf 2 лет назад
Родитель
Сommit
17c004cf51
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/service/util/install.js

+ 1 - 1
app/service/util/install.js

@@ -26,7 +26,7 @@ class InstallService extends CrudService {
     const model = this.ctx.model.User.User;
     const num = await model.count({ code: 'self' });
     if (num > 0) return;
-    const p = path.resolve(this.dataIndex, 'selfShop.js');
+    const p = path.resolve(this.dataIndex, 'user.js');
     const data = require(p);
     await model.create(data);
   }