{"size": 359, "ext": "js", "max_stars_repo_path": "server/src/routes/user.js", "max_stars_repo_name": "youyiqin/Jia", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "server/src/routes/user.js", "max_issues_repo_name": "youyiqin/Jia", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "server/src/routes/user.js", "max_forks_repo_name": "youyiqin/Jia", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 32.6363636364, "max_line_length": 69, "alphanum_fraction": 0.713091922}
const Router = require("@koa/router");
const { login, register } = require("../routes/controllers/user.js");
const { getMyNet163AccountData } = require("../utils/net163.js");

const router = new Router();
router.post("/user/register", register);
router.post("/user/login", login);
router.get("/user/net163", getMyNet163AccountData);

module.exports = router;
