Browse Source

方法名修改

pull/9/head
liuyu 3 years ago
parent
commit
baca5fca61
  1. 2
      control/index.php
  2. 2
      model/mOrder.php

2
control/index.php

@ -27,7 +27,7 @@ class index extends publicBase {
if ($type == 'sales_volume') { if ($type == 'sales_volume') {
$list = $obj->getSumData($uid, $shop_id, $day); $list = $obj->getSumData($uid, $shop_id, $day);
} elseif ($type == 'refund') { } elseif ($type == 'refund') {
$list = $obj->getRedundCountData($uid, $shop_id, $day); $list = $obj->getRefundCountData($uid, $shop_id, $day);
} }
$this->ajax_json(true, 'succ', $list); $this->ajax_json(true, 'succ', $list);

2
model/mOrder.php

@ -328,7 +328,7 @@ class mOrder extends mBase {
return $date2sum; return $date2sum;
} }
public function getRedundCountData($uid, $shop_id, $day=7) { public function getRefundCountData($uid, $shop_id, $day=7) {
$default_date = date("Y-m-d"); $default_date = date("Y-m-d");
if ($day == 7) { if ($day == 7) {

Loading…
Cancel
Save