huwhois %!s(int64=4) %!d(string=hace) años
padre
commit
d05d12e56f
Se han modificado 2 ficheros con 2 adiciones y 3 borrados
  1. 0 1
      .gitignore
  2. 2 2
      application/index/model/Sales.php

+ 0 - 1
.gitignore

1
/zzzzz/*
2
/vendor/
1
/vendor/

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

1
<?php
1
<?php
2
namespace app\index\model;
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
class Sales
6
class Sales
7
{
7
{
12
12
13
    public function __construct()
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
        $this->getFirstSheets();
16
        $this->getFirstSheets();
17
    }
17
    }
18
18