Commit c137e3cd by 杨树贤

权限sku查看

parent 986c446f
Showing with 4 additions and 0 deletions
...@@ -27,6 +27,10 @@ class SkuListFilter ...@@ -27,6 +27,10 @@ class SkuListFilter
unset($map['create_time']); unset($map['create_time']);
} }
if (!checkPerm('ViewAllSku')) {
$map['encoded/condition'] = request()->user->codeId;
}
if ((!empty($map['update_time']))) { if ((!empty($map['update_time']))) {
$times = explode('~', $map['update_time']); $times = explode('~', $map['update_time']);
$startTime = strtotime($times[0]) ?: 1420041600; $startTime = strtotime($times[0]) ?: 1420041600;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment