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
ceeacac4
authored
Feb 20, 2023
by
孙龙
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
打印
parent
3977458d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
app/Services/LabelService.php
app/Services/LabelService.php
View file @
ceeacac4
...
...
@@ -226,12 +226,15 @@ class LabelService {
$templateList
=
arrayChangeKeyByField
(
$templateList
,
"id"
);
$returnHtml
=
[];
foreach
(
$datas
as
$item
){
for
(
$i
=
0
;
$i
<=
$item
[
"print_num"
];
$i
++
){
$html
=
$templateList
[
$item
[
"template_id"
]][
"template_extend"
][
"html"
];
$createHtml
=
(
new
\App\Services\LabelService
)
->
getLabelOfflineHtml
(
$html
,
$item
);
if
(
$createHtml
){
array_push
(
$returnHtml
,
$createHtml
->
outertext
);
}
}
}
return
$returnHtml
;
}
}
\ 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