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
郭成尧
2016-07-26 16:22:08 +0800
Commit
b535b17b3e1f7df78267552ee362d0c9e45c8e06
1 parent
84802125
店铺收藏联调
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
apps/product/controllers/shop.js
apps/product/models/shop-api.js
apps/product/models/shop.js
apps/product/controllers/shop.js
View file @
b535b17
...
...
@@ -59,7 +59,7 @@ module.exports = {
shopId
:
req
.
body
.
shopId
,
favId
:
req
.
body
.
favId
,
uid
:
req
.
user
.
uid
,
// uid: '8050882',
type
:
'shop'
,
isFav
:
req
.
body
.
isFav
...
...
apps/product/models/shop-api.js
View file @
b535b17
...
...
@@ -108,7 +108,7 @@ module.exports = {
uid
:
params
.
uid
,
type
:
params
.
type
};
if
(
params
.
isFav
===
'true'
)
{
Object
.
assign
(
finalParams
,
{
method
:
'app.favorite.cancel'
...
...
apps/product/models/shop.js
View file @
b535b17
...
...
@@ -39,7 +39,7 @@ const getShopData = params => {
shopApi
.
getShopInfoData
({
shopId
:
result
[
0
].
data
.
shop_id
,
uid
:
params
.
uid
// uid: '8050882'
})
]).
then
(
subResult
=>
{
...
...
Please
register
or
login
to post a comment