diff --git a/app/store/controller/Store.php b/app/store/controller/Store.php index 6b95f8f1..eb62d75e 100644 --- a/app/store/controller/Store.php +++ b/app/store/controller/Store.php @@ -76,10 +76,12 @@ class Store extends Controller public function platformList(): Json { //$list = Channel::withoutGlobalScope()->where('status', 1)->whereIn('code',['jd','sn','zy','xqtx'])->select(); - $list = Channel::withoutGlobalScope()->where('status', 1)->whereIn('code',['zy'])->select(); + //$list = Channel::withoutGlobalScope()->where('status', 1)->whereIn('code',['zy'])->select(); + $list = Channel::withoutGlobalScope()->where('status', 1)->select(); $platformList = []; foreach ($list as $key => $value) { - $platformList[$value['code']] = $value['name']; + //$platformList[$value['code']] = $value['name']; + $platformList[$value['code']] = $value['alias']; } //$platformList = config('app.platformList'); return $this->renderSuccess($platformList);