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
Plain Diff
Browse Files
Authored by
htoooth
2017-03-27 14:40:49 +0800
Commit
155b71d8f6f60dffe3d0c78da013c01dddaed465
2 parents
0641ce0e
4f53c6c4
Merge remote-tracking branch 'origin/gray' into gray
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
package.json
public/js/common/helpers/image2.js
utils/helpers.js
package.json
View file @
155b71d
{
"name"
:
"yohobuy-node"
,
"version"
:
"5.5.
7
"
,
"version"
:
"5.5.
8
"
,
"private"
:
true
,
"description"
:
"A New Yohobuy Project With Express"
,
"repository"
:
{
...
...
public/js/common/helpers/image2.js
View file @
155b71d
...
...
@@ -61,7 +61,7 @@ module.exports = function(imageUrl, opts) {
}
else
{
query
=
'imageView2/2/interlace/1/q/'
+
(
params
.
q
||
75
);
}
return
uri
+
'?'
+
query
+
'&imageslim'
;
return
uri
+
'?'
+
query
;
}
else
{
return
imageUrl
;
}
...
...
utils/helpers.js
View file @
155b71d
...
...
@@ -66,7 +66,7 @@ module.exports = {
}
else
{
query
=
'imageView2/2/interlace/1/q/'
+
(
params
.
q
||
75
);
}
return
uri
+
'?'
+
query
+
'&imageslim'
;
return
uri
+
'?'
+
query
;
}
else
{
return
''
;
}
...
...
Please
register
or
login
to post a comment