id)->select(); $store_id_arr = array_column($userStore, 'store_id'); $stores = []; if ($store_id_arr) { $stores = ModelStore::show()->where('id', 'in', $store_id_arr)->select(); } $this->success('获取门店列表', $stores); } }