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
24911ae4
Commit
24911ae4
authored
Jul 05, 2023
by
haojie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
818e2ccd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
app/Service/MarketInscriptionService.php
+3
-2
resources/js/Pages/InscriptionMarket/index.vue
+2
-2
No files found.
app/Service/MarketInscriptionService.php
View file @
24911ae4
...
...
@@ -63,9 +63,10 @@ public function createOrUpdate()
}
}
if
(
array_key_exists
(
'Name'
,
$update
))
{
if
(
array_key_exists
(
'Name'
,
$update
)
&&
array_key_exists
(
'Protocol'
,
$update
))
{
// 产品和name都一致才更新
$model
=
MarketInscription
::
query
();
$model
=
$model
->
where
(
'Name'
,
$update
[
'Name'
])
->
first
();
$model
=
$model
->
where
(
'Name'
,
$update
[
'Name'
])
->
where
(
'Protocol'
,
$update
[
'Protocol'
])
->
first
();
if
(
$model
)
{
$model
->
update
(
$update
);
}
else
{
...
...
resources/js/Pages/InscriptionMarket/index.vue
View file @
24911ae4
...
...
@@ -123,14 +123,14 @@ const columns = [
className
:
()
=>
"font14"
,
},
{
colKey
:
"Total
Minted
"
,
colKey
:
"Total
Supply
"
,
title
:
"总供应量"
,
align
:
"center"
,
className
:
"public-style font14"
,
},
{
colKey
:
"LimitPerMint"
,
title
:
"每
分钟限制
"
,
title
:
"每
个铭文数量
"
,
align
:
"center"
,
className
:
"public-style font14"
,
},
...
...
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