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
43533492
Commit
43533492
authored
Jun 08, 2021
by
liyadong
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'test' of
http://gitlab.cccwangluo.com/zhoujun/uc_card
into test
parents
90eff95f
61f0466b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
src/app/Http/Controllers/Card/CardController.php
src/app/Http/Controllers/Card/CardController.php
+5
-5
src/app/Services/UtilService.php
src/app/Services/UtilService.php
+0
-1
No files found.
src/app/Http/Controllers/Card/CardController.php
View file @
43533492
...
...
@@ -379,15 +379,15 @@ class CardController extends Controller
$data
[
'roleScore'
]
=
$roleScore
;
$data
[
'jobImg'
]
=
$jobInco
[
$info
->
job
]
??
''
;
if
(
$info
->
mercenary_score
==
1
){
if
(
$info
->
mercenary_score
==
2
){
$data
[
'ybImg'
]
=
'img-B'
;
}
elseif
(
$info
->
mercenary_score
==
2
){
$data
[
'ybImg'
]
=
'img-A'
;
}
elseif
(
$info
->
mercenary_score
==
3
){
$data
[
'ybImg'
]
=
'img-
S
'
;
$data
[
'ybImg'
]
=
'img-
A
'
;
}
elseif
(
$info
->
mercenary_score
==
4
){
$data
[
'ybImg'
]
=
'img-S
S
'
;
$data
[
'ybImg'
]
=
'img-S'
;
}
elseif
(
$info
->
mercenary_score
==
5
){
$data
[
'ybImg'
]
=
'img-SS'
;
}
elseif
(
$info
->
mercenary_score
==
6
){
$data
[
'ybImg'
]
=
'img-SSS'
;
}
else
{
$data
[
'ybImg'
]
=
'img-C'
;
...
...
src/app/Services/UtilService.php
View file @
43533492
...
...
@@ -194,7 +194,6 @@ class UtilService
public
static
function
getIsWx
(
$httpUserAgent
)
{
return
true
;
if
(
strpos
(
$httpUserAgent
,
'MicroMessenger'
)
!==
false
)
{
return
true
;
}
else
{
...
...
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