Commit 5add7e22 by 杨树贤

权限

parent 1996145f
Showing with 3 additions and 0 deletions
......@@ -32,6 +32,9 @@ class SkuService
$map = $filter->listFilter();
$url = env('ES_SKU_URL', '');
$map['show_status'] = 1;
if (!checkPerm('ViewAllSku')) {
$map['encoded/condition'] = request()->user->codeId;
}
$return = curl($url, $map, 1);
$data = json_decode($return, true);
......
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