├── .gitattributes ├── .gitignore ├── Kconfig ├── LICENSE ├── Makefile ├── README.md ├── data ├── maps │ ├── navi_info.h │ ├── shahe_bike.h │ ├── shahe_walking.h │ ├── shahe_walking_busy.h │ ├── xtc_bike.h │ ├── xtc_walking.h │ └── xtc_walking_busy.h ├── src │ ├── course │ │ ├── 10500040 │ │ │ └── intro.txt │ │ ├── 31301024 │ │ │ └── intro.txt │ │ ├── 31302022 │ │ │ ├── 2010001001 │ │ │ │ ├── 2020211313 │ │ │ │ │ ├── 202206171250 │ │ │ │ │ │ ├── 2020212900 │ │ │ │ │ │ │ ├── 123.docx │ │ │ │ │ │ │ ├── FILE.ned │ │ │ │ │ │ │ ├── FILE.nef │ │ │ │ │ │ │ └── report_1.docx │ │ │ │ │ │ └── 2020212910 │ │ │ │ │ │ │ └── report_1.docx │ │ │ │ │ ├── homework.ned │ │ │ │ │ └── homework.nef │ │ │ │ └── res │ │ │ │ │ ├── FILE.ned │ │ │ │ │ ├── FILE.nef │ │ │ │ │ └── Intro.docx │ │ │ ├── exam.ned │ │ │ ├── exam.nef │ │ │ └── intro.txt │ │ ├── 31302060 │ │ │ └── intro.txt │ │ ├── 31302070 │ │ │ └── intro.txt │ │ ├── 31302120 │ │ │ └── intro.txt │ │ ├── 31302321 │ │ │ └── intro.txt │ │ ├── 31302470 │ │ │ └── intro.txt │ │ ├── 31312040 │ │ │ ├── exam.ned │ │ │ ├── exam.nef │ │ │ └── intro.txt │ │ ├── 31313041 │ │ │ ├── exam.ned │ │ │ ├── exam.nef │ │ │ └── intro.txt │ │ ├── 31321030 │ │ │ ├── exam.ned │ │ │ ├── exam.nef │ │ │ └── intro.txt │ │ ├── 33200081 │ │ │ └── intro.txt │ │ ├── 34110012 │ │ │ └── intro.txt │ │ ├── 34110021 │ │ │ └── intro.txt │ │ ├── 34110073 │ │ │ └── intro.txt │ │ ├── 34110092 │ │ │ └── intro.txt │ │ ├── 34110102 │ │ │ └── intro.txt │ │ ├── 38120010 │ │ │ ├── exam.ned │ │ │ ├── exam.nef │ │ │ └── intro.txt │ │ ├── courses.ned │ │ └── courses.nef │ ├── css │ │ ├── app.d1ad8af5.css │ │ └── chunk-vendors.0753abc9.css │ ├── favicon.ico │ ├── file │ │ ├── game-programmer-zh-cn.pdf.gz │ │ └── 屏幕截图 2022-06-13 131213.jpg │ ├── fonts │ │ ├── materialdesignicons-webfont.2e22fd77.eot │ │ ├── materialdesignicons-webfont.42483c73.woff │ │ ├── materialdesignicons-webfont.935d8e7a.woff2 │ │ └── materialdesignicons-webfont.9fcb655c.ttf │ ├── img │ │ ├── bg.ed3fd931.png │ │ ├── bg2.20dd4c41.png │ │ ├── item1.18a46c8b.png │ │ └── xitucheng.fb7ec5b3.png │ ├── index.html │ ├── js │ │ ├── app-legacy.903fce15.js │ │ ├── app-legacy.903fce15.js.map │ │ ├── app.22b64076.js │ │ ├── app.22b64076.js.map │ │ ├── chunk-vendors-legacy.4cf9307f.js │ │ ├── chunk-vendors-legacy.4cf9307f.js.map │ │ ├── chunk-vendors.79e03aa1.js │ │ └── chunk-vendors.79e03aa1.js.map │ ├── major │ │ ├── 80901.txt │ │ ├── majors.ned │ │ └── majors.nef │ ├── map │ │ ├── landmark.ned │ │ └── landmark.nef │ └── school │ │ ├── 313 │ │ └── intro.txt │ │ ├── classes.ned │ │ ├── classes.nef │ │ ├── schools.ned │ │ └── schools.nef ├── sys │ ├── database_test.ned │ ├── database_test.nef │ └── token │ │ ├── token.ned │ │ └── token.nef └── user │ ├── 0 │ └── 2010001005 │ │ ├── timetable.ned │ │ └── timetable.nef │ ├── 212 │ └── 0 │ │ └── 2010001007 │ │ ├── timetable.ned │ │ └── timetable.nef │ ├── 313 │ ├── 0 │ │ ├── 2010001001 │ │ │ ├── timetable.ned │ │ │ └── timetable.nef │ │ ├── 2010001003 │ │ │ ├── timetable.ned │ │ │ └── timetable.nef │ │ └── 2010001006 │ │ │ ├── timetable.ned │ │ │ └── timetable.nef │ ├── 2020211313 │ │ ├── event.ned │ │ └── event.nef │ ├── timetable.ned │ └── timetable.nef │ ├── 332 │ └── 0 │ │ └── 2010001004 │ │ ├── timetable.ned │ │ └── timetable.nef │ ├── 341 │ └── 0 │ │ └── 2010001002 │ │ ├── timetable.ned │ │ └── timetable.nef │ ├── 381 │ └── 0 │ │ └── 2010001005 │ │ ├── timetable.ned │ │ └── timetable.nef │ ├── users.ned │ └── users.nef ├── include ├── common.h ├── connect │ ├── HttpProtocal │ │ ├── HttpAdapter.h │ │ ├── HttpBase.h │ │ ├── HttpException.h │ │ ├── HttpManager.h │ │ ├── HttpProtocal.h │ │ ├── HttpRequest.h │ │ └── HttpResponse.h │ ├── Network │ │ ├── ManagerBase.h │ │ ├── ServerBase.h │ │ ├── ServerConfig.h │ │ ├── TAPManager.h │ │ ├── ThreadPool.h │ │ └── URLParser.h │ └── Timer │ │ ├── TimeLine.h │ │ ├── Timer.h │ │ ├── TimerConfig.h │ │ └── TimerManager.h ├── interfaces.h ├── libs │ ├── BalanceTree.h │ ├── BasicUtils.hpp │ ├── HashMap.hpp │ ├── Heap.hpp │ ├── NEDB.h │ ├── SimpleJson.hpp │ └── md5.h ├── router.conf ├── service │ ├── ClockSys.h │ ├── Event.h │ ├── NaviSys.h │ ├── TAPSystem.h │ └── User.h └── test │ └── define.h ├── lib └── libnedb.a ├── scripts ├── build.mk ├── colors.mk ├── config.mk ├── database.md ├── doc.md ├── intro.md └── mid-term repo.pptx ├── src ├── controller │ ├── ClassController.cpp │ ├── CourseController.cpp │ ├── EventController.cpp │ └── UserController.cpp ├── main.cpp ├── server │ ├── HttpProtocal │ │ ├── HttpAdapter.cpp │ │ ├── HttpBase.cpp │ │ ├── HttpException.cpp │ │ ├── HttpManager.cpp │ │ ├── HttpMessage.cpp │ │ └── HttpUtils.cpp │ ├── MD5 │ │ └── Md5.cpp │ ├── Network │ │ ├── ServerBase.cpp │ │ ├── TAPCenter.cpp │ │ ├── ThreadPool.cpp │ │ └── URLParser.cpp │ ├── TAPSystem.cpp │ └── Timer │ │ ├── TimeLine.cpp │ │ ├── Timer.cpp │ │ └── TimerManager.cpp ├── service │ ├── ClassServcie.cpp │ ├── ClockService.cpp │ ├── CourseService.cpp │ ├── EventService.cpp │ ├── FileService.cpp │ ├── NaviService.cpp │ ├── SignService.cpp │ ├── SqlService.cpp │ └── UserService.cpp └── test │ └── test.cpp ├── utils ├── favicon.ico ├── kconfig │ └── build │ │ ├── conf │ │ ├── lexer.lex.c │ │ ├── mconf │ │ ├── obj-conf │ │ ├── build │ │ │ ├── lexer.lex.d │ │ │ ├── lexer.lex.o │ │ │ ├── parser.tab.d │ │ │ └── parser.tab.o │ │ ├── conf.d │ │ ├── conf.o │ │ ├── confdata.d │ │ ├── confdata.o │ │ ├── expr.d │ │ ├── expr.o │ │ ├── preprocess.d │ │ ├── preprocess.o │ │ ├── symbol.d │ │ ├── symbol.o │ │ ├── util.d │ │ └── util.o │ │ ├── obj-mconf │ │ ├── build │ │ │ ├── lexer.lex.d │ │ │ ├── lexer.lex.o │ │ │ ├── parser.tab.d │ │ │ └── parser.tab.o │ │ ├── confdata.d │ │ ├── confdata.o │ │ ├── expr.d │ │ ├── expr.o │ │ ├── lxdialog │ │ │ ├── checklist.d │ │ │ ├── checklist.o │ │ │ ├── inputbox.d │ │ │ ├── inputbox.o │ │ │ ├── menubox.d │ │ │ ├── menubox.o │ │ │ ├── textbox.d │ │ │ ├── textbox.o │ │ │ ├── util.d │ │ │ ├── util.o │ │ │ ├── yesno.d │ │ │ └── yesno.o │ │ ├── mconf.d │ │ ├── mconf.o │ │ ├── preprocess.d │ │ ├── preprocess.o │ │ ├── symbol.d │ │ ├── symbol.o │ │ ├── util.d │ │ └── util.o │ │ ├── parser.output │ │ ├── parser.tab.c │ │ └── parser.tab.h ├── md5test.html ├── out ├── pic0.png ├── pic1.png ├── shaheM.png ├── shaheWalking.png ├── shahe_walking.tmx ├── xitucheng.tmx └── xtcM.png └── web └── old ├── index.css ├── index.html ├── main.js ├── schedule └── index.html ├── signin.html ├── signup.html ├── sql ├── help.html └── terminal.html ├── src ├── bg1.png ├── bg3.png ├── item1.jpg ├── item3.jpg └── item4.jpg └── user ├── index.css └── index.html /.gitattributes: -------------------------------------------------------------------------------- 1 | *.h linguist-language=C++ 2 | *.c linguist-language=C++ 3 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .server 2 | .vscode 3 | .config 4 | .config.old 5 | include/config 6 | include/generated 7 | nohup.out 8 | log 9 | .vscode-ctags 10 | build 11 | status.txt 12 | status.bk 13 | ttt 14 | ttt.cpp 15 | main-service 16 | log 17 | crash 18 | 19 | -------------------------------------------------------------------------------- /Kconfig: -------------------------------------------------------------------------------- 1 | mainmenu "Server Configuration Menu" 2 | 3 | config THREADS_MAXIMUM 4 | int "Set threads maximum (0 for auto)" 5 | default 0 6 | 7 | menu "Configure Network Arguments" 8 | choice 9 | prompt "Internet Protocol Version" 10 | default IPV4 11 | config IPV4 12 | bool "IPv4" 13 | config IPV6 14 | bool "IPv6" 15 | endchoice 16 | 17 | menu "Configure time out for BLOCK recv" 18 | config RECV_SECOND 19 | int "Second(s)" 20 | default 0 21 | config RECV_MICROSECOND 22 | int "Microsecond(us)" 23 | default 500000 24 | endmenu 25 | 26 | menu "Configure time out for BLOCK send" 27 | config SEND_SECOND 28 | int "Second(s)" 29 | default 0 30 | config SEND_MICROSECOND 31 | int "Microsecond(us)" 32 | default 500000 33 | endmenu 34 | 35 | menu "Configure transmission buffer" 36 | config BUFF_INIT_SIZE 37 | int "Initial Capacity of buffer" 38 | default 4096 39 | config BUFF_MAX_SIZE 40 | int "Maximum Capacity of buffer(Max File Size)" 41 | default 134217728 42 | endmenu 43 | 44 | 45 | config ADDR_ANY 46 | bool "Enable to bind port to all NIC on server machine" 47 | default y 48 | 49 | config HOST_ADDR 50 | string "Configure host ip address" 51 | depends on !ADDR_ANY 52 | 53 | config ADDR_REUSE 54 | bool "Enable to reuse address or port immediately" 55 | default y 56 | 57 | config PORT 58 | int "Configure server port" 59 | default 9006 60 | 61 | 62 | config LINTEN_Q_MAX 63 | int "Configure Maximum of connections in socket listening queue" 64 | default 16 65 | 66 | config MAX_EVENTS 67 | int "Configure Maximum of events in events pool" 68 | default 128 69 | 70 | endmenu 71 | 72 | menu "Timer System Options" 73 | 74 | config INIT_RATIO 75 | int "Initial acceleration Ratio (1s realtime : (n)s virtualtime)" 76 | default 1 77 | 78 | config TIME_ZONE 79 | int "Time zone setting (UTC)" 80 | default 8 81 | 82 | config HEART_TIMEOUT 83 | int "The waiting interval for heart beat packet (seconds)" 84 | default 60 85 | 86 | endmenu 87 | 88 | 89 | menu "Build Options" 90 | choice 91 | prompt "Compiler" 92 | default CC_GPP 93 | config CC_GCC 94 | bool "gcc" 95 | config CC_GPP 96 | bool "g++" 97 | config CC_CLANG 98 | bool "clang++" 99 | endchoice 100 | 101 | config CC 102 | string 103 | default "gcc" if CC_GCC 104 | default "g++" if CC_GPP 105 | default "clang++" if CC_CLANG 106 | default "none" 107 | 108 | choice 109 | prompt "Optimization Level" 110 | default CC_O2 111 | config CC_O0 112 | bool "O0" 113 | config CC_O1 114 | bool "O1" 115 | config CC_O2 116 | bool "O2" 117 | config CC_O3 118 | bool "O3" 119 | endchoice 120 | 121 | config CC_OPT 122 | string 123 | default "-O0" if CC_O0 124 | default "-O1" if CC_O1 125 | default "-O2" if CC_O2 126 | default "-O3" if CC_O3 127 | default "none" 128 | 129 | config CC_DEBUG 130 | bool "Enable debug information" 131 | default n 132 | 133 | endmenu 134 | -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- 1 | NAME = main-service 2 | 3 | WORK_DIR = $(shell pwd) 4 | SRC_DIR = $(WORK_DIR)/src 5 | BUILD_DIR = $(WORK_DIR)/build 6 | INCLUDE_DIR = $(WORK_DIR)/include 7 | LIB_DIR = $(WORK_DIR)/lib 8 | DATABASE = -lnedb 9 | 10 | PACKAGE = $(BUILD_DIR)/$(NAME) 11 | 12 | # set stdc++ 17 and multi-threads 13 | CXXFLAGS += -Wall -std=c++17 -pthread 14 | LDFLAGS = -L$(LIB_DIR) 15 | MODULES = $(filter-out src,$(notdir $(shell find $(SRC_DIR) -type d ) ) ) 16 | INCLUDES = $(addprefix -I ,$(INCLUDE_DIR)) 17 | 18 | OBJ_DIR = $(BUILD_DIR)/$(NAME)-obj 19 | 20 | # modules optional loading 21 | ifeq ($(MODS),) 22 | SOURCES = $(shell find src -name "*.cpp") 23 | else 24 | SOURCES = $(shell find $(addprefix src/,$(MODS)) -name "*.cpp") 25 | endif 26 | 27 | # include shell colors definitions 28 | -include scripts/colors.mk 29 | 30 | # include variables and rules generated by Kconfig automatically 31 | -include include/config/auto.conf 32 | -include include/config/auto.conf.cmd 33 | 34 | ifeq ($(wildcard .config),) 35 | $(warning $(COLOR_RED)Warning: .config does not exists!$(COLOR_END)) 36 | $(warning $(COLOR_RED)To build the project, first run 'make menuconfig'$(COLOR_END)) 37 | endif 38 | 39 | remove_quote = $(patsubst "%",%,$(1)) 40 | 41 | # re-configure default compilr 42 | ifneq ($(CONFIG_CC),) 43 | CXX = $(call remove_quote,$(CONFIG_CC)) 44 | endif 45 | 46 | # compilr optimization level (default -o2) 47 | ifneq ($(CONFIG_CC_OPT),) 48 | CXXFLAGS += $(call remove_quote,$(CONFIG_CC_OPT)) 49 | endif 50 | 51 | # debug mode , and C define "DEBUG" added 52 | ifeq ($(CONFIG_CC_DEBUG),y) 53 | CXXFLAGS += -DDEBUG -g 54 | endif 55 | 56 | # build project by origin Makefile 57 | include scripts/build.mk 58 | 59 | # import menuconfig makefile 60 | include scripts/config.mk 61 | 62 | .PHONY : clean .detect 63 | 64 | # detect 65 | .detect : 66 | ifeq ($(CONFIG_CC_DEBUG),y) 67 | @echo "$(C_YELLOW)Debug mode start up$(C_END)" 68 | endif 69 | @echo "$(C_BLUE)Module <$(MODULES)> has been detected...$(C_END)" 70 | 71 | # word count 72 | wc : 73 | @find . "(" -name "*.hpp" -or -name "*.cpp" -or -name "*.h" ")" -print | xargs wc -l 74 | 75 | # remove build dictionary 76 | clean : 77 | -rm -rf $(BUILD_DIR) 78 | 79 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |  2 | # **TinyAndPretty 高校信息助理平台** 3 |  4 |  5 |  6 | 7 | 🎉感谢您的驻足。如果本项目对您有帮助,请点一个✨Star表示支持~ 8 | 本项目为北京邮电大学计算机学院2022学年**数据结构课程设计**第六小组的拙作。项目涵盖了**B+Tree数据库原理与实现** 、 **Linux服务器开发实战** 、 **Vue前端设计部署** 、 **数据结构与算法**等诸多方面的全栈开发。从零开始共耗时三个月,历经近200次`commits`。模块**核心**部分精心匠造,注释文档~~全面~~、代码规范~~可靠~~;**业务**部分敏捷开发,基本囊括常见互联网业务。 9 | 10 | > 项目在线演示请戳这里👉[ Tiny & Pretty ](http://noui.cloud) 👈 (服务器已关闭) 11 | > 12 | > 项目部分接口请戳这里👉[ APIFox ](https://www.apifox.cn/apidoc/shared-255bbbcd-f00c-49a0-8c43-55d8677cf172) 👈 13 | > 14 | > 项目在线文档请戳这里👉[ Design ](https://docs.qq.com/doc/DR2p3RVZMVm93TE9J) 👈 15 | > 16 | > 网站操作指南请戳这里👉[ Instruction ](https://docs.qq.com/doc/DR0tqR0lTSWtUTWlu) 👈 17 | > 18 | > 前端界面预览请戳这里👉[ TAP Frontend ](https://github.com/BUPT-CS-Assignment/TAP-frontend) 👈 19 | 20 | 21 | 22 | 主体负责人和部分细分模块如下 23 | |Member|Jobs| 24 | |:---:|:---:| 25 | |[@Jianxff](https://github.com/Jianxff) |[NEDB](https://github.com/Jianxff/NEDB) / [Vue Page](https://github.com/Jianxff/TAP-frontend) / User Token | 26 | |[@LingZichao](https://github.com/LingZichao)| [HTTP Server](https://github.com/LingZichao/Tasty) / [JSON](https://github.com/LingZichao/SimpleJson) / Makefile | 27 | |[@Kqramazov](https://github.com/Kqramazov)| MD5 / A* / Landscaping | 28 | 29 | 您的每一次`issue`我们都将认真考虑,因此对于仍然存在的`BUG`或者`Advice`,欢迎您及时与我们沟通联系。 30 | 31 | 最后感谢各位组员的辛勤劳动,特别鸣谢王老师在课程中的细心答疑。 32 | 33 | ## 一.目录文件说明 ## 34 | ``` 35 | . 36 | ├── include //存放头文件(接口声明) 37 | │ ├── common.h //程序共用头 38 | │ ├── interfaces.h //模块接口,包含所有模块对外使用的函数定义 39 | │ ├── connect //网络通信模块 40 | │ │ ├── HttpProtocal //Http请求相应 41 | │ │ │── Network //服务器模块 42 | │ │ └── Timer //定时器有关的长连接支持 43 | │ │ 44 | │ ├── libs 45 | │ │ ├── BalanceTree.h //B+树模板 46 | │ │ ├── BasicUtils.h //基本小工具 47 | │ │ ├── Heap.hpp //小根堆实现 48 | │ │ ├── HashMap.hpp //蛤希表的实现 49 | │ │ ├── md5.h //MD5加密 50 | │ │ ├── NEdb.h //数据库接口头文件 51 | │ │ └── SimpleJson.hpp //JSON生成 52 | │ │ 53 | │ ├── service //后端业务服务模块 54 | │ │ 55 | │ ├── router.conf //URL路由配置文件 56 | │ └── test //测试模块 57 | │ 58 | ├── lib 59 | │ └── libnedb.a //数据库静态库文件 60 | │ 61 | ├── Kconfig //参数配置 62 | ├── LICENSE 63 | ├── Makefile 64 | ├── README.md 65 | │ 66 | ├── scripts //存放脚本及文档 67 | │ 68 | ├── src //项目源代码 69 | │ ├── main.cpp //主服务入口 70 | │ ├── server 71 | │ │ ├── HttpProtocal //Http相关解析的实现 72 | │ │ ├── MD5 //MD5算法的实现 73 | │ │ ├── Timer //服务器长连接有关的实现 74 | │ │ └── Network //服务器底层组件的实现 75 | │ │ 76 | │ ├── service //后台业务逻辑的实现 77 | │ ├── controller //用户权限控制 78 | │ │ 79 | │ └── test //测试接口 80 | │ 81 | ├── web //旧版本的网页文件 82 | ├── data //数据表文件 83 | │ ├── src 84 | │ │ ├── major 85 | │ │ └── school 86 | │ ├── sys 87 | │ │ ├── test 88 | │ │ └── token 89 | │ └── user 90 | │ 91 | │ 92 | └── utils //存放杂项 93 | ``` 94 | 95 | ## 二.自动化指令说明 ## 96 | 在项目文件夹根目录下使用如下指令,可快速使用相应功能。 97 | * i . 编译并运行。🚥请在`Linux`环境下配置服务器! 98 | ``` 99 | $ make run 100 | ``` 101 | 102 | * ii . 清除`build`编译文件夹。`disrclean`可清除`menuconfig`生成的配置文件。 103 | ``` 104 | $ make (dist)?clean 105 | ``` 106 | * iii . 启动菜单配置,调整程序运行参数 107 | ``` 108 | $ make menuconfig 109 | ``` 110 | -------------------------------------------------------------------------------- /data/maps/navi_info.h: -------------------------------------------------------------------------------- 1 | #ifndef __P_LIST__ 2 | #define __P_LIST__ 3 | 4 | namespace Building { 5 | 6 | enum BuildType { 7 | BUILD , 8 | AREA , 9 | }; 10 | 11 | struct Build { 12 | int id ; 13 | char name[32]; 14 | BuildType bt; 15 | int posx , posy; 16 | }; 17 | 18 | 19 | static const Build BuildingList[] = 20 | { 21 | {10001, "西大门" ,BUILD ,0,25}, 22 | {10002, "西门外卖点" ,AREA ,0,24}, 23 | {10003, "沙河快递站" ,BUILD ,4,21}, 24 | {10004, "基建处" ,BUILD ,0,20}, 25 | {10005, "田径场" ,BUILD ,21,6}, 26 | {10006, "篮球场" ,BUILD ,21,18}, 27 | {10007, "体育场AED" ,AREA ,19,13}, 28 | {10008, "学生公寓E区" ,BUILD ,26,6}, 29 | {10009, "学生公寓D2区" ,BUILD ,34,5}, 30 | {10010, "E区休憩区" ,AREA ,32,9}, 31 | {10011, "学生公寓C区" ,BUILD ,30,15}, 32 | {10012, "学生公寓B区" ,BUILD ,27,18}, 33 | {10013, "学生公寓A区" ,BUILD ,33,21}, 34 | {10014, "学生公寓D1区" ,BUILD ,36,18}, 35 | {10015, "生活服务区" ,BUILD ,33,21}, 36 | {10016, "沙河展览台" ,AREA ,27,28}, 37 | {10017, "信息楼S1" ,BUILD ,24,32}, 38 | {10018, "学生公寓S2" ,BUILD ,38,34}, 39 | {10019, "学生公寓S3" ,BUILD ,37,40}, 40 | {10020, "学生公寓S4" ,BUILD ,37,47}, 41 | {10021, "学生公寓S5" ,BUILD ,37,53}, 42 | {10022, "学生公寓S6" ,BUILD ,37,61}, 43 | {10023, "教工食堂" ,BUILD, 44 ,6}, 44 | {10024, "学生食堂" ,BUILD, 44, 17}, 45 | {10025, "校园西餐厅" ,BUILD, 50, 20}, 46 | {10026, "二维码广场" ,BUILD, 51, 13}, 47 | {10027, "公共教学楼" ,BUILD, 50, 36}, 48 | {10028, "沙河小公园" ,BUILD, 50, 49}, 49 | {10029, "南区食堂" ,BUILD, 48, 55}, 50 | {10030, "沙河南大门" ,BUILD, 63, 63}, 51 | {10031, "沙河南门外卖点",AREA, 62, 63}, 52 | {10032, "沙河医务室" ,BUILD, 56, 1}, 53 | {10033, "沙河办公楼" ,BUILD, 56, 6}, 54 | {10034, "沙河学生活动中心",BUILD,56 ,17}, 55 | {10035, "沙河小卖部" ,BUILD ,53,17}, 56 | {10036, "沙河邮局" ,BUILD ,56 ,24}, 57 | {10037, "ATM" ,AREA, 56, 24}, 58 | {10038, "东配楼" ,BUILD ,82,12}, 59 | {10039, "沙河咖啡厅" ,BUILD ,77,19}, 60 | {10040, "沙河图书馆" ,BUILD ,71,16}, 61 | {10041, "教学楼N楼" ,BUILD ,71,31}, 62 | {10042, "教学楼S楼" ,BUILD ,71,41}, 63 | {10043, "沙河报告厅" ,BUILD ,69,36}, 64 | {10044, "实验楼S1" ,BUILD ,101,31}, 65 | {10045, "实验楼S2" ,BUILD ,101,41}, 66 | {10046, "实验楼S3" ,BUILD ,101,50}, 67 | {10047, "理学院楼" ,BUILD ,91,56}, 68 | {10048, "售货机E" ,AREA ,28,6}, 69 | {10049, "售货机D2" ,AREA ,35,18}, 70 | {10050, "咖啡机S" ,AREA ,72,41}, 71 | 72 | {20001, "西土城西门" ,BUILD ,1,58}, 73 | {20002, "西土城主楼" ,BUILD ,42,59}, 74 | {20003, "西土城教一楼" ,BUILD ,39,46}, 75 | {20004, "西土城教二楼" ,BUILD ,39,76}, 76 | {20005, "西土城教三楼" ,BUILD ,16,76}, 77 | {20006, "西土城教四楼" ,BUILD ,16,44}, 78 | {20007, "科学会堂" ,BUILD ,55,59}, 79 | {20008, "创新楼" ,BUILD ,54,81}, 80 | {20009, "西土城图书馆" ,BUILD ,41,32}, 81 | {20010, "西土城篮球场" ,BUILD ,51,34}, 82 | }; 83 | constexpr unsigned long arrlen = sizeof(BuildingList) / sizeof(Build); 84 | 85 | struct BusInfo { 86 | int start_hour , start_mins; 87 | int num[7]; 88 | } ; 89 | 90 | static const BusInfo XTCBusList[] = { 91 | /* hour:mins | Sun | Mon | Tue | Wes | Thu | Fri | Sat | */ 92 | { 6 , 50 , 0 , 2 , 2 , 2 , 2 , 2 , 0 } , 93 | { 8 , 30 , 0 , 2 , 2 , 2 , 2 , 2 , 0 } , 94 | { 12 , 00 , 0 , 2 , 2 , 1 , 2 , 1 , 0 } , 95 | { 13 , 30 , 0 , 1 , 1 , 1 , 1 , 1 , 0 } , 96 | { 14 , 20 , 0 , 1 , 1 , 0 , 1 , 1 , 0 } , 97 | { 16 , 60 , 0 , 1 , 1 , 1 , 1 , 0 , 0 } 98 | 99 | }; 100 | 101 | constexpr unsigned long XTCarrlen = sizeof(XTCBusList) / sizeof(BusInfo); 102 | 103 | static const BusInfo SHBusList[] = { 104 | /* hour:mins | Sun | Mon | Tue | Wes | Thu | Fri | Sat | */ 105 | { 9 , 50 , 0 , 2 , 2 , 1 , 2 , 2 , 0 } , 106 | { 11 , 40 , 0 , 2 , 2 , 2 , 2 , 1 , 0 } , 107 | { 13 , 00 , 0 , 1 , 1 , 2 , 1 , 1 , 0 } , 108 | { 15 , 45 , 0 , 1 , 1 , 0 , 1 , 1 , 0 } , 109 | { 17 , 10 , 0 , 1 , 1 , 1 , 1 , 1 , 0 } , 110 | { 18 , 25 , 0 , 1 , 1 , 1 , 1 , 1 , 0 } , 111 | { 21 , 10 , 0 , 1 , 1 , 0 , 1 , 0 , 0 } 112 | 113 | }; 114 | 115 | constexpr unsigned long SHarrlen = sizeof(SHBusList) / sizeof(BusInfo); 116 | 117 | }; 118 | 119 | #endif -------------------------------------------------------------------------------- /data/src/course/10500040/intro.txt: -------------------------------------------------------------------------------- 1 | 形势与政策共5学期;每学期0.4学分,6学时。 -------------------------------------------------------------------------------- /data/src/course/31301024/intro.txt: -------------------------------------------------------------------------------- 1 | 电路学基础课程 -------------------------------------------------------------------------------- /data/src/course/31302022/2010001001/2020211313/202206171250/2020212900/123.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BUPT-CS-Assignment/TinyAndPretty/70083a4bd5e821b820465895a6a89ec79f7c1285/data/src/course/31302022/2010001001/2020211313/202206171250/2020212900/123.docx -------------------------------------------------------------------------------- /data/src/course/31302022/2010001001/2020211313/202206171250/2020212900/FILE.ned: -------------------------------------------------------------------------------- 1 | 123.docx ce79b6b05786489edb66c0273497893a -------------------------------------------------------------------------------- /data/src/course/31302022/2010001001/2020211313/202206171250/2020212900/FILE.nef: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BUPT-CS-Assignment/TinyAndPretty/70083a4bd5e821b820465895a6a89ec79f7c1285/data/src/course/31302022/2010001001/2020211313/202206171250/2020212900/FILE.nef -------------------------------------------------------------------------------- /data/src/course/31302022/2010001001/2020211313/202206171250/2020212900/report_1.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BUPT-CS-Assignment/TinyAndPretty/70083a4bd5e821b820465895a6a89ec79f7c1285/data/src/course/31302022/2010001001/2020211313/202206171250/2020212900/report_1.docx -------------------------------------------------------------------------------- /data/src/course/31302022/2010001001/2020211313/202206171250/2020212910/report_1.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BUPT-CS-Assignment/TinyAndPretty/70083a4bd5e821b820465895a6a89ec79f7c1285/data/src/course/31302022/2010001001/2020211313/202206171250/2020212910/report_1.docx -------------------------------------------------------------------------------- /data/src/course/31302022/2010001001/2020211313/homework.ned: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BUPT-CS-Assignment/TinyAndPretty/70083a4bd5e821b820465895a6a89ec79f7c1285/data/src/course/31302022/2010001001/2020211313/homework.ned -------------------------------------------------------------------------------- /data/src/course/31302022/2010001001/2020211313/homework.nef: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BUPT-CS-Assignment/TinyAndPretty/70083a4bd5e821b820465895a6a89ec79f7c1285/data/src/course/31302022/2010001001/2020211313/homework.nef -------------------------------------------------------------------------------- /data/src/course/31302022/2010001001/res/FILE.ned: -------------------------------------------------------------------------------- 1 | Intro.docx ce79b6b05786489edb66c0273497893a -------------------------------------------------------------------------------- /data/src/course/31302022/2010001001/res/FILE.nef: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BUPT-CS-Assignment/TinyAndPretty/70083a4bd5e821b820465895a6a89ec79f7c1285/data/src/course/31302022/2010001001/res/FILE.nef -------------------------------------------------------------------------------- /data/src/course/31302022/2010001001/res/Intro.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BUPT-CS-Assignment/TinyAndPretty/70083a4bd5e821b820465895a6a89ec79f7c1285/data/src/course/31302022/2010001001/res/Intro.docx -------------------------------------------------------------------------------- /data/src/course/31302022/exam.ned: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BUPT-CS-Assignment/TinyAndPretty/70083a4bd5e821b820465895a6a89ec79f7c1285/data/src/course/31302022/exam.ned -------------------------------------------------------------------------------- /data/src/course/31302022/exam.nef: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BUPT-CS-Assignment/TinyAndPretty/70083a4bd5e821b820465895a6a89ec79f7c1285/data/src/course/31302022/exam.nef -------------------------------------------------------------------------------- /data/src/course/31302022/intro.txt: -------------------------------------------------------------------------------- 1 | 数据结构课程设计,1.5学分。至高无上的课程!!!!! -------------------------------------------------------------------------------- /data/src/course/31302060/intro.txt: -------------------------------------------------------------------------------- 1 | 计算机组成原理实践设计课程 -------------------------------------------------------------------------------- /data/src/course/31302070/intro.txt: -------------------------------------------------------------------------------- 1 | 数字逻辑与数字系统实践设计课程 -------------------------------------------------------------------------------- /data/src/course/31302120/intro.txt: -------------------------------------------------------------------------------- 1 | 计算机网络课程设计基础课程 -------------------------------------------------------------------------------- /data/src/course/31302321/intro.txt: -------------------------------------------------------------------------------- 1 | 面向对象程序设计实践(Java)基础课程 -------------------------------------------------------------------------------- /data/src/course/31302470/intro.txt: -------------------------------------------------------------------------------- 1 | 面向对象程序设计实践(C++)基础课程 -------------------------------------------------------------------------------- /data/src/course/31312040/exam.ned: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BUPT-CS-Assignment/TinyAndPretty/70083a4bd5e821b820465895a6a89ec79f7c1285/data/src/course/31312040/exam.ned -------------------------------------------------------------------------------- /data/src/course/31312040/exam.nef: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BUPT-CS-Assignment/TinyAndPretty/70083a4bd5e821b820465895a6a89ec79f7c1285/data/src/course/31312040/exam.nef -------------------------------------------------------------------------------- /data/src/course/31312040/intro.txt: -------------------------------------------------------------------------------- 1 | 形式语言与自动机基础课程 -------------------------------------------------------------------------------- /data/src/course/31313041/exam.ned: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BUPT-CS-Assignment/TinyAndPretty/70083a4bd5e821b820465895a6a89ec79f7c1285/data/src/course/31313041/exam.ned -------------------------------------------------------------------------------- /data/src/course/31313041/exam.nef: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BUPT-CS-Assignment/TinyAndPretty/70083a4bd5e821b820465895a6a89ec79f7c1285/data/src/course/31313041/exam.nef -------------------------------------------------------------------------------- /data/src/course/31313041/intro.txt: -------------------------------------------------------------------------------- 1 | 计算机组成原理基础课程 -------------------------------------------------------------------------------- /data/src/course/31321030/exam.ned: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BUPT-CS-Assignment/TinyAndPretty/70083a4bd5e821b820465895a6a89ec79f7c1285/data/src/course/31321030/exam.ned -------------------------------------------------------------------------------- /data/src/course/31321030/exam.nef: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BUPT-CS-Assignment/TinyAndPretty/70083a4bd5e821b820465895a6a89ec79f7c1285/data/src/course/31321030/exam.nef -------------------------------------------------------------------------------- /data/src/course/31321030/intro.txt: -------------------------------------------------------------------------------- 1 | 计算机网络基础课程 -------------------------------------------------------------------------------- /data/src/course/33200081/intro.txt: -------------------------------------------------------------------------------- 1 | 毛泽东思想和中国特色社会主义理论体系概论基础课程 -------------------------------------------------------------------------------- /data/src/course/34110012/intro.txt: -------------------------------------------------------------------------------- 1 | 高等数学A(上) -------------------------------------------------------------------------------- /data/src/course/34110021/intro.txt: -------------------------------------------------------------------------------- 1 | 高等数学A(下) -------------------------------------------------------------------------------- /data/src/course/34110073/intro.txt: -------------------------------------------------------------------------------- 1 | 线性代数基础课程 -------------------------------------------------------------------------------- /data/src/course/34110092/intro.txt: -------------------------------------------------------------------------------- 1 | 概率论与随机过程 -------------------------------------------------------------------------------- /data/src/course/34110102/intro.txt: -------------------------------------------------------------------------------- 1 | 概率论与数理统计 -------------------------------------------------------------------------------- /data/src/course/38120010/exam.ned: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BUPT-CS-Assignment/TinyAndPretty/70083a4bd5e821b820465895a6a89ec79f7c1285/data/src/course/38120010/exam.ned -------------------------------------------------------------------------------- /data/src/course/38120010/exam.nef: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BUPT-CS-Assignment/TinyAndPretty/70083a4bd5e821b820465895a6a89ec79f7c1285/data/src/course/38120010/exam.nef -------------------------------------------------------------------------------- /data/src/course/38120010/intro.txt: -------------------------------------------------------------------------------- 1 | 体育基础基础课程(下) -------------------------------------------------------------------------------- /data/src/course/courses.ned: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BUPT-CS-Assignment/TinyAndPretty/70083a4bd5e821b820465895a6a89ec79f7c1285/data/src/course/courses.ned -------------------------------------------------------------------------------- /data/src/course/courses.nef: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BUPT-CS-Assignment/TinyAndPretty/70083a4bd5e821b820465895a6a89ec79f7c1285/data/src/course/courses.nef -------------------------------------------------------------------------------- /data/src/css/app.d1ad8af5.css: -------------------------------------------------------------------------------- 1 | #auth{background-image:url(/img/bg2.20dd4c41.png);background-size:cover;background-position:50%}.bg{background-color:rgba(0,0,0,.1)}.custom-loader{-webkit-animation:loader 1s infinite;animation:loader 1s infinite;display:flex}@-webkit-keyframes loader{0%{transform:rotate(0)}to{transform:rotate(1turn)}}@keyframes loader{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.my-event[data-v-4db3afe9]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:2px;background-color:#1867c0;color:#fff;border:1px solid #1867c0;font-size:12px;padding:3px;cursor:pointer;margin-bottom:1px;left:4px;margin-right:8px;position:relative}.my-event.with-time[data-v-4db3afe9]{position:absolute;right:4px;margin-right:0}.map[data-v-66f424b9]{width:1050px;height:650px;background-image:url(/img/bg.ed3fd931.png);background-size:1050px 650px;background-repeat:no-repeat}.map2[data-v-66f424b9]{width:750px;height:1100px;background-image:url(/img/xitucheng.fb7ec5b3.png);background-size:750px 1100px;background-repeat:no-repeat}.block[data-v-66f424b9]{width:20px;height:20px;background:none}.map{width:1050px;height:650px;background-image:url(/img/bg.ed3fd931.png);background-size:1050px 650px}.map,.map2{background-repeat:no-repeat}.map2{width:750px;height:1100px;background-image:url(/img/xitucheng.fb7ec5b3.png);background-size:750px 1100px} -------------------------------------------------------------------------------- /data/src/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BUPT-CS-Assignment/TinyAndPretty/70083a4bd5e821b820465895a6a89ec79f7c1285/data/src/favicon.ico -------------------------------------------------------------------------------- /data/src/file/game-programmer-zh-cn.pdf.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BUPT-CS-Assignment/TinyAndPretty/70083a4bd5e821b820465895a6a89ec79f7c1285/data/src/file/game-programmer-zh-cn.pdf.gz -------------------------------------------------------------------------------- /data/src/file/屏幕截图 2022-06-13 131213.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BUPT-CS-Assignment/TinyAndPretty/70083a4bd5e821b820465895a6a89ec79f7c1285/data/src/file/屏幕截图 2022-06-13 131213.jpg -------------------------------------------------------------------------------- /data/src/fonts/materialdesignicons-webfont.2e22fd77.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BUPT-CS-Assignment/TinyAndPretty/70083a4bd5e821b820465895a6a89ec79f7c1285/data/src/fonts/materialdesignicons-webfont.2e22fd77.eot -------------------------------------------------------------------------------- /data/src/fonts/materialdesignicons-webfont.42483c73.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BUPT-CS-Assignment/TinyAndPretty/70083a4bd5e821b820465895a6a89ec79f7c1285/data/src/fonts/materialdesignicons-webfont.42483c73.woff -------------------------------------------------------------------------------- /data/src/fonts/materialdesignicons-webfont.935d8e7a.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BUPT-CS-Assignment/TinyAndPretty/70083a4bd5e821b820465895a6a89ec79f7c1285/data/src/fonts/materialdesignicons-webfont.935d8e7a.woff2 -------------------------------------------------------------------------------- /data/src/fonts/materialdesignicons-webfont.9fcb655c.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BUPT-CS-Assignment/TinyAndPretty/70083a4bd5e821b820465895a6a89ec79f7c1285/data/src/fonts/materialdesignicons-webfont.9fcb655c.ttf -------------------------------------------------------------------------------- /data/src/img/bg.ed3fd931.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BUPT-CS-Assignment/TinyAndPretty/70083a4bd5e821b820465895a6a89ec79f7c1285/data/src/img/bg.ed3fd931.png -------------------------------------------------------------------------------- /data/src/img/bg2.20dd4c41.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BUPT-CS-Assignment/TinyAndPretty/70083a4bd5e821b820465895a6a89ec79f7c1285/data/src/img/bg2.20dd4c41.png -------------------------------------------------------------------------------- /data/src/img/item1.18a46c8b.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BUPT-CS-Assignment/TinyAndPretty/70083a4bd5e821b820465895a6a89ec79f7c1285/data/src/img/item1.18a46c8b.png -------------------------------------------------------------------------------- /data/src/img/xitucheng.fb7ec5b3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BUPT-CS-Assignment/TinyAndPretty/70083a4bd5e821b820465895a6a89ec79f7c1285/data/src/img/xitucheng.fb7ec5b3.png -------------------------------------------------------------------------------- /data/src/index.html: -------------------------------------------------------------------------------- 1 |