feat(WechatSmallProject): 新增 微信小程序 课程(包含实验1-4)
This commit is contained in:
17
WechatSmallProject/test2/server/使用说明.txt
Normal file
17
WechatSmallProject/test2/server/使用说明.txt
Normal file
@@ -0,0 +1,17 @@
|
||||
1. 准备工作
|
||||
安装Node.js
|
||||
启动命令行,切换工作目录到当前目录。
|
||||
|
||||
2. 执行如下命令,启动服务器
|
||||
node index.js
|
||||
|
||||
3. 将音频或视频文件放入htdocs目录
|
||||
|
||||
4. 获取文件链接
|
||||
|
||||
http://127.0.0.1:3000/文件名
|
||||
|
||||
如:
|
||||
http://127.0.0.1:3000/1.mp4
|
||||
http://127.0.0.1:3000/2.mp4
|
||||
|
||||
Reference in New Issue
Block a user