去掉是否平安项目校验

This commit is contained in:
2020-09-02 11:29:02 +08:00
parent 5397d931f7
commit a18087bc6d
7 changed files with 22 additions and 26 deletions

View File

@@ -20,7 +20,7 @@ class IndexController extends AdminController
'accountable',
User::class,
function ($query) {
$query->where('type', 'pingan')->whereHas('identity', function ($q) {
$query->whereHas('identity', function ($q) {
$q->where('identity_id', 1);
});
}