huwhois 4 years ago
parent
commit
d05d12e56f
2 changed files with 2 additions and 3 deletions
  1. 0 1
      .gitignore
  2. 2 2
      application/index/model/Sales.php

+ 0 - 1
.gitignore

@ -1,2 +1 @@
1
/zzzzz/*
2 1
/vendor/

+ 2 - 2
application/index/model/Sales.php

@ -1,7 +1,7 @@
1 1
<?php
2 2
namespace app\index\model;
3 3
4
require_once(VENDOR . '\PHPExcel\IOFactory.php');
4
require_once(VENDOR . '\phpoffice\PHPExcel\IOFactory.php');
5 5
6 6
class Sales
7 7
{
@ -12,7 +12,7 @@ class Sales
12 12
13 13
    public function __construct()
14 14
    {
15
        $this->excel = \PHPExcel_IOFactory::load(DB . DS . "2020xsjl.xls");
15
        $this->excel = \PHPExcel_IOFactory::load('Z:\Public\2020xsjl.xls');
16 16
        $this->getFirstSheets();
17 17
    }
18 18