Skip to content

关闭广告展示

使用此接口为特约商户的点金计划页面关闭广告展示功能

请求参数类型描述
jsonobject声明请求的JSON数据结构
sub_mchidstring特约商户号
php
$instance->v3->goldplan->merchants->closeAdvertisingShow->postAsync([
  'json' => [
    'sub_mchid' => '1900000109',
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r($response->getStatusCode() === 204);
})
->wait();
php
$instance->chain('v3/goldplan/merchants/close-advertising-show')->postAsync([
  'json' => [
    'sub_mchid' => '1900000109',
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r($response->getStatusCode() === 204);
})
->wait();
php
$instance['v3/goldplan/merchants/close-advertising-show']->postAsync([
  'json' => [
    'sub_mchid' => '1900000109',
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r($response->getStatusCode() === 204);
})
->wait();
php
$response = $instance->v3->goldplan->merchants->closeAdvertisingShow->post([
  'json' => [
    'sub_mchid' => '1900000109',
  ],
]);
print_r($response->getStatusCode() === 204);
php
$response = $instance->chain('v3/goldplan/merchants/close-advertising-show')->post([
  'json' => [
    'sub_mchid' => '1900000109',
  ],
]);
print_r($response->getStatusCode() === 204);
php
$response = $instance['v3/goldplan/merchants/close-advertising-show']->post([
  'json' => [
    'sub_mchid' => '1900000109',
  ],
]);
print_r($response->getStatusCode() === 204);
返回字典类型描述
空字符串(无返回内容)

参阅 官方文档

Published on the GitHub by TheNorthMemory