Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
杨树贤
/
ic_welfare_api
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
8989c0c2
authored
Sep 04, 2019
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
修改amount直接从主表获取(主表的才是正确的)
parent
ef9842cd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
app/Http/Transformers/IntegralBillTransformer.php
app/Http/Transformers/IntegralBillTransformer.php
View file @
8989c0c2
...
@@ -14,7 +14,7 @@ class IntegralBillTransformer
...
@@ -14,7 +14,7 @@ class IntegralBillTransformer
'id'
=>
array_get
(
$value
,
'id'
),
'id'
=>
array_get
(
$value
,
'id'
),
'name'
=>
array_get
(
$value
[
'integral'
],
'name'
),
'name'
=>
array_get
(
$value
[
'integral'
],
'name'
),
'add_time'
=>
array_get
(
$value
,
'add_time'
),
'add_time'
=>
array_get
(
$value
,
'add_time'
),
'amount'
=>
array_get
(
$value
[
'integral'
]
,
'amount'
),
'amount'
=>
array_get
(
$value
,
'amount'
),
];
];
}
}
}
}
...
...
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