增加example.js

This commit is contained in:
Hawkin 2022-07-29 14:41:36 +08:00
parent 5f886955af
commit f79eccb110
3 changed files with 8 additions and 0 deletions

2
src/db/example.js Normal file
View File

@ -0,0 +1,2 @@
// connect to db
// use

1
src/model/example.js Normal file
View File

@ -0,0 +1 @@
const dbConnector = require('../db/example')

5
src/service/example.js Normal file
View File

@ -0,0 +1,5 @@
const ExampleModel = require('../model/example')
class ExampleService {}
module.exports = new ExampleService();