Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
杨树贤
/
ic_server_welfare
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
4a2d1617
authored
Sep 16, 2019
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'ysx-ic助手服务开发-20190824'
parents
6ed355a5
8099dacd
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
app/Models/IntegralBill.php
storage/laravels.json
storage/laravels.pid
app/Models/IntegralBill.php
View file @
4a2d1617
...
...
@@ -91,7 +91,7 @@ class IntegralBill extends Model
$totalAmount
=
DB
::
table
(
'integral_bills'
)
->
leftJoin
(
'integrals'
,
'integral_bills.integral_id'
,
'integrals.id'
)
->
where
(
'user_id'
,
$userId
)
->
sum
(
'amount'
);
->
sum
(
'
integrals.
amount'
);
//已经兑换的金额
$exchangedAmount
=
DB
::
table
(
'user_exchanges'
)
->
leftJoin
(
'exchange_settings'
,
'user_exchanges.exchange_id'
,
'exchange_settings.id'
)
...
...
storage/laravels.json
View file @
4a2d1617
This diff is collapsed.
Click to expand it.
storage/laravels.pid
View file @
4a2d1617
19880
\ No newline at end of file
6340
\ No newline at end of file
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