sowork

Results 9 comments of sowork

意思是不能用了么?

合并账号这方面做得显然不是很合理

合并不是一个好的方法,可以参考qq关联账号来想,只要让用户绑定账号即可,数据还是分布在两个账号,不冲突。 如果单纯的要去将两个账号数据合并,操作比较麻烦。 另外关于账户表设计,上面推荐的是一张主表,外加一张三方表,我提供另一种方式: 比如:添加机构、学校、老师这些角色进来,用户单独存放在各自的表中,用户根据(表名和表ID)来确定唯一用户即可

[ 感谢回答,这里面没有找到关于设置请求头的信息,是我没有注意到么?还是在别的地方呢?](https://github.com/hprose/hprose-php/wiki/05-Hprose-%E5%AE%A2%E6%88%B7%E7%AB%AF)

看了下文档,搞得我有点头晕,大致理解下,{[服务器端]合法性验证 }https://github.com/toplan/laravel-sms#3- 服务器端合法性验证这个是获取验证码以后进行验证码校验的,然后获取验证码是在{无会话支持} https://github.com/toplan/laravel-sms# 无会话支持这个栏目下,{API栏目}https://github.com/toplan/laravel-sms#api如果想使用的话,需要自己写提供者?

I think the second argument from the `Loader::fromResultset()` can pass the model name,I solved it this way

Model query in laravel: ``` User::select('id', 'name', 'email')->get(); ``` return ``` Collection {#379 ▼ #items: array:2 [▼ 0 => User {#380 ▼ #fillable: array:3 [▶] #hidden: array:2 [▶] #connection: "mysql"...

When using a query, sometimes I only want to query the fields I need, instead of having to query all the fields. When I use graphql+eagerLoad for preloading, I need...