1 Star 2 Fork 0

lin/后台管理系统

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
文件
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
index.js 630 Bytes
Copy Edit Raw Blame History
小胖 authored 2024-07-16 23:03 . 完成了后台管理系统
//搭建express服务
const express = require('express')
const app = express()
//post 请求表单数据
app.use(express.urlencoded({ extended: true }))
//资源共享---只有打包的时候再去共享资源 研发共享
const cors = require('cors')
app.use(cors())
//静态文件托管 ---- 访问:http:localhost:8989/图片.jpg
app.use(express.static('upload'))
//路由--产品
const router = require('./router')
//订单
const order = require('./order')
//广告
const advert = require('./advert')
app.use('/',router)
app.use('/order',order)
app.use('/advert',advert)
app.listen(7788,()=>{
console.log(7788);
})
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/lindfjksdkf/backend-management-system.git
git@gitee.com:lindfjksdkf/backend-management-system.git
lindfjksdkf
backend-management-system
后台管理系统
master

Search