随笔分类 -  前端歌谣-express

前端歌谣-express
摘要:const { User } = require('../../model/user'); module.exports = async (req, res) => { // 获取到地址栏中的id参数 const { message, id } = req.query; // 如果当前传递了id参数 阅读全文
posted @ 2022-08-13 21:30 前端导师歌谣 阅读(17) 评论(0) 推荐(0) 编辑
摘要:// 引用expess框架 const express = require('express'); // 创建博客展示页面路由 const admin = express.Router(); // 渲染登录页面 admin.get('/login', require('./admin/loginPa 阅读全文
posted @ 2022-08-13 21:30 前端导师歌谣 阅读(12) 评论(0) 推荐(0) 编辑
摘要:ajax.js // 引用expess框架 const express = require('express'); // 处理路径 const path = require('path'); // 创建网站服务器 const app = express(); app.get('/first', (r 阅读全文
posted @ 2022-08-13 21:30 前端导师歌谣 阅读(23) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2022-08-13 21:30 前端导师歌谣 阅读(2) 评论(0) 推荐(0) 编辑
摘要:// 引用expess框架 const express = require('express'); // 处理路径 const path = require('path'); // 创建网站服务器 const app = express(); app.use(express.static(path. 阅读全文
posted @ 2022-08-13 21:30 前端导师歌谣 阅读(14) 评论(0) 推荐(0) 编辑
摘要:// 引用expess框架 const express = require('express'); // 创建博客展示页面路由 const admin = express.Router(); // 渲染登录页面 admin.get('/login', require('./admin/loginPa 阅读全文
posted @ 2022-08-13 21:30 前端导师歌谣 阅读(16) 评论(0) 推荐(0) 编辑
摘要:ajax.js // 引用expess框架 const express = require('express'); // 处理路径 const path = require('path'); // 创建网站服务器 const app = express(); app.get('/first', (r 阅读全文
posted @ 2022-08-13 21:30 前端导师歌谣 阅读(15) 评论(0) 推荐(0) 编辑
摘要:userService类 package com.geyao.demo.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotati 阅读全文
posted @ 2022-08-13 21:29 前端导师歌谣 阅读(177) 评论(0) 推荐(0) 编辑
摘要:userService类 package com.geyao.demo.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotati 阅读全文
posted @ 2022-08-13 21:29 前端导师歌谣 阅读(14) 评论(0) 推荐(0) 编辑
摘要:userService类 package com.geyao.demo.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotati 阅读全文
posted @ 2022-08-13 21:29 前端导师歌谣 阅读(26) 评论(0) 推荐(0) 编辑
摘要:点击show dependencies popup 修改pom.xml文件 <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www. 阅读全文
posted @ 2022-08-13 21:29 前端导师歌谣 阅读(49) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示