修改商户交易申请审核
This commit is contained in:
parent
2d8eb9594d
commit
5396dde520
@ -203,7 +203,7 @@ class MerchantIntentionRepository extends BaseRepository
|
|||||||
Db::name('store_service')->insert($store_service_data);
|
Db::name('store_service')->insert($store_service_data);
|
||||||
}
|
}
|
||||||
if ($intention['type'] == 2) {
|
if ($intention['type'] == 2) {
|
||||||
$merId = MerchantIntention::where('uid', $intention['uid'])->where('status', 1)->value('mer_id');
|
$merId = Merchant::where('uid', $intention['uid'])->value('mer_id');
|
||||||
if (!empty($merId)) {
|
if (!empty($merId)) {
|
||||||
Merchant::where('mer_id', $merId)->update(['business_status' => 2, 'mer_settlement_agree_status' => 1]);
|
Merchant::where('mer_id', $merId)->update(['business_status' => 2, 'mer_settlement_agree_status' => 1]);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user