songxingwei 3 jaren geleden
bovenliggende
commit
817f5dc054
1 gewijzigde bestanden met toevoegingen van 5 en 0 verwijderingen
  1. 5 0
      app/model/shop/ShopApply.php

+ 5 - 0
app/model/shop/ShopApply.php

@@ -18,6 +18,7 @@ use app\model\BaseModel;
 use app\model\express\Config as ConfigModel;
 use app\model\shop\ShopAccount as ShopaccountModel;
 use app\model\web\WebSite;
+use think\facade\Db;
 
 /**
  * 店铺申请以及认证信息
@@ -370,6 +371,10 @@ class ShopApply extends BaseModel
 				'create_time' => time()
 			];
 			$group_id = $group->addGroup($group_data)['data'];
+			echo $group_id."<br />";
+			$id = Db::table('v4group')->getLastInsID();
+			echo $id;
+			die;
 			
 			//更新管理员信息
 			model("user")->update(