Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHO-ACTIVITY-PHP
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
毕凯
9 years ago
Commit
64f4559eb5a35b5e6886211be605935868459d48
1 parent
b826af5e
增加容错处理
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
static/js/cart/gift-advance.js
static/js/cart/gift-advance.js
View file @
64f4559
...
...
@@ -36,8 +36,12 @@ function getProductInfo(skn, promotionId) {
return
;
}
console
.
log
(
res
);
$chosePanel
.
html
(
panelTmpl
(
res
));
chosePanel
.
show
();
if
(
res
.
code
===
200
)
{
$chosePanel
.
html
(
panelTmpl
(
res
.
data
));
chosePanel
.
show
();
}
else
{
tip
.
show
(
res
.
message
||
'网络错误'
);
}
}).
fail
(
function
()
{
tip
.
show
(
'网络错误'
);
});
...
...
Please
register
or
login
to post a comment