Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
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
郭成尧
2018-05-17 11:14:58 +0800
Commit
4e1868f004a97e5dac098ff2d3d62f4a6af1eaf7
1 parent
7fd42ce0
shop_id-test
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
apps/product/models/search.js
apps/product/models/search.js
View file @
4e1868f
...
...
@@ -300,6 +300,10 @@ module.exports = class extends global.yoho.BaseModel {
* 搜索店铺的商品
*/
getShopGoods
(
params
)
{
if
(
!
/^
[
0-9
]
*$/
.
test
(
params
.
shop_id
))
{
return
Promise
.
resolve
({});
}
let
finalParams
=
{
method
:
'app.search.shop'
,
};
...
...
Please
register
or
login
to post a comment