Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dex-admin
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
haojie
dex-admin
Commits
8b479c80
Commit
8b479c80
authored
Jul 05, 2023
by
haojie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
426ca096
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
13 deletions
+4
-13
app/Service/MarketInscriptionService.php
+4
-2
resources/js/Pages/InscriptionMarket/index.vue
+0
-2
resources/js/components/card.vue
+0
-6
resources/js/components/tooltip.vue
+0
-3
No files found.
app/Service/MarketInscriptionService.php
View file @
8b479c80
...
...
@@ -4,6 +4,7 @@
use
App\Models\MarketInscription
;
use
App\Service\Common\CommonService
;
use
Illuminate\Support\Facades\DB
;
use
Illuminate\Support\Facades\Log
;
use
Illuminate\Support\Facades\Redis
;
...
...
@@ -67,9 +68,10 @@ public function createOrUpdate()
}
if
(
array_key_exists
(
'Name'
,
$update
)
&&
array_key_exists
(
'Protocol'
,
$update
))
{
// 产品和name都一致才更新
// 产品和name都一致才更新
--区分大小写
$model
=
MarketInscription
::
query
();
$model
=
$model
->
where
(
'Name'
,
$update
[
'Name'
])
->
where
(
'Protocol'
,
$update
[
'Protocol'
])
->
first
();
$model
=
$model
->
where
(
DB
::
raw
(
'BINARY Name'
),
$update
[
'Name'
])
->
where
(
DB
::
raw
(
'BINARY Protocol'
),
$update
[
'Protocol'
])
->
first
();
if
(
$model
)
{
$model
->
update
(
$update
);
}
else
{
...
...
resources/js/Pages/InscriptionMarket/index.vue
View file @
8b479c80
...
...
@@ -293,8 +293,6 @@ onMounted(() => {
.page-market-inscription-table
{
tbody
{
tr
{
td
{
}
.font14
{
font-size
:
14px
;
}
...
...
resources/js/components/card.vue
View file @
8b479c80
...
...
@@ -121,12 +121,6 @@ const props = withDefaults(
justify-content
:
space-between
;
padding
:
4px
12px
;
box-sizing
:
border-box
;
.label
{
}
.value
{
}
.line
{
}
.font-small
{
font-size
:
11px
;
}
...
...
resources/js/components/tooltip.vue
View file @
8b479c80
...
...
@@ -19,9 +19,6 @@ const props = withDefaults(
</
script
>
<
style
lang=
"less"
>
.custom-tooltip
{
//
background-color
:
#1e2329
!important
;
}
.t-tooltip--default
{
.t-popup__content
{
background-color
:
#1e2329
!important
;
...
...
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