修复后台频繁掉线
/app/Service/Bind/ManageSSO.php
<?php
declare(strict_types=1);
namespace App\Service\Bind;
use App\Consts\Manage as ManageConst;
use App\Model\Manage;
use App\Model\ManageLog;
use App\Model\Config;
use App\Util\Client;
use App\Util\Date;
use App\Util\Str;
use Firebase\JWT\JWT;
use...
修复商品页下单右上角提示连接失败问题 app/Service/Bind/Shared.php
<?php
declare(strict_types=1);
namespace App\Service\Bind;
use App\Model\Commodity;
use App\Util\Http;
use App\Util\Ini;
use App\Util\Str;
use GuzzleHttp\Client;
use GuzzleHttp\Exception\GuzzleException;
use Kernel\Annotation\Inject;
use...
如果想虚拟显示销量,替换以下两个文件:
1.app/Controller/User/Api/Index.php
<?php
declare(strict_types=1);
namespace App\Controller\User\Api;
use App\Consts\Hook;
use App\Controller\Base\API\User;
use App\Entity\Query\Get;
use App\Interceptor\UserVisitor;
use App\Interceptor\Waf;
use App\Model\Card;
use...
针对v3.2.24版本,修改如下文件:
1.app/Controller/Admin/Api/Store.php
<?php
declare(strict_types=1);
namespace App\Controller\Admin\Api;
use App\Controller\Base\API\Manage;
use App\Entity\Query\Delete;
use App\Entity\Query\Get;
use App\Entity\Query\Save;
use App\Interceptor\ManageSession;
use...
独角数卡安装报错Symfony\Component\HttpKernel\Exception\MethodNotAllowedHttpException
The POST method is not supported for this route. Supported methods: GET, HEAD.
解决方案:
打开 网站resources/views/common/install.blade.php 文件769行
把<script src="https://cdn.bootcss.com/jquery/2.1.4/jquery.min.js"></script>
改为...