songxingwei 3 anni fa
parent
commit
c61fc76285
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      app/admin/controller/Shop.php

+ 1 - 1
app/admin/controller/Shop.php

@@ -302,7 +302,7 @@ class Shop extends BaseAdmin
             $info = $shop->getShopInfo(['site_id'=>$site_id]);
             $infodata = $info['data'];
             if ($infodata['category_id']==0 || $infodata['group_id']==0){
-                return $this->error('请先完善基本信息');
+                return error(-1,'请先完善基本信息','');
             }
             die;
             //认证信息