getMessage() . "\n"; } } /** * 更新交易对行情 */ public function actionQuotation() { ExchangeBusiness::setQuotation(); echo date('Y-m-d H:i:s') . '数据更新成功'.PHP_EOL; return 0; } public function actionTest() { $a = new \common\service\exchange\Zb(); $a->setSupportedSymbol(); $a->setQuotation(); } }