Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
付智勇
/
koa2_Sequelize_project
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
付智勇
8 years ago
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
e80bfa71228dc4fd431c47ff77ba50de3f59ebee
e80bfa71
1 parent
37842c02
no message
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
controller/recordInfoController.js
controller/recordInfoController.js
查看文件 @
e80bfa7
...
...
@@ -54,7 +54,7 @@ recordInfoController.prototype.stopRecording = async(ctx,next)=>{
const
body
=
ctx
.
request
.
body
;
body
.
id
=
uuid
.
db32
()
body
.
createTime
=
new
Date
().
getTime
();
let
old
=
await
recordStatus
.
findOne
({
where
:{
channel
:
channel
,
status
:
0
}})
let
old
=
await
recordStatus
.
findOne
({
where
:{
channel
:
channel
,
status
:
1
}})
if
(
old
){
throw
new
Error
(
'没有正在录制的课堂'
)
}
...
...
请
注册
或
登录
后发表评论