修改商户更替身份的店铺类型
This commit is contained in:
parent
08c790fd18
commit
c0f71cf4a6
@ -149,7 +149,8 @@ class MerchantIntentionRepository extends BaseRepository
|
||||
$wholesale = 2;
|
||||
}
|
||||
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{
|
||||
|
Loading…
x
Reference in New Issue
Block a user