Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujun
tl_estate
Commits
134c8d75
Commit
134c8d75
authored
Apr 20, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
二维码生成修改
parent
95da7029
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
GenerateCodeUntils.php
application/api/untils/GenerateCodeUntils.php
+3
-2
No files found.
application/api/untils/GenerateCodeUntils.php
View file @
134c8d75
...
@@ -37,9 +37,10 @@ class GenerateCodeUntils {
...
@@ -37,9 +37,10 @@ class GenerateCodeUntils {
$qrCode
->
setLogoPath
(
ROOT_PATH
.
'/public/static/qrcode/agent_app_logo.png'
);
$qrCode
->
setLogoPath
(
ROOT_PATH
.
'/public/static/qrcode/agent_app_logo.png'
);
$qrCode
->
setLogoWidth
(
80
);
$qrCode
->
setLogoWidth
(
80
);
$qrCode
->
setValidateResult
(
false
);
$qrCode
->
setValidateResult
(
false
);
$path
=
$path
.
DS
.
$file_name
.
'-agent.png'
;
}
else
{
$path
=
$path
.
DS
.
$file_name
.
'-client.png'
;
}
}
$path
=
$path
.
DS
.
$file_name
.
'.png'
;
$qrCode
->
writeFile
(
$path
);
$qrCode
->
writeFile
(
$path
);
return
$path
;
return
$path
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment