@@ -761,7 +761,7 @@ class Buy
$sku = '';
}
- if ($tk && $v['status'] == 3) {
+ if ($tk && $info['status'] == 3) {
$refund_body[] = array
(
$goods_info['name'] . ' ' . $sku,
@@ -184,7 +184,7 @@ class Data extends Core
# 获取店铺的优惠券
public function getCoupon()
{
- $this->data = Dever::db('shop/coupon')->getAllPage(array('shop_id' => $this->shop_id, 'method' => 3));
+ $this->data = Dever::db('shop/coupon')->getAllPage(array('shop_id' => $this->shop_id));
if ($this->data) {
$time = time();