Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
孙龙
/
note-library
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
d668c01b
authored
May 11, 2020
by
孙龙
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
up
parent
29e32f47
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
app/Http/Controllers/WebController.php
resources/views/web/design.blade.php
app/Http/Controllers/WebController.php
View file @
d668c01b
...
@@ -54,8 +54,8 @@ class WebController extends Controller
...
@@ -54,8 +54,8 @@ class WebController extends Controller
// 首页
// 首页
public
function
index
(
Request
$request
)
public
function
index
(
Request
$request
)
{
{
$JobsModel
=
new
JobsModel
();
//
$JobsModel = new JobsModel();
//
$info
=
$this
->
getPageInfo
(
$request
);
$info
=
$this
->
getPageInfo
(
$request
);
return
view
(
'index'
,
$info
);
return
view
(
'index'
,
$info
);
...
@@ -91,12 +91,12 @@ class WebController extends Controller
...
@@ -91,12 +91,12 @@ class WebController extends Controller
// exit;
// exit;
echo
DNS1D
::
getBarcodeSVG
(
"4445645656"
,
"C39"
,
"1"
,
"20"
);
//
echo DNS1D::getBarcodeSVG("4445645656", "C39","1","20");
echo
DNS2D
::
getBarcodeHTML
(
"4445645656"
,
"QRCODE"
,
"3"
,
"3"
);
//
echo DNS2D::getBarcodeHTML("4445645656", "QRCODE","3","3");
// echo DNS2D::getBarcodePNGPath("4445645656", "PDF417");
// echo DNS2D::getBarcodePNGPath("4445645656", "PDF417");
// echo DNS2D::getBarcodeSVG("4445645656", "DATAMATRIX");
// echo DNS2D::getBarcodeSVG("4445645656", "DATAMATRIX");
// echo '<img src="data:image/png;base64,' . DNS2D::getBarcodePNG("4", "PDF417") . '" alt="barcode" />';
// echo '<img src="data:image/png;base64,' . DNS2D::getBarcodePNG("4", "PDF417") . '" alt="barcode" />';
exit
;
//
exit;
$info
[
'title'
]
=
'标签设计'
;
$info
[
'title'
]
=
'标签设计'
;
return
view
(
'web'
,
$info
);
return
view
(
'web'
,
$info
);
...
...
resources/views/web/design.blade.php
View file @
d668c01b
1112323
\ No newline at end of file
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