|
|
|
@ -55,14 +55,14 @@ class Merchant extends Controller |
|
|
|
|
continue; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (!empty($l['store_user_id'])) { |
|
|
|
|
array_push($list, $l['store_user_id']); |
|
|
|
|
if (!empty($l['user_name'])) { |
|
|
|
|
array_push($list, $l['user_name']); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
$model2 = new MerchantModel; |
|
|
|
|
$list2 = $model2->getList($this->request->param())->toArray(); |
|
|
|
|
$userIds = array_column($list2['data'], "store_user_id"); |
|
|
|
|
$userIds = array_column($list2['data'], "user_name"); |
|
|
|
|
|
|
|
|
|
$list = array_diff($list, $userIds); |
|
|
|
|
return $this->renderSuccess(compact('list')); |
|
|
|
|