Authored by 毕凯

优惠券为空时获取出错的bug

... ... @@ -356,7 +356,8 @@ class IndexController extends AbstractAction
}
if (empty($result)) {
echo ' ';
// 这儿需要返回空数组,勿改!!!
echo '[]';
} else {
$this->echoJson($result);
}
... ...