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
周少峰
2017-03-27 11:56:13 +0800
Commit
9f8540a28160b028520d52a3c71035d7f8272f52
1 parent
5f7e242f
delete imagelim
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 @
9f8540a
{
"name"
:
"yohobuy-node"
,
"version"
:
"5.5.
3
"
,
"version"
:
"5.5.
8
"
,
"private"
:
true
,
"description"
:
"A New Yohobuy Project With Express"
,
"repository"
:
{
...
...
public/js/common/helpers/image2.js
View file @
9f8540a
...
...
@@ -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 @
9f8540a
...
...
@@ -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