lrf %!s(int64=2) %!d(string=hai) anos
pai
achega
17c004cf51
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);
   }