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
9b4543c1
authored
Nov 17, 2022
by
宁成龙
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
测试代码删除
parent
86271534
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
4 deletions
app/Admin/Controllers/HomeController.php
app/Admin/Service/AutoAssignCustomerService.php
app/Admin/Controllers/HomeController.php
View file @
9b4543c1
...
@@ -14,10 +14,6 @@ class HomeController extends Controller
...
@@ -14,10 +14,6 @@ class HomeController extends Controller
{
{
public
function
index
(
Content
$content
)
public
function
index
(
Content
$content
)
{
{
$assign
=
AutoAssignCustomerService
::
getNowAssignInfo
();
var_dump
(
$assign
);
var_dump
(
AutoAssignCustomerService
::
incAssignNumByDepartmentId
(
$assign
[
'department_id'
],
1
));
var_dump
(
123
);
die
;
return
$content
return
$content
->
header
(
'Dashboard'
)
->
header
(
'Dashboard'
)
->
description
(
'Description...'
)
->
description
(
'Description...'
)
...
...
app/Admin/Service/AutoAssignCustomerService.php
View file @
9b4543c1
...
@@ -49,6 +49,7 @@ class AutoAssignCustomerService
...
@@ -49,6 +49,7 @@ class AutoAssignCustomerService
]);
]);
\App\Models\AutoAssignCustomer
::
updateById
(
$nextAssignInfo
[
'id'
],
\App\Models\AutoAssignCustomer
::
updateById
(
$nextAssignInfo
[
'id'
],
[
'is_now'
=>
\App\Models\AutoAssignCustomer
::
IS_NOW_YES
]);
[
'is_now'
=>
\App\Models\AutoAssignCustomer
::
IS_NOW_YES
]);
return
false
;
}
}
return
\App\Models\AutoAssignCustomer
::
updateById
(
$assignInfo
[
'id'
],
[
'now_num'
=>
$nowNum
]);
return
\App\Models\AutoAssignCustomer
::
updateById
(
$assignInfo
[
'id'
],
[
'now_num'
=>
$nowNum
]);
}
}
...
...
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