提现审核通知
This commit is contained in:
parent
9e1802dbc6
commit
a7d28f948e
@ -7,6 +7,7 @@ use app\common\model\merchant\Merchant;
|
|||||||
use app\common\model\supplier\Supplier;
|
use app\common\model\supplier\Supplier;
|
||||||
use app\common\model\withdraw\MerchantWithdraw;
|
use app\common\model\withdraw\MerchantWithdraw;
|
||||||
use app\common\logic\BaseLogic;
|
use app\common\logic\BaseLogic;
|
||||||
|
use app\common\service\JgPushService;
|
||||||
use think\facade\Db;
|
use think\facade\Db;
|
||||||
|
|
||||||
|
|
||||||
@ -109,6 +110,11 @@ class MerchantWithdrawLogic extends BaseLogic
|
|||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
$pid = !empty($data['mer_id']) ? $data['mer_id'] : $data['supplier_id'];
|
||||||
|
$apply_info = Db::name('user_auth_shop')->where('pid', $pid)->findOrEmpty();
|
||||||
|
if (!empty($apply_info['jg_register_id'])) {
|
||||||
|
(new JgPushService())->sendMsg($apply_info['jg_register_id'], '您的提现申请请求' . ($params['status'] == 1 ? '已审核通过' : '审核未通过'), '/pages/quote/financialyDeatil');
|
||||||
|
}
|
||||||
Db::commit();
|
Db::commit();
|
||||||
return true;
|
return true;
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user