Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
debug_shell
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
template admin
debug_shell
Commits
690dada1
Commit
690dada1
authored
Dec 06, 2021
by
liujiaxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
111
parent
375e6467
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
oxford_front.ts
play/assets/oxford_front/scene/oxford_front.ts
+5
-5
No files found.
play/assets/oxford_front/scene/oxford_front.ts
View file @
690dada1
...
...
@@ -249,7 +249,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
cc
.
audioEngine
.
playMusic
(
this
.
bgMusic1
,
true
);
// event.type !== 'BACK'
this
.
callNetworkApiGet
(
'
http://staging-teach.ireadabc.com
/api/syllabus/v1/list?orgid=507
'
,
(
resp
:
any
)
=>
{
this
.
callNetworkApiGet
(
this
.
BASE_URL
+
'
/api/syllabus/v1/list?orgid=507
'
,
(
resp
:
any
)
=>
{
resp
=
JSON
.
parse
(
resp
);
if
(
resp
.
msg
==
'
success
'
)
{
let
{
rows
}
=
resp
...
...
@@ -296,7 +296,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
// this.submarineView.scrollToPage(0, 0)
this
.
callNetworkApiGet
(
'
http://staging-teach.ireadabc.com
/api/syllabus/v1/list?orgid=507&pid=
'
+
globalThis
.
CURRENT_ID
,
(
resp
:
any
)
=>
{
this
.
callNetworkApiGet
(
this
.
BASE_URL
+
'
/api/syllabus/v1/list?orgid=507&pid=
'
+
globalThis
.
CURRENT_ID
,
(
resp
:
any
)
=>
{
resp
=
JSON
.
parse
(
resp
);
if
(
resp
.
msg
==
'
success
'
)
{
let
{
rows
}
=
resp
;
...
...
@@ -351,7 +351,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
// globalThis.CURRENT_ID = event.id;
// }
this
.
callNetworkApiGet
(
'
http://staging-teach.ireadabc.com
/api/syllabus/v1/list?orgid=507&pid=
'
+
globalThis
.
CURRENT_ID
,
(
resp
:
any
)
=>
{
this
.
callNetworkApiGet
(
this
.
BASE_URL
+
'
/api/syllabus/v1/list?orgid=507&pid=
'
+
globalThis
.
CURRENT_ID
,
(
resp
:
any
)
=>
{
resp
=
JSON
.
parse
(
resp
);
if
(
resp
.
msg
==
'
success
'
)
{
let
{
rows
}
=
resp
;
...
...
@@ -396,7 +396,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
invoke
:
{
src
:
(
ctx
,
event
)
=>
{
return
new
Promise
<
void
>
((
resolve
,
reject
)
=>
{
this
.
callNetworkApiGet
(
'
http://staging-teach.ireadabc.com
/api/syllabus/v1/list?orgid=507&pid=
'
+
globalThis
.
CURRENT_ID
,
(
resp
:
any
)
=>
{
this
.
callNetworkApiGet
(
this
.
BASE_URL
+
'
/api/syllabus/v1/list?orgid=507&pid=
'
+
globalThis
.
CURRENT_ID
,
(
resp
:
any
)
=>
{
resp
=
JSON
.
parse
(
resp
);
if
(
resp
.
msg
==
'
success
'
)
{
let
{
rows
}
=
resp
;
...
...
@@ -451,7 +451,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
invoke
:
{
src
:
(
ctx
,
event
)
=>
{
this
.
callNetworkApiGet
(
'
http://staging-teach.ireadabc.com
/api/syllabus/v1/list?orgid=507&pid=
'
+
globalThis
.
CURRENT_ID
,
(
resp
:
any
)
=>
{
this
.
callNetworkApiGet
(
this
.
BASE_URL
+
'
/api/syllabus/v1/list?orgid=507&pid=
'
+
globalThis
.
CURRENT_ID
,
(
resp
:
any
)
=>
{
resp
=
JSON
.
parse
(
resp
);
if
(
resp
.
msg
==
'
success
'
)
{
let
{
rows
}
=
resp
;
...
...
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