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
zzzzzzz
9 years ago
Commit
7c3bf5d348f06ee1a616f3721558d8a9a89e356b
1 parent
57e58184
二维码设置默认头像
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
apps/home/controllers/myqrcode.js
apps/home/controllers/myqrcode.js
View file @
7c3bf5d
...
...
@@ -11,6 +11,7 @@ exports.index = (req, res, next) => {
}).
then
(
result
=>
{
params
.
token
=
result
;
params
.
uname
=
decodeURI
(
params
.
uname
);
params
.
icon
=
params
.
icon
||
'https://img11.static.yhbimg.com/yhb-img01/2016/07/05/13/017ec560b82c132ab2fdb22f7cf6f42b83.png?imageView/2/w/{width}/h/{height}'
;
res
.
render
(
'myqrcode'
,
{
title
:
'查看二维码'
,
module
:
'home'
,
...
...
Please
register
or
login
to post a comment