Browse Source

商品bug修复

master
suiyi-effer 2 years ago
parent
commit
3616f5c108
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      crmeb/basic/BaseAuth.php

+ 1
- 1
crmeb/basic/BaseAuth.php View File

@@ -35,7 +35,7 @@ class BaseAuth
$whereKey = [];
$respones = new \ReflectionClass($setModel);
foreach ($withSearch as $fieldName) {
if (!is_array($fieldName) && $fieldName != 0) {
if ($fieldName !== 0) {
$method = 'search' . Str::studly($fieldName) . 'Attr';
if ($respones->hasMethod($method) || $fieldName == 'is_show') {
$with[] = $fieldName;

Loading…
Cancel
Save