stockList(3,$param); } public function add($param) { return (new IPOService())->addStock(3,$param); } public function edit($param) { return (new IPOService())->editStock(3,$param); } // 美股列表 public function getTradeNameList($param) { try { $list = StockListModel::where('status', 1)->order('id', 'desc')->column('stock_name', 'id'); return $this->toData('0', 'SUCCESS', ['list' => $list]); } catch (\Exception $exception) { return $this->toData('1', '系统繁忙', []); } } }