修改商户更替身份的店铺类型

This commit is contained in:
codeliu 2024-03-23 09:22:18 +08:00
parent 08c790fd18
commit c0f71cf4a6

View File

@ -149,7 +149,8 @@ class MerchantIntentionRepository extends BaseRepository
$wholesale = 2; $wholesale = 2;
} }
if ($wholesale) { if ($wholesale) {
Merchant::getDB()->where('mer_id',$check)->update(['wholesale'=>$wholesale]); Merchant::getDB()->where('mer_id',$check)
->update(['wholesale'=>$wholesale,'type_id'=>$intention->mer_type_id]);
} }
}else{ }else{