Skip to content
This repository has been archived by the owner on Jul 12, 2019. It is now read-only.

没加入中间件控制上传 #3

Closed
wenrouzei opened this issue Dec 27, 2016 · 7 comments
Closed

没加入中间件控制上传 #3

wenrouzei opened this issue Dec 27, 2016 · 7 comments

Comments

@wenrouzei
Copy link

1.上传没加入中间件控制

2.php7报错
ErrorException in StorageManager.php line 217:
rand() expects parameter 2 to be integer, float given

@JellyBool
Copy link
Contributor

JellyBool commented Feb 26, 2017

@wenrouzei

1.应该看自己的业务逻辑吧,你可以自己加一下。

2.这个应该 fixed 了的,具体可以看这个:c59c297

@meitesi
Copy link

meitesi commented Mar 3, 2017

如果能设置成jellyBool 讲的知乎的那个视频里ueditor的主题,就更好了。

@JellyBool
Copy link
Contributor

JellyBool commented Mar 3, 2017

那个是简单的版本,要是可以的话,我也可以直接把那个主题迁移过来。

@meitesi

@meitesi
Copy link

meitesi commented Mar 4, 2017

期待啊 哈哈

@thirdriver
Copy link

@JellyBool 支持迁移那个版本

@overtrue
Copy link
Owner

@JellyBool 主题你另外开一个 issue 吧

@overtrue overtrue reopened this Apr 17, 2017
overtrue added a commit that referenced this issue Apr 17, 2017
@overtrue
Copy link
Owner

@wenrouzei 已经加入路由组选项支持,配置文件里的 route 部分:

 'route' => [
        'name' => '/ueditor/server',
        'options' => [
            // middleware => 'auth',  你可以在这里自由发挥了
        ],
    ],

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants