dever 3 年之前
父节点
当前提交
594006422c
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      app/mshop/src/My.php

+ 2 - 0
app/mshop/src/My.php

@@ -428,6 +428,8 @@ class My extends Core
         } else {
             list($this->data['info']['start'], $this->data['info']['end']) = Dever::week();
         }
+        $this->data['info']['start'] = date('Y-m-d', $this->data['info']['start']);
+        $this->data['info']['end'] = date('Y-m-d', $this->data['info']['end']);
         
         $this->data['info']['status_name'] = $status[$this->data['info']['shop_status']];