mirror of
https://github.com/luzhisheng/js_reverse.git
synced 2025-04-19 02:39:42 +08:00
1初识-送分题
This commit is contained in:
parent
0fc2b85901
commit
e4f08adf49
3827
猿人学Web端爬虫攻防刷题平台二/1初识-送分题/1.js
Normal file
3827
猿人学Web端爬虫攻防刷题平台二/1初识-送分题/1.js
Normal file
File diff suppressed because it is too large
Load Diff
18
猿人学Web端爬虫攻防刷题平台二/1初识-送分题/server.js
Normal file
18
猿人学Web端爬虫攻防刷题平台二/1初识-送分题/server.js
Normal file
@ -0,0 +1,18 @@
|
||||
const express = require('express');
|
||||
const app = express();
|
||||
const code = require("./1");
|
||||
var bodyParser = require('body-parser');
|
||||
app.use(bodyParser());
|
||||
|
||||
|
||||
app.post('/match2023_21', function (req, res) {
|
||||
let result = '';
|
||||
let page = req.body.page;
|
||||
result = code.sign(page);
|
||||
res.send(result.toString());
|
||||
});
|
||||
|
||||
|
||||
app.listen(3005, () => {
|
||||
console.log("开启服务,端口 3005")
|
||||
});
|
Loading…
x
Reference in New Issue
Block a user