mirror of
https://github.com/crmeb/CRMEB.git
synced 2025-12-10 17:42:50 +00:00
抽奖
This commit is contained in:
parent
e8d3369706
commit
030bc8f7db
@ -1,3 +1,5 @@
|
||||

|
||||
|
||||
<p align="center">
|
||||
<img src="https://images.gitee.com/uploads/images/2018/1214/151026_2299df23_892944.gif" />
|
||||
</p>
|
||||
|
||||
@ -417,7 +417,7 @@ class UploadService
|
||||
};
|
||||
$fileName = Filesystem::putFile($this->uploadPath, $file);
|
||||
if (!$fileName) return self::setError('图片上传失败!');
|
||||
return self::successful(str_replace('\\', '/', ($this->uploadPath ? $this->uploadPath . '/' : '') . $fileName));
|
||||
return self::successful(str_replace('\\', '/', $fileName));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@ -52,7 +52,7 @@ trait JwtAuthModelTrait
|
||||
{
|
||||
JWT::$leeway = 60;
|
||||
|
||||
$data = JWT::decode($jwt, Env::get('app.app_key', 'default'), array('HS256'));
|
||||
$data = JWT::decode($jwt, Config::get('app.app_key', 'default'), array('HS256'));
|
||||
|
||||
$model = new self();
|
||||
return [$model->where($model->getPk(), $data->jti->id)->find(), $data->jti->type];
|
||||
|
||||
BIN
readme/images/抽奖.jpg
Normal file
BIN
readme/images/抽奖.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 109 KiB |
Loading…
x
Reference in New Issue
Block a user