Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
U
uc_card
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhoujun
uc_card
Commits
e79cfc14
Commit
e79cfc14
authored
Jun 08, 2021
by
zhoujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
守护天数
parent
3f1bcb8e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
src/app/Http/Controllers/Card/CardController.php
src/app/Http/Controllers/Card/CardController.php
+6
-6
No files found.
src/app/Http/Controllers/Card/CardController.php
View file @
e79cfc14
...
@@ -372,21 +372,21 @@ class CardController extends Controller
...
@@ -372,21 +372,21 @@ class CardController extends Controller
$data
[
'roleScore'
]
=
$roleScore
;
$data
[
'roleScore'
]
=
$roleScore
;
$data
[
'jobImg'
]
=
$jobInco
[
$info
->
job
]
??
''
;
$data
[
'jobImg'
]
=
$jobInco
[
$info
->
job
]
??
''
;
if
(
$info
->
mercenary_score
>
4999
&&
$info
->
mercenary_score
<
12000
){
if
(
$info
->
mercenary_score
==
1
){
$data
[
'ybImg'
]
=
'img-B'
;
$data
[
'ybImg'
]
=
'img-B'
;
}
elseif
(
$info
->
mercenary_score
>
11999
&&
$info
->
mercenary_score
<
17000
){
}
elseif
(
$info
->
mercenary_score
==
2
){
$data
[
'ybImg'
]
=
'img-A'
;
$data
[
'ybImg'
]
=
'img-A'
;
}
elseif
(
$info
->
mercenary_score
>
16999
&&
$info
->
mercenary_score
<
20000
){
}
elseif
(
$info
->
mercenary_score
==
3
){
$data
[
'ybImg'
]
=
'img-S'
;
$data
[
'ybImg'
]
=
'img-S'
;
}
elseif
(
$info
->
mercenary_score
>
19999
&&
$info
->
mercenary_score
<
24000
){
}
elseif
(
$info
->
mercenary_score
==
4
){
$data
[
'ybImg'
]
=
'img-SS'
;
$data
[
'ybImg'
]
=
'img-SS'
;
}
elseif
(
$info
->
mercenary_score
>
23999
){
}
elseif
(
$info
->
mercenary_score
==
5
){
$data
[
'ybImg'
]
=
'img-SSS'
;
$data
[
'ybImg'
]
=
'img-SSS'
;
}
else
{
}
else
{
$data
[
'ybImg'
]
=
'img-C'
;
$data
[
'ybImg'
]
=
'img-C'
;
}
}
$data
[
'rank'
]
=
''
;
$data
[
'rank'
]
=
'
青铜
'
;
$rank
=
explode
(
'-'
,
$info
->
max_rank
);
$rank
=
explode
(
'-'
,
$info
->
max_rank
);
if
(
!
empty
(
$rank
))
$data
[
'rank'
]
=
$rank
[
0
]
??
''
;
if
(
!
empty
(
$rank
))
$data
[
'rank'
]
=
$rank
[
0
]
??
''
;
if
(
!
empty
(
$armsScore
)){
if
(
!
empty
(
$armsScore
)){
...
...
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