Sun

Results issues of Sun

getlist方法中调用_fmtData方法报错 A non well formed numeric value encountered `foreach ($data as $key => $value) {` `$data[$key]['create_time'] = date('Y-m-d H:i:s',$value['create_time']);` `$data[$key]['status'] = $value['status'] == 1 ? lang('Start') : lang('Off');` `}` date('Y-m-d...

`->addColumn('content', 'string', ['encoding' => 'utf8mb4', 'collation' => 'utf8mb4_unicode_ci'])` 在`php think migrate:run`时 报错: `[RuntimeException]` `"encoding" is not a valid column option. ` think-migration version: 1.* thinkphp version: 5.0.14 phinx官方文档上说string有encoding选项 [http://docs.phinx.org/en/latest/migrations.html#valid-column-options](url) ![image](https://user-images.githubusercontent.com/12372851/43513205-be0bb10a-95af-11e8-9f6c-635e7d066a7a.png)

加入群组、退出群组多个成员`id`参数注释

win10 chrome 图片上传成功,控制台也打印插入成功,但是就是不显示,项目配置的本地服务器虚拟主机,图片地址是可以正常打开的 提示: 使用 html5 方式上传 提示: 渲染dom 提示: 选择文件 提示: 选中 1 个文件 提示: 开始执行 1490685964.png 文件的上传 提示: 已读取1490685964.png文件 提示: 开始上传...并开始超时计算 提示: input value 已清空 提示: 上传结束,返回结果为 http://www.mowen2017.com/uploads/editor/20170508/f4b5eec96338cf8d3e9e102b19637c38.png...

Running `php vendor/bin/phinx create MyNewMigration` then: `Phinx by CakePHP - https://phinx.org. 0.10.5` `using config file ./phinx.yml` `using config parser yaml` `using migration paths ` `PHP Fatal error: Call to undefined...