__('Symbol btcusdt'), 'bchusdt' => __('Symbol bchusdt'), 'ethusdt' => __('Symbol ethusdt'), 'ltcusdt' => __('Symbol ltcusdt'), 'eosusdt' => __('Symbol eosusdt')]; } public function getRiseOrFallList() { return ['rise' => __('Rise_or_fall rise'), 'fall' => __('Rise_or_fall fall')]; } public function getSetLossList() { return ['0' => __('默认'), '1' => __('盈'), '2' => __('亏')]; } public function getSymbolTextAttr($value, $data) { $value = $value ? $value : (isset($data['symbol']) ? $data['symbol'] : ''); $list = $this->getSymbolList(); return isset($list[$value]) ? $list[$value] : ''; } public function getRiseOrFallTextAttr($value, $data) { $value = $value ? $value : (isset($data['rise_or_fall']) ? $data['rise_or_fall'] : ''); $list = $this->getRiseOrFallList(); return isset($list[$value]) ? $list[$value] : ''; } }