lrf 2 years ago
parent
commit
17c004cf51
1 changed files with 1 additions and 1 deletions
  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);
   }