Merge branch 'feature_business_apply' into dev
This commit is contained in:
commit
e552866f8b
@ -1357,7 +1357,7 @@ class Auth extends BaseController
|
|||||||
public function merchantStatus($id)
|
public function merchantStatus($id)
|
||||||
{
|
{
|
||||||
// business_status 交易申请状态:0未申请 1申请中 2申请通过 3申请拒绝
|
// business_status 交易申请状态:0未申请 1申请中 2申请通过 3申请拒绝
|
||||||
Log::info("同步商户申请状态HOST:" . request()->host() . request()->url());
|
Log::info("同步商户申请状态URL:" . request()->host() . request()->url());
|
||||||
Log::info("同步商户申请状态数据:" . json_encode(request()->param()));
|
Log::info("同步商户申请状态数据:" . json_encode(request()->param()));
|
||||||
$repository = app()->make(MerchantIntentionRepository::class);
|
$repository = app()->make(MerchantIntentionRepository::class);
|
||||||
if (!$repository->getWhereCount(['mer_intention_id' => $id, 'is_del' => 0]))
|
if (!$repository->getWhereCount(['mer_intention_id' => $id, 'is_del' => 0]))
|
||||||
|
@ -148,7 +148,7 @@ class MerchantIntention extends BaseController
|
|||||||
//发送商户入驻申请
|
//发送商户入驻申请
|
||||||
public function sendMerIntentionApply($data, $postUrl)
|
public function sendMerIntentionApply($data, $postUrl)
|
||||||
{
|
{
|
||||||
Log::info("商户申请HOST: {$postUrl}");
|
Log::info("商户申请URL: {$postUrl}");
|
||||||
Log::info("发送商户申请信息: " . json_encode($data));
|
Log::info("发送商户申请信息: " . json_encode($data));
|
||||||
$ch = curl_init();
|
$ch = curl_init();
|
||||||
curl_setopt($ch, CURLOPT_URL, $postUrl);
|
curl_setopt($ch, CURLOPT_URL, $postUrl);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user