박시진

[Modify]require login

const express = require("express");
const router = express.Router();
const { getPeed, getSubjects, login } = require("../libs/E_Campus.js");
// const { getPeed, getSubjects, login } = require("../libs/E_Campus.js");
const { login } = require("../libs/E_Campus.js");
router.post("/", async (req, res) => {
console.log(`listened /login ${req.body.id} ${req.body.pw}`);
const Info = await login(req.body.id, req.body.pw);
......