Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
htoooth
8 years ago
Commit
98333c7a417c9d91e4e974fbcc4121269d2e18bc
1 parent
d5e2e236
add status
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
config/common.js
public/js/product/detail.page.js
config/common.js
View file @
98333c7
...
...
@@ -17,11 +17,11 @@ module.exports = {
cookieDomain
:
'.yohobuy.com'
,
domains
:
{
favApi
:
'http://192.168.102.31:8092/brower'
,
//api: 'http://api-test3.yohops.com:9999/',
//service: 'http://service-test3.yohops.com:9999/',
api
:
'http://api.yoho.cn/'
,
service
:
'http://service.yoho.cn/'
,
api
:
'http://api-test3.yohops.com:9999/'
,
service
:
'http://service-test3.yohops.com:9999/'
,
//
// api: 'http://api.yoho.cn/',
// service: 'http://service.yoho.cn/',
// api: 'http://dev-api.yohops.com:9999/',
// service: 'http://dev-service.yohops.com:9999/',
...
...
public/js/product/detail.page.js
View file @
98333c7
...
...
@@ -633,9 +633,9 @@ bindEvent.add(function() {
function
acquireCoupon
(
$ele
)
{
var
couponId
=
$ele
.
data
(
'id'
);
var
status
=
$ele
.
data
(
'status'
);
var
i
=
$ele
.
data
(
'i'
);
var
$item
=
$
(
$couponItem
.
get
(
i
));
var
status
=
$item
.
data
(
'status'
);
switch
(
status
)
{
case
1
:
...
...
Please
register
or
login
to post a comment