Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohoblk-wap
·
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
27984646704e3696580f28f9a1e43348f8f6f4f6
1 parent
514602af
rewrite url
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
apps/product/router.js
apps/product/router.js
View file @
2798464
...
...
@@ -46,6 +46,6 @@ router.get(/\/product\/product_([\d]+)\.json/, detail.product);
router
.
get
(
/
\/
product
\/
intro_
([\d]
+
)\.
json/
,
detail
.
intro
);
router
.
post
(
/
\p
roduct
\/
cart.json/
,
detail
.
addToCart
);
router
.
post
(
/
\p
roduct
\/
favorite.json/
,
detail
.
favorite
);
router
.
get
(
/
\p
roduct
\/
cart-count.json/
,
detail
.
getCartCount
);
router
.
get
(
/
\p
roduct
\/
search_product
\.
json/
,
detail
.
search
);
router
.
get
(
/
\/
product
\/
cart-count.json/
,
detail
.
getCartCount
);
router
.
get
(
/
\/
product
\/
search_product
\.
json/
,
detail
.
search
);
module
.
exports
=
router
;
...
...
Please
register
or
login
to post a comment