想查询uid=$share&&openid=$openid
明明有数据 但是是空 是我写的不对吗?
User::where('uid',$share and 'openid',$openid)->get();
想查询uid=$share&&openid=$openid
明明有数据 但是是空 是我写的不对吗?
User::where('uid',$share and 'openid',$openid)->get();
2 回答1.5k 阅读✓ 已解决
1 回答1.3k 阅读✓ 已解决
2 回答949 阅读✓ 已解决
1 回答1.1k 阅读✓ 已解决
2 回答1k 阅读
1 回答974 阅读
1 回答899 阅读
多个 where 串联默认就是 and 的关系。