我这样调用出来的图片没有格式化,怎么格式化图片??
function get_team_list() {
/* 获取团队列表 */
$sql = "SELECT * FROM " . $GLOBALS['dou']->table('team') . " ORDER BY sort ASC, id ASC";
$query = $GLOBALS['dou']->query($sql);
while ($row = $GLOBALS['dou']->fetch_array($query)) {
$team_list[] = array (
"id" => $row['id'],
"name" => $row['name'],
"team_style" => $row['team_style'],
"class" => $row['class'],
"image" => $row['image'],
"description" => $row['description'],
);
}
return $team_list;
}