Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
W
wechatapp.shangjiadao.com
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangxuelai
wechatapp.shangjiadao.com
Commits
a7125f4d
Commit
a7125f4d
authored
Nov 25, 2019
by
sujie@126.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dd
parent
23cfc9e8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
12 deletions
+19
-12
websiteindex.js
service/customer/websiteindex.js
+1
-1
onlineclassroomindex.js
src/pages/websiteindex/onlineclassroomindex.js
+8
-5
onlineclassroomplay.js
src/pages/websiteindex/onlineclassroomplay.js
+10
-6
No files found.
service/customer/websiteindex.js
View file @
a7125f4d
...
...
@@ -138,7 +138,7 @@ function onlinecoursesverifypwd (data) {
url
:
apis
.
customer
.
websiteindex
.
onlinecoursesverifypwd
,
data
,
method
:
'POST'
,
errorresolve
:
1
,
errorresolve
:
2
,
})
}
...
...
src/pages/websiteindex/onlineclassroomindex.js
View file @
a7125f4d
...
...
@@ -140,7 +140,8 @@ Page({
source_id
:
this
.
data
.
onlineCourseId
,
param
:
JSON
.
stringify
({
query
:
`sid=
${
this
.
data
.
sid
}
&onlineCourseId=
${
this
.
data
.
onlineCourseId
}
&w=
${
app
.
globalData
.
currentSchoolStudentId
}
`
})
}),
type
:
1
});
return
{
title
:
`
${
this
.
data
.
coursesDetail
.
title
}
`
,
...
...
@@ -337,20 +338,22 @@ Page({
})
}
else
{
this
.
setData
({
showPassWordTip
:
true
showPassWordTip
:
true
,
passWord
:
''
})
wx
.
showToast
({
title
:
'
失败
'
,
title
:
'
密码错误
'
,
icon
:
'none'
,
duration
:
2000
})
}
}).
catch
((
res
)
=>
{
this
.
setData
({
showPassWordTip
:
true
showPassWordTip
:
true
,
passWord
:
''
})
wx
.
showToast
({
title
:
'
失败
'
,
title
:
'
密码错误
'
,
icon
:
'none'
,
duration
:
2000
})
...
...
src/pages/websiteindex/onlineclassroomplay.js
View file @
a7125f4d
...
...
@@ -197,7 +197,8 @@ Page({
source_id
:
this
.
data
.
onlineCourseId
,
param
:
JSON
.
stringify
({
query
:
`sid=
${
this
.
data
.
sid
}
&onlineCourseId=
${
this
.
data
.
onlineCourseId
}
&pid=
${
this
.
data
.
pid
}
&w=
${
app
.
globalData
.
currentSchoolStudentId
}
`
})
}),
type
:
1
});
return
{
title
:
`
${
this
.
data
.
coursesDetail
.
title
}
`
,
...
...
@@ -691,20 +692,22 @@ Page({
})
}
else
{
this
.
setData
({
showPassWordTip
:
true
showPassWordTip
:
true
,
passWord
:
''
})
wx
.
showToast
({
title
:
'
失败
'
,
title
:
'
密码错误
'
,
icon
:
'none'
,
duration
:
2000
})
}
}).
catch
((
res
)
=>
{
this
.
setData
({
showPassWordTip
:
true
showPassWordTip
:
true
,
passWord
:
''
})
wx
.
showToast
({
title
:
'
失败
'
,
title
:
'
密码错误
'
,
icon
:
'none'
,
duration
:
2000
})
...
...
@@ -799,7 +802,8 @@ Page({
source_id
:
onlineCourseId
,
param
:
JSON
.
stringify
({
query
:
`s=
${
sid
}
&o=
${
onlineCourseId
}
&p=
${
pid
}
&w=
${
app
.
globalData
.
currentSchoolStudentId
}
`
,
})
}),
type
:
2
});
this
.
setData
({
painting
:
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment