Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
朱继来
/
后台订单管理
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
bbcdae37
authored
Jan 20, 2021
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
调整
parent
96f361ca
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
app/Http/Controllers/OrderController.php
app/Model/OrderServiceModel.php
app/Http/Controllers/OrderController.php
View file @
bbcdae37
...
@@ -2281,6 +2281,7 @@ Class OrderController extends Controller
...
@@ -2281,6 +2281,7 @@ Class OrderController extends Controller
// $data['data'][] = $tmp;
// $data['data'][] = $tmp;
}
}
$to_user_array
=
array_unique
(
$to_user_array
);
$cc_send_mail_array
=
Config
(
'config.cc_email'
);
// 固定抄送人
$cc_send_mail_array
=
Config
(
'config.cc_email'
);
// 固定抄送人
$perm
=
new
PermController
;
$perm
=
new
PermController
;
...
...
app/Model/OrderServiceModel.php
View file @
bbcdae37
...
@@ -42,7 +42,7 @@ class OrderServiceModel extends Model
...
@@ -42,7 +42,7 @@ class OrderServiceModel extends Model
$perm
=
new
PermController
;
$perm
=
new
PermController
;
$role
=
$perm
->
getUserRole
(
$request
);
// 用户角色
$role
=
$perm
->
getUserRole
(
$request
);
// 用户角色
$list
=
$this
->
where
(
function
(
$query
)
use
(
$map
,
$request
,
$role
)
{
$list
=
$this
->
where
(
function
(
$query
)
use
(
$map
,
$request
,
$role
,
$perm
)
{
// 售后单号
// 售后单号
if
(
$map
[
'service_sn'
])
{
if
(
$map
[
'service_sn'
])
{
$query
->
where
(
'service_sn'
,
'='
,
$map
[
'service_sn'
]);
$query
->
where
(
'service_sn'
,
'='
,
$map
[
'service_sn'
]);
...
...
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