# carton_server **Repository Path**: 1337489969/carton_server ## Basic Information - **Project Name**: carton_server - **Description**: 纸箱网爬虫工具 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2025-08-30 - **Last Updated**: 2025-08-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # framework_server 纸箱网后台服务 # npm run command 1. npm run start 启动编译 2. npm run launch 启动爬虫 3. npm run server 启动服务 # 功能介绍 1. 集成 MVC 框架 2. 集成 MySql 交互模块 3. 集成 Gulp 自动流程 4. 集成 服务请求监听 5. 集成 Session 权限 6. 集成 爬虫工具 7. 集成 权限验证 # 服务接口 1. 爬虫文章列表 reptile/article_list/${pageSize}/${pageIndex} 2. 纸箱新闻列表 carton/news_list/${pageSize}/${pageIndex} 3. 纸箱新闻添加 carton/news_add/${jsonData} 4. 纸箱新闻检测 carton/news_has/${guid} 5. 后台系统登陆 carton/user_login/${username}/${userpassword} 6. 登陆状态鉴权 carton/user_auth # 需要改进 1. 更新 gulpfile.js 2. 更新 controller.ts model.ts view.ts 3. 新增 gulpfile 任务 自动处理 各类集中ts文件 4. 更新 templates 5. 创建文件自动更新内容类名 6. 更新 server 目录 7. 抽象中间层,无需关注中间件,比如操作 cookie 、 session 读写等 8. # 爬坑记录 1. ERROR:数据库链接超时