写PHP的,也没啥
count(detached) ? 还是什么?
video.js 你可以看看这个:https://github.com/videojs/video.js
我觉得这两个资料不错:
http://php-di.org/doc/understanding-di.html
http://stackoverflow.com/questions/2255771/how-can-i-use-dependency-injection-in-simple-php-functions-and-should-i-bothe#answer-2553910
好的,我吸取教训了
你的关联表 question_topic 没有 question_id 这个字段吧,跟视频来吧
这个有点难了,我帮你看看线上有没有类似的服务。
扩展这方面,在 php 7 支持已经很完善了,laravist 线上已经 7.1 了
会用在 用户设置 那,使用 model 的 casts 属性的。所以 string 应该也是 ok 的
嗯哼。。。你的的 php 版本具体有满足 laravel 的最低要求没?mac 的话,建议升一下 php 7
你是说你完全不懂 后端?然后没有 api 数据?