Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
semour
/
semour_admin
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
6ace6d0c
authored
Nov 18, 2022
by
宁成龙
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
订单数
parent
5fc9a79d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
app/Admin/Service/UserService.php
app/Admin/Service/UserService.php
View file @
6ace6d0c
...
...
@@ -51,7 +51,7 @@ class UserService
$grid
->
column
(
'remark'
);
$grid
->
column
(
'sale_name'
);
$grid
->
column
(
'order_num_data'
)
->
display
(
function
(
$order_num_data
)
{
$data
=
InquiryService
::
getInquiryCountByUserIds
([
$this
->
id
])[
$this
->
id
]
??
[
$data
=
OrderService
::
getUserOrderStatistical
([
$this
->
id
])[
$this
->
id
]
??
[
"pending"
=>
0
,
"all"
=>
0
];
...
...
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