|
@@ -10,14 +10,13 @@ use app\common\model\Version;
|
|
use fast\Random;
|
|
use fast\Random;
|
|
use think\Config;
|
|
use think\Config;
|
|
use think\Hook;
|
|
use think\Hook;
|
|
-use Endroid\QrCode\QrCode;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
* 公共接口
|
|
* 公共接口
|
|
*/
|
|
*/
|
|
class Common extends Api
|
|
class Common extends Api
|
|
{
|
|
{
|
|
- protected $noNeedLogin = ['init'];
|
|
|
|
|
|
+ protected $noNeedLogin = ['init','upload'];
|
|
protected $noNeedRight = '*';
|
|
protected $noNeedRight = '*';
|
|
|
|
|
|
/**
|
|
/**
|