|
@@ -8,7 +8,7 @@ const router = express.Router(); // eslint-disable-line |
|
@@ -8,7 +8,7 @@ const router = express.Router(); // eslint-disable-line |
8
|
const auth = require('../../doraemon/middleware/auth');
|
8
|
const auth = require('../../doraemon/middleware/auth');
|
9
|
const article = require('./controllers/article');
|
9
|
const article = require('./controllers/article');
|
10
|
|
10
|
|
11
|
-router.post('/like', article.like);
|
11
|
+router.post('/likeById', article.likeById);
|
12
|
router.get('/list', article.list);
|
12
|
router.get('/list', article.list);
|
13
|
router.get('/listNoImg', article.listNoImg);
|
13
|
router.get('/listNoImg', article.listNoImg);
|
14
|
router.get('/listNoUser', article.listNoUser);
|
14
|
router.get('/listNoUser', article.listNoUser);
|