Commit d4506c9f authored by rlgy's avatar rlgy

行情接口sid大写返回

parent d5dd03d6
...@@ -77,7 +77,10 @@ class CoinController extends BaseController ...@@ -77,7 +77,10 @@ class CoinController extends BaseController
} }
$data = CoinBusiness::getApiList($page, $limit, $condition); $data = CoinBusiness::getApiList($page, $limit, $condition);
//sid大写返回
foreach ($data['data'] as $key => $item) {
$data['data'][$key]['sid'] = ucfirst($item['sid']);
}
Yii::$app->response->data = $data; Yii::$app->response->data = $data;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment